44 lines
1.1 KiB
C++
Executable File
44 lines
1.1 KiB
C++
Executable File
#include "mainwindow.h"
|
|
//#include "message_handler.h"
|
|
#include <QApplication>
|
|
|
|
#include "version.h"
|
|
|
|
int thisisglobal;
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
int ret;
|
|
QApplication myapp(argc, argv);
|
|
/*
|
|
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
|
|
atbInstallMessageHandler(atbDebugOutput);
|
|
setDebugLevel(QtMsgType::QtDebugMsg);
|
|
//setDebugLevel(QtMsgType::QtDebugMsg);
|
|
}
|
|
*/
|
|
MainWindow myMainWin;
|
|
QSize myMainSize={800, 480}; // breite, höhe, PTU: 800x440
|
|
myMainWin.setMinimumSize(myMainSize);
|
|
myMainWin.setMaximumSize(myMainSize);
|
|
myMainWin.setWindowTitle("PSA Service Tool V4.3");
|
|
myMainWin.show();
|
|
//myMainWin.showFullScreen();
|
|
|
|
ret=myapp.exec();
|
|
|
|
return ret;
|
|
}
|
|
|
|
|
|
|
|
//QApplication a(argc, argv);
|
|
//MainWindow CatMW;
|
|
//QSize myMainSize={800, 480}; // breite, höhe
|
|
//CatMW.setMinimumSize(myMainSize);
|
|
//CatMW.setMaximumSize(myMainSize);
|
|
//CatMW.setWindowTitle("ATB CashAgent V2.0");
|
|
// QPalette mainPal;
|
|
// mainPal.setColor(QPalette::Window, Qt::red );
|
|
// CatMW.setPalette(mainPal); sieht man nicht mehr
|