DCLibraries/dCArun/main.cpp

36 lines
986 B
C++
Raw Permalink Normal View History

2024-03-02 08:36:06 +01:00
#include "CArun.h"
2023-11-08 13:02:26 +01:00
//#include "message_handler.h"
2024-03-02 08:36:06 +01:00
#include <QCoreApplication>
2023-11-08 13:02:26 +01:00
int main(int argc, char *argv[])
{
2024-03-02 08:36:06 +01:00
QCoreApplication myapp(argc, argv);
QCoreApplication::setOrganizationName("ATB");
QCoreApplication::setApplicationName("CArun");
QCoreApplication::setApplicationVersion(APP_VERSION);
2023-11-08 13:02:26 +01:00
/*
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
atbInstallMessageHandler(atbDebugOutput);
setDebugLevel(QtMsgType::QtDebugMsg);
//setDebugLevel(QtMsgType::QtDebugMsg);
}
*/
2024-03-02 08:36:06 +01:00
CArun carun;
2023-11-08 13:02:26 +01:00
2024-03-02 08:36:06 +01:00
return myapp.exec();
2023-11-08 13:02:26 +01:00
}
//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