Keine Beschreibung

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