|
|
@ -88,6 +88,7 @@ UBBoardController::UBBoardController(UBMainWindow* mainWindow) |
|
|
|
, mIsClosing(false) |
|
|
|
, mIsClosing(false) |
|
|
|
, mSystemScaleFactor(1.0) |
|
|
|
, mSystemScaleFactor(1.0) |
|
|
|
, mCleanupDone(false) |
|
|
|
, mCleanupDone(false) |
|
|
|
|
|
|
|
, mCacheWidgetIsEnabled(false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mZoomFactor = UBSettings::settings()->boardZoomFactor->get().toDouble(); |
|
|
|
mZoomFactor = UBSettings::settings()->boardZoomFactor->get().toDouble(); |
|
|
|
|
|
|
|
|
|
|
@ -399,6 +400,11 @@ void UBBoardController::stopScript() |
|
|
|
freezeW3CWidgets(true); |
|
|
|
freezeW3CWidgets(true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool UBBoardController::cacheIsVisible() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return mCacheWidgetIsEnabled; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void UBBoardController::initToolbarTexts() |
|
|
|
void UBBoardController::initToolbarTexts() |
|
|
|
{ |
|
|
|
{ |
|
|
|
QList<QAction*> allToolbarActions; |
|
|
|
QList<QAction*> allToolbarActions; |
|
|
@ -1685,6 +1691,8 @@ void UBBoardController::notifyCache(bool visible) |
|
|
|
{ |
|
|
|
{ |
|
|
|
emit cacheDisabled(); |
|
|
|
emit cacheDisabled(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mCacheWidgetIsEnabled = visible; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void UBBoardController::updatePageSizeState() |
|
|
|
void UBBoardController::updatePageSizeState() |
|
|
|