Y
Y
yuki2021-01-18 12:05:34
PyQt
yuki, 2021-01-18 12:05:34

How to create a centered element on top of other elements?

Hey! How can I create a centered element in PyQt5, which, after clicking on the button, would appear in the center of the application and slightly darken all the elements around? This is something like registration elements on sites, when you click on the "Register" button and you have a window (sometimes in the center, sometimes only horizontal align center), which darkens the entire area and is, as it were, above the others (in css this is a parameter z-index).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question