mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 15:04:40 -04:00
commit inicial en mercurial
This commit is contained in:
22
YACReaderLibrary/main.cpp
Normal file
22
YACReaderLibrary/main.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
#include "library_window.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
#define PICTUREFLOW_QT4 1
|
||||
|
||||
int main( int argc, char ** argv )
|
||||
{
|
||||
QApplication app( argc, argv );
|
||||
|
||||
QTranslator translator;
|
||||
QString sufix = QLocale::system().name();
|
||||
translator.load(":/yacreaderlibrary_"+sufix);
|
||||
app.installTranslator(&translator);
|
||||
app.setApplicationName("YACReaderLibrary");
|
||||
|
||||
QMainWindow * mw = new LibraryWindow();
|
||||
mw->resize(800,480);
|
||||
mw->showMaximized();
|
||||
|
||||
return app.exec();
|
||||
}
|
Reference in New Issue
Block a user