Just try setWindowFlags(Qt::WindowTitleHint);
I didnt get any of the three buttons...
This is my code.. u can try
#include <QApplication>
#include <QLabel>
#include<QMainWindow>
int main(int argc, char **argv) {
window->setCentralWidget(label);
window->setWindowFlags(Qt::WindowTitleHint);
window->show();
return app.exec();
}
#include <QApplication>
#include <QLabel>
#include<QMainWindow>
int main(int argc, char **argv) {
QApplication app(argc, argv);
QMainWindow *window = new QMainWindow;
QLabel *label = new QLabel("Hello World!");
window->setCentralWidget(label);
window->setWindowFlags(Qt::WindowTitleHint);
window->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
BTW, I am using windows with Qt 4.3.0 on Visual Studio 2005.
Hope it helps u
Bookmarks