|
|
@ -29,6 +29,7 @@ |
|
|
|
#include "gui/UBKeyboardPalette.h" |
|
|
|
#include "gui/UBKeyboardPalette.h" |
|
|
|
#include "gui/UBToolWidget.h" |
|
|
|
#include "gui/UBToolWidget.h" |
|
|
|
#include "gui/UBZoomPalette.h" |
|
|
|
#include "gui/UBZoomPalette.h" |
|
|
|
|
|
|
|
#include "gui/UBWebToolsPalette.h" |
|
|
|
#include "gui/UBActionPalette.h" |
|
|
|
#include "gui/UBActionPalette.h" |
|
|
|
#include "gui/UBFavoriteToolPalette.h" |
|
|
|
#include "gui/UBFavoriteToolPalette.h" |
|
|
|
#include "gui/UBDockTeacherGuideWidget.h" |
|
|
|
#include "gui/UBDockTeacherGuideWidget.h" |
|
|
@ -73,6 +74,7 @@ UBBoardPaletteManager::UBBoardPaletteManager(QWidget* container, UBBoardControll |
|
|
|
, mRightPalette(NULL) |
|
|
|
, mRightPalette(NULL) |
|
|
|
, mBackgroundsPalette(0) |
|
|
|
, mBackgroundsPalette(0) |
|
|
|
, mToolsPalette(0) |
|
|
|
, mToolsPalette(0) |
|
|
|
|
|
|
|
, mWebToolsCurrentPalette(0) |
|
|
|
, mAddItemPalette(0) |
|
|
|
, mAddItemPalette(0) |
|
|
|
, mErasePalette(NULL) |
|
|
|
, mErasePalette(NULL) |
|
|
|
, mPagePalette(NULL) |
|
|
|
, mPagePalette(NULL) |
|
|
@ -683,6 +685,8 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is |
|
|
|
|
|
|
|
|
|
|
|
if( !isInit ) |
|
|
|
if( !isInit ) |
|
|
|
containerResized(); |
|
|
|
containerResized(); |
|
|
|
|
|
|
|
if (mWebToolsCurrentPalette) |
|
|
|
|
|
|
|
mWebToolsCurrentPalette->hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
@ -723,6 +727,9 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is |
|
|
|
|
|
|
|
|
|
|
|
if( !isInit ) |
|
|
|
if( !isInit ) |
|
|
|
UBApplication::applicationController->uninotesController()->TransparentWidgetResized(); |
|
|
|
UBApplication::applicationController->uninotesController()->TransparentWidgetResized(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (mWebToolsCurrentPalette) |
|
|
|
|
|
|
|
mWebToolsCurrentPalette->hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
@ -764,6 +771,8 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is |
|
|
|
else |
|
|
|
else |
|
|
|
mKeyboardPalette->setParent(UBApplication::documentController->controlView()); |
|
|
|
mKeyboardPalette->setParent(UBApplication::documentController->controlView()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (mWebToolsCurrentPalette) |
|
|
|
|
|
|
|
mWebToolsCurrentPalette->hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|