Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
77629223
Commit
77629223
authored
Aug 17, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed issue with add item palette that doesn't appears on desktop and web mode
parent
0b8014ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
UBBoardPaletteManager.cpp
src/board/UBBoardPaletteManager.cpp
+7
-1
No files found.
src/board/UBBoardPaletteManager.cpp
View file @
77629223
...
@@ -677,6 +677,10 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
...
@@ -677,6 +677,10 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
{
{
case
eUBDockPaletteWidget_BOARD
:
case
eUBDockPaletteWidget_BOARD
:
{
{
// On Application start up the mAddItemPalette isn't initialized yet
if
(
mAddItemPalette
){
mAddItemPalette
->
setParent
(
UBApplication
::
boardController
->
controlContainer
());
}
mLeftPalette
->
assignParent
(
mContainer
);
mLeftPalette
->
assignParent
(
mContainer
);
mRightPalette
->
assignParent
(
mContainer
);
mRightPalette
->
assignParent
(
mContainer
);
mRightPalette
->
stackUnder
(
mStylusPalette
);
mRightPalette
->
stackUnder
(
mStylusPalette
);
...
@@ -710,6 +714,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
...
@@ -710,6 +714,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
case
eUBDockPaletteWidget_DESKTOP
:
case
eUBDockPaletteWidget_DESKTOP
:
{
{
mAddItemPalette
->
setParent
((
QWidget
*
)
UBApplication
::
applicationController
->
uninotesController
()
->
drawingView
());
mLeftPalette
->
assignParent
((
QWidget
*
)
UBApplication
::
applicationController
->
uninotesController
()
->
drawingView
());
mLeftPalette
->
assignParent
((
QWidget
*
)
UBApplication
::
applicationController
->
uninotesController
()
->
drawingView
());
mRightPalette
->
assignParent
((
QWidget
*
)
UBApplication
::
applicationController
->
uninotesController
()
->
drawingView
());
mRightPalette
->
assignParent
((
QWidget
*
)
UBApplication
::
applicationController
->
uninotesController
()
->
drawingView
());
mRightPalette
->
lower
();
mRightPalette
->
lower
();
...
@@ -745,7 +750,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
...
@@ -745,7 +750,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
mRightPalette
->
setAdditionalVOffset
(
30
);
mRightPalette
->
setAdditionalVOffset
(
30
);
#endif
#endif
if
(
!
isInit
)
if
(
!
isInit
)
UBApplication
::
applicationController
->
uninotesController
()
->
TransparentWidgetResized
();
UBApplication
::
applicationController
->
uninotesController
()
->
TransparentWidgetResized
();
if
(
mWebToolsCurrentPalette
)
if
(
mWebToolsCurrentPalette
)
...
@@ -755,6 +760,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
...
@@ -755,6 +760,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
case
eUBDockPaletteWidget_WEB
:
case
eUBDockPaletteWidget_WEB
:
{
{
mAddItemPalette
->
setParent
(
UBApplication
::
mainWindow
);
if
(
UBPlatformUtils
::
hasVirtualKeyboard
()
&&
mKeyboardPalette
!=
NULL
)
if
(
UBPlatformUtils
::
hasVirtualKeyboard
()
&&
mKeyboardPalette
!=
NULL
)
{
{
// tmp variable?
// tmp variable?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment