|
|
@ -233,6 +233,7 @@ int UBApplication::exec(const QString& pFileToImport) |
|
|
|
connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(showInternet())); |
|
|
|
connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(showInternet())); |
|
|
|
connect(mainWindow->actionDocument, SIGNAL(triggered()), this, SLOT(showDocument())); |
|
|
|
connect(mainWindow->actionDocument, SIGNAL(triggered()), this, SLOT(showDocument())); |
|
|
|
connect(mainWindow->actionQuit, SIGNAL(triggered()), this, SLOT(closing())); |
|
|
|
connect(mainWindow->actionQuit, SIGNAL(triggered()), this, SLOT(closing())); |
|
|
|
|
|
|
|
connect(mainWindow, SIGNAL(closeEvent_Signal(QCloseEvent*)), this, SLOT(closeEvent(QCloseEvent*))); |
|
|
|
|
|
|
|
|
|
|
|
boardController = new UBBoardController(mainWindow); |
|
|
|
boardController = new UBBoardController(mainWindow); |
|
|
|
boardController->init(); |
|
|
|
boardController->init(); |
|
|
@ -379,6 +380,13 @@ void UBApplication::toolBarDisplayTextChanged(QVariant display) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UBApplication::closeEvent(QCloseEvent *event) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Q_UNUSED(event); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
closing(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void UBApplication::closing() |
|
|
|
void UBApplication::closing() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|