42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
|
#include "mainwindow.h"
|
||
|
//#include "message_handler.h"
|
||
|
#include <QApplication>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
int ret;
|
||
|
QApplication myapp(argc, argv);
|
||
|
QApplication::setApplicationName("CArunGui");
|
||
|
QApplication::setApplicationVersion(APP_VERSION);
|
||
|
|
||
|
/*
|
||
|
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("CArun_V4.2 run cash agent master lib");
|
||
|
//myMainWin.show();
|
||
|
|
||
|
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
|