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
83b8cd78
Commit
83b8cd78
authored
Jul 23, 2012
by
Aleksei Kanash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SANKORE-800 - z-layer buttons was removed from UBCurtainItem.
parent
97a96846
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
UBGraphicsDelegateFrame.cpp
src/domain/UBGraphicsDelegateFrame.cpp
+0
-1
UBGraphicsCurtainItemDelegate.cpp
src/tools/UBGraphicsCurtainItemDelegate.cpp
+8
-0
UBGraphicsCurtainItemDelegate.h
src/tools/UBGraphicsCurtainItemDelegate.h
+1
-0
No files found.
src/domain/UBGraphicsDelegateFrame.cpp
View file @
83b8cd78
...
...
@@ -544,7 +544,6 @@ void UBGraphicsDelegateFrame::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
if
(
isResizing
()){
mResizing
=
false
;
}
mDelegate
->
setButtonsVisible
(
true
);
}
...
...
src/tools/UBGraphicsCurtainItemDelegate.cpp
View file @
83b8cd78
...
...
@@ -40,6 +40,8 @@ void UBGraphicsCurtainItemDelegate::init()
{
UBGraphicsItemDelegate
::
init
();
mFrame
->
hide
();
mZOrderUpButton
->
hide
();
mZOrderDownButton
->
hide
();
}
...
...
@@ -87,6 +89,12 @@ QVariant UBGraphicsCurtainItemDelegate::itemChange(QGraphicsItem::GraphicsItemCh
return
UBGraphicsItemDelegate
::
itemChange
(
change
,
value
);
}
void
UBGraphicsCurtainItemDelegate
::
positionHandles
()
{
UBGraphicsItemDelegate
::
positionHandles
();
mZOrderUpButton
->
hide
();
mZOrderDownButton
->
hide
();
}
void
UBGraphicsCurtainItemDelegate
::
remove
(
bool
checked
,
bool
canUndo
)
{
...
...
src/tools/UBGraphicsCurtainItemDelegate.h
View file @
83b8cd78
...
...
@@ -38,6 +38,7 @@ class UBGraphicsCurtainItemDelegate : public UBGraphicsItemDelegate
virtual
bool
mousePressEvent
(
QGraphicsSceneMouseEvent
*
event
);
virtual
QVariant
itemChange
(
QGraphicsItem
::
GraphicsItemChange
change
,
const
QVariant
&
value
);
virtual
void
positionHandles
();
public
slots
:
...
...
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