Nessuna descrizione

main.cpp 365B

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