Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
main.cpp 408 Bytes
Copy Edit Web IDE Raw Blame History
unix_chen authored 2018-03-26 07:59 . init
#include "mainwindow.h"
#include <QApplication>
#include <QDesktopWidget>
int main(int argc, char *argv[])
QApplication a(argc, argv);
MainWindow w;;
w.resize(1696, 960);
QDesktopWidget* desktop = QApplication::desktop();
w.move((desktop->width() - w.width())/2, (desktop->height() - w.height())/2);
return a.exec();

Comment ( 0 )

Sign in for post a comment