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
15b4c680
Commit
15b4c680
authored
Aug 16, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed issue 937
parent
da8c496f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
group.png
resources/images/toolbar/group.png
+0
-0
ungroup.png
resources/images/toolbar/ungroup.png
+0
-0
UBBoardController.cpp
src/board/UBBoardController.cpp
+3
-1
UBSettings.cpp
src/core/UBSettings.cpp
+2
-2
No files found.
resources/images/toolbar/group.png
View replaced file @
da8c496f
View file @
15b4c680
1.95 KB
|
W:
|
H:
1.19 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resources/images/toolbar/ungroup.png
View replaced file @
da8c496f
View file @
15b4c680
2.21 KB
|
W:
|
H:
1.46 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/board/UBBoardController.cpp
View file @
15b4c680
...
...
@@ -880,11 +880,13 @@ void UBBoardController::groupButtonClicked()
}
if
(
groupAction
->
text
()
==
UBSettings
::
settings
()
->
actionGroupText
)
{
//The only way to get information from item, considering using smth else
UBGraphicsGroupContainerItem
*
groupItem
=
activeScene
()
->
createGroup
(
selItems
);
groupAction
->
setIcon
(
QIcon
(
":images/toolbar/ungroup.png"
));
UBGraphicsGroupContainerItem
*
groupItem
=
activeScene
()
->
createGroup
(
selItems
);
groupItem
->
setSelected
(
true
);
UBDrawingController
::
drawingController
()
->
setStylusTool
(
UBStylusTool
::
Selector
);
}
else
if
(
groupAction
->
text
()
==
UBSettings
::
settings
()
->
actionUngroupText
)
{
groupAction
->
setIcon
(
QIcon
(
":images/toolbar/group.png"
));
//Considering one selected item and it's a group
if
(
selItems
.
count
()
>
1
)
{
qDebug
()
<<
"can't make sense of ungrouping more then one item. Grouping action should be performed for that purpose"
;
...
...
src/core/UBSettings.cpp
View file @
15b4c680
...
...
@@ -399,8 +399,8 @@ void UBSettings::init()
libIconSize
=
new
UBSetting
(
this
,
"Library"
,
"LibIconSize"
,
defaultLibraryIconSize
);
actionGroupText
=
"Group
items
"
;
actionUngroupText
=
"Ungroup
items
"
;
actionGroupText
=
"Group"
;
actionUngroupText
=
"Ungroup"
;
}
...
...
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