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
8105a531
Commit
8105a531
authored
May 23, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed eUBDockPaletteType_NAVIGATOR type because isn't a good type
parent
51467d47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
UBDockPalette.cpp
src/gui/UBDockPalette.cpp
+1
-1
UBDockPalette.h
src/gui/UBDockPalette.h
+1
-2
UBNavigatorPalette.cpp
src/gui/UBNavigatorPalette.cpp
+1
-6
No files found.
src/gui/UBDockPalette.cpp
View file @
8105a531
...
...
@@ -533,7 +533,7 @@ bool UBDockPalette::switchMode(eUBDockPaletteWidgetMode mode)
{
bool
hasVisibleElements
=
false
;
//-------------------------------//
// get full
right
palette widgets list, parse it, show all widgets for BOARD mode, and hide all other
// get full palette widgets list, parse it, show all widgets for BOARD mode, and hide all other
for
(
int
i
=
0
;
i
<
mRegisteredWidgets
.
size
();
i
++
)
{
UBDockPaletteWidget
*
pNextWidget
=
mRegisteredWidgets
.
at
(
i
);
...
...
src/gui/UBDockPalette.h
View file @
8105a531
...
...
@@ -79,8 +79,7 @@ private:
typedef
enum
{
eUBDockPaletteType_LEFT
,
eUBDockPaletteType_RIGHT
,
eUBDockPaletteType_NAVIGATOR
,
eUBDockPaletteType_RIGHT
}
eUBDockPaletteType
;
...
...
src/gui/UBNavigatorPalette.cpp
View file @
8105a531
...
...
@@ -24,18 +24,13 @@
* @param name as the object name
*/
UBNavigatorPalette
::
UBNavigatorPalette
(
QWidget
*
parent
,
const
char
*
name
)
:
UBDockPalette
(
eUBDockPaletteType_NAVIGATOR
,
parent
,
name
)
UBDockPalette
(
eUBDockPaletteType_LEFT
,
parent
,
name
)
,
mNavigator
(
NULL
)
,
mLayout
(
NULL
)
,
mHLayout
(
NULL
)
,
mPageNbr
(
NULL
)
,
mClock
(
NULL
)
{
setOrientation
(
eUBDockOrientation_Left
);
setMaximumWidth
(
300
);
resize
(
UBSettings
::
settings
()
->
navigPaletteWidth
->
get
().
toInt
(),
height
());
mLastWidth
=
300
;
// Build the gui
mLayout
=
new
QVBoxLayout
(
this
);
mLayout
->
setContentsMargins
(
customMargin
(),
customMargin
(),
2
*
border
()
+
customMargin
(),
customMargin
());
...
...
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