|
|
@ -94,6 +94,10 @@ |
|
|
|
bool onboardIsAlreadyRunning = true; |
|
|
|
bool onboardIsAlreadyRunning = true; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef Q_OS_OSX |
|
|
|
|
|
|
|
#include <QProcess> |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
UBBoardController::UBBoardController(UBMainWindow* mainWindow) |
|
|
|
UBBoardController::UBBoardController(UBMainWindow* mainWindow) |
|
|
|
: UBDocumentContainer(mainWindow->centralWidget()) |
|
|
|
: UBDocumentContainer(mainWindow->centralWidget()) |
|
|
|
, mMainWindow(mainWindow) |
|
|
|
, mMainWindow(mainWindow) |
|
|
@ -853,6 +857,11 @@ void UBBoardController::showKeyboard(bool show) |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
mPaletteManager->showVirtualKeyboard(show); |
|
|
|
mPaletteManager->showVirtualKeyboard(show); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#elif defined(Q_OS_OSX) |
|
|
|
|
|
|
|
if(UBSettings::settings()->useSystemOnScreenKeybard->get().toBool()) |
|
|
|
|
|
|
|
UBPlatformUtils::showOSK(); |
|
|
|
|
|
|
|
|
|
|
|
#else |
|
|
|
#else |
|
|
|
mPaletteManager->showVirtualKeyboard(show); |
|
|
|
mPaletteManager->showVirtualKeyboard(show); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|