0
Modal dialog to modeless dialog
Hi I have a modal dialog and it is up and running. Now, on one of the dialog button click, I want to activate a command that need me to select something out of the dialog (i.e. expecting it to be modeless now). Can I achieve the same? This is for QT in C++. In short, once dialog set as modal and displayed, can I make it modeless for a moment on dialog button click?
3 odpowiedzi
+ 1
does it have to be modal in the first place? Simplifying the design also makes it more maintainable. It's easy to heap up abstractions and complications.
+ 1
it feels like a strange design decision.
https://stackoverflow.com/questions/40170740/qt-change-modality-of-a-dialog-at-run-time-without-hide-it-for-first-time-and-th
https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.youtube.com/watch%3Fv%3DaSO2-ulYvRM&ved=2ahUKEwiI4sK8roCKAxXubfUHHZPjHo8Qo7QBegQIDhAG&usg=AOvVaw2GzDkIdh3ryBm8D1Z_wDE5
0
It is modal and has to be modal throughout except a action which to be done on button click