main.cpp 588 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * developers of GUI version: acetone, Vort
  3. * developers team, 2021 (c) GPLv3
  4. *
  5. */
  6. #include "widget.h"
  7. #include <fstream>
  8. #include <QApplication>
  9. #include <QString>
  10. #include <QIcon>
  11. const QString PRODUCT_VERSION = "5.2 forkup";
  12. int main(int argc, char *argv[])
  13. {
  14. QApplication a(argc, argv);
  15. Widget w;
  16. w.setWindowTitle("syg-cpp " + PRODUCT_VERSION + " (Qt)");
  17. QFont defaultFont;
  18. defaultFont.setStyleHint(QFont::Monospace);
  19. a.setFont(defaultFont);
  20. w.setWindowIcon(QIcon(":/icon.png"));
  21. w.show();
  22. return a.exec();
  23. }