Nav apraksta

main.cpp 379B

123456789101112131415161718
  1. #include "ImageScrambler.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. ImageScrambler w;
  12. w.setStyleSheet("");
  13. w.show();
  14. return a.exec();
  15. }