January 14, 2011
QDialog with Maximize and Minimize Button
Window output from QDialog dont have Maximize and Minimize button at left top window form. We can add Maximize and Minimize at QDialog with code :
int main(int argc, char *argv[]) { QApplication a(argc, argv); Dialog w; w.setWindowFlags(Qt::Window); // add this. w.show(); return a.exec(); }
Source : http://www.qtcentre.org/threads/17593-QDialog-with-Close-Maximize-and-Context-Help-Buttons
One Comment
Hey thank you for the wonderful article it had been genuinely useful , I hope you will just publish additional about this ! This topic rocks