int main(int argc, char *argv[])
{
HmiMonitor *monitor = new HmiMonitor;
monitor->initiate();
return app.exec();
}
void HmiMonitor::initiate()
{
KeyboardHandler *pKeyboard = new KeyboardHandler;
SignalSubscriber *pSignalSubscriber = new SignalSubscriber;
CommandManager *pCommandManager = new CommandManager;
ViewManager *pViewManager = new ViewManager(
pSignalSubscriber->getSignalManager(),
pCommandManager);
}
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
HmiMonitor *monitor = new HmiMonitor;
monitor->initiate();
return app.exec();
}
void HmiMonitor::initiate()
{
KeyboardHandler *pKeyboard = new KeyboardHandler;
QPalette pal;
pal.setColor(QPalette::Base, QColor(Qt::black));
pal.setColor(QPalette::Window, QColor(Qt::black));
pal.setColor(QPalette::Text, QColor(255, 230, 0));
QApplication::setPalette(pal);
QApplication::setFont(QFont("Helvetica", 16));
SignalSubscriber *pSignalSubscriber = new SignalSubscriber;
CommandManager *pCommandManager = new CommandManager;
ViewManager *pViewManager = new ViewManager(
pSignalSubscriber->getSignalManager(),
pCommandManager);
}
To copy to clipboard, switch view to plain text mode
Bookmarks