Hi Guys
How do we diable the Maximize Button in QMainWindow,
I am using KDE, and the I tried Playing the WindowFlags example. But to No avail.
I also tried doing this
#include <QApplication>
#include <QMainWindow>
int main(int argc, char *argv[]) {
Qt::WindowSystemMenuHint |
Qt::WindowMinimizeButtonHint );
win.show();
return app.exec();
}
#include <QApplication>
#include <QMainWindow>
int main(int argc, char *argv[]) {
QApplication app( argc, argv );
QMainWindow win(0, Qt::WindowTitleHint |
Qt::WindowSystemMenuHint |
Qt::WindowMinimizeButtonHint );
win.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
But failed,
Any Idea
Bookmarks