Solved Enabling and Disabling Window Widgets?
-
The fact that it can be done using Xcode means its very possible go do, if Qt didn't rush out quite so many versions, the quality control would be better and the releases more functional.
I'm a big fan of Qt and have used licensed versions of Qt for defence applications, licenses are not cheap and considering the money involved i would be a seriously disappointed by this show stopping lack of functionality.
In less than 2 years I've seen Qt go from 5.1 to 5.11 and still going, releases seem to come out very frequently, which is good in one sense but at what cost?
-
Well i can relate to that. Personally i would rather have more
QWidgets/Desktop than 3D and QML/Mobile but
the commercial side of Qt must try to focus on the marked
trends. -
Qt 5.1 was released 5 years ago in 2013.
-
@SGaist , ok, still a lot of releases in a short space of time, the functionality I'm trying to use is very fundamental...shouldn't that be addressed?
-
@SPlatten As @mrjj said window decorations (including the close/minimize buttons) are NOT handled by Qt. Those are handled by the OS. And different OSs are different here (even different window managers on Linux differ here). You can still do this using native APIs.
If you think this should be part of Qt you can file a change request. -
@jsulm, thank you, how do I submit a change request?
-
-
Thank you, I will complete this now....
-
@jsulm , if you can see my first posts I am OR'g in Qt::CustomizeWindowHint with each bit. I will try the WindowFlags example as I cannot guarantee that I did the same when testing with that.
-
There is sum good news and some strange findings, I am running the WindowsFlags example on my macBook Pro.
The setup is as follows, from the Type radio buttons, the Window is checked. From the Hints checkboxes, Customize Window is checked.
With no other checkboxes the window appears with no title and no widgets, it isn't resizable.
With 'Window minimize button' checked, the title is visible and only the minimize widget is visible.
If I then enable 'Window maximise button', the maximise widget is enabled along with the minimise widget.
If I enable 'Window close button', the close widget is enabled
Toggling 'Window Title', 'Frameless window', or 'Window shade button' have no effect.