forked from GerhardHoffmann/DCLibraries
36 lines
986 B
C++
Executable File
36 lines
986 B
C++
Executable File
#include "CArun.h"
|
|
//#include "message_handler.h"
|
|
#include <QCoreApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QCoreApplication myapp(argc, argv);
|
|
|
|
QCoreApplication::setOrganizationName("ATB");
|
|
QCoreApplication::setApplicationName("CArun");
|
|
QCoreApplication::setApplicationVersion(APP_VERSION);
|
|
|
|
/*
|
|
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
|
|
atbInstallMessageHandler(atbDebugOutput);
|
|
setDebugLevel(QtMsgType::QtDebugMsg);
|
|
//setDebugLevel(QtMsgType::QtDebugMsg);
|
|
}
|
|
*/
|
|
CArun carun;
|
|
|
|
return myapp.exec();
|
|
}
|
|
|
|
|
|
|
|
//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
|