V
V
VerNika2016-04-16 10:04:53
Programming
VerNika, 2016-04-16 10:04:53

Qt. A window opened from another window overlaps it. How to fix this?

How to make it so that when you click on the first window, it becomes on top of the second (which is now closer to us)? And then, it turns out that this second window is always on top of the first.
bbd42a9495134b6d96d26504f75beba8.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JonNiBravo, 2016-04-16
@JonNiBravo

The window should not be modal, if you inherit from the dialog, call it via show() and not exec()
Or you can set the necessary flags to the window via setWindowFlags
practice on the example doc.qt.io/qt-5/qtwidgets-widgets-windowflags-examp ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question