{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

main - QLibraryInfo:location(QLibraryInfo:TranslationsPath...

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(&translator); // la fenetre Fenetre fenetre(ECRAN_X, ECRAN_Y); // créer une fenetre //fenetre.setStyleSheet("background-color: rgb(125,125,0)"); fenetre.show(); // l'affiche return app.exec(); }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online