main

main -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "Fenetre.h" #include <string> #include <QApplication> #include <iostream> # #define ECRAN_X 1200 #define ECRAN_Y 900 # int main(int argc, char* argv[]) { QApplication app(argc, argv); // français QString locale = QLocale::system().name(); QTranslator translator; translator.load(QString("qt_") + locale,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: QLibraryInfo::location(QLibraryInfo::TranslationsPath)); app.installTranslator(&amp;translator); // la fenetre Fenetre fenetre(ECRAN_X, ECRAN_Y); // crer une fenetre //fenetre.setStyleSheet(&quot;background-color: rgb(125,125,0)&quot;); fenetre.show(); // l'affiche return app.exec(); }...
View Full Document

Ask a homework question - tutors are online