暂无描述

12345678910111213141516171819202122
  1. #include "mainwindow.h"
  2. #include <QApplication>
  3. #include "qfile.h"
  4. int main(int argc, char *argv[])
  5. {
  6. QApplication a(argc, argv);
  7. QFile File("://style_3");
  8. File.open(QFile::ReadOnly);
  9. QString StyleSheet = QLatin1String(File.readAll());
  10. qApp->setStyleSheet(StyleSheet);
  11. MainWindow w;
  12. w.setWindowTitle("Network Analyzer");
  13. w.setStyleSheet("");
  14. w.show();
  15. return a.exec();
  16. }