You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
342 B

  1. #include "mainwindow.h"
  2. #include <QApplication>
  3. int main(int argc, char *argv[])
  4. {
  5. QApplication a(argc, argv);
  6. // 设置应用程序信息
  7. QApplication::setApplicationName("PLC梯形图编辑器");
  8. QApplication::setApplicationVersion("1.0");
  9. MainWindow w;
  10. w.resize(1000, 600);
  11. w.show();
  12. return a.exec();
  13. }