原来一句话就可以搞定了:
int main(int argc, char *argv[]) { QApplication a(argc, argv); ** w; w.setWindowFlags(w.windowFlags()& ~Qt::WindowMaximizeButtonHint& ~Qt::WindowMinimizeButtonHint); w.show(); return a.exec(); }
原来一句话就可以搞定了:
int main(int argc, char *argv[]) { QApplication a(argc, argv); ** w; w.setWindowFlags(w.windowFlags()& ~Qt::WindowMaximizeButtonHint& ~Qt::WindowMinimizeButtonHint); w.show(); return a.exec(); }