예제 #1
0
파일: main.cpp 프로젝트: Amyya/pd2-Taiko
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Taiko w;
    w.show();

    return a.exec();
}
예제 #2
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Taiko w;

    QDesktopWidget setsize;
    int sizex = 1000;
    int sizey = 500;
    w.setGeometry(setsize.screen()->width()/2-(sizex/2),setsize.screen()->height()/2-(sizey/2),sizex,sizey);
    w.show();


    /*QPushButton *start= new QPushButton("START!") ;
    start->resize(100,50);
    start->show();*/

    return a.exec();
}