예제 #1
0
파일: main.cpp 프로젝트: kennefoue/Bank
int main(){

	MyForm fm;   
	fm.ShowDialog();    
	return 0;
	
}
예제 #2
0
파일: main.cpp 프로젝트: victorpm5/IDI
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MyForm w;
    w.show();

    return a.exec();
}
예제 #3
0
int main(int argc, char **argv) {
  QApplication app(argc, argv);
  mocFromCpp();
  mocFromH();
  MyForm mywidget;
  mywidget.testSlot();
  printf("Hello World\n");
  return 0;
}
예제 #4
0
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,PSTR szCmdLine, int iCmdShow)
{
    WApp::storeMainArgs(hInstance,hPrevInstance,szCmdLine,iCmdShow );
    WApp myapp;


    MyForm *form = new MyForm();
    form->setBounds( 100,100,600,480);//left,top,width,height
    form->setText( TEXT("http://wudimei.com/") );//title
    form->setName( TEXT("MyForm1") );//the form name "LoginForm" is for global accessing
    form->create();

    return myapp.run();
}
예제 #5
0
int main()
{
	MyForm as;
	as.ShowDialog();
	return 0;
}