Hi,
I tray and retray the code for remove max botton on a QDialog window but it not work....
I use Qt4 on a kde desktop. I try this for remove a help button and it work fine:
Qt::WindowFlags flags = roboteditvar->windowFlags();
roboteditvar->move(pos);
roboteditvar->setWindowFlags(flags & ~Qt::WindowContextHelpButtonHint);
roboteditvar->show();
Qt::WindowFlags flags = roboteditvar->windowFlags();
roboteditvar->move(pos);
roboteditvar->setWindowFlags(flags & ~Qt::WindowContextHelpButtonHint);
roboteditvar->show();
To copy to clipboard, switch view to plain text mode
I have check the windowflags example on my computer, but also this not work for disable the WindowMaximizeButtonHint.
nowire
Bookmarks