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
f8ace64e
Commit
f8ace64e
authored
Apr 22, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick hack to be modified
parent
de8d7730
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
UBGraphicsItemDelegate.h
src/domain/UBGraphicsItemDelegate.h
+1
-1
UBGraphicsCurtainItemDelegate.cpp
src/tools/UBGraphicsCurtainItemDelegate.cpp
+2
-1
No files found.
src/domain/UBGraphicsItemDelegate.h
View file @
f8ace64e
...
@@ -220,6 +220,7 @@ class UBGraphicsItemDelegate : public QObject
...
@@ -220,6 +220,7 @@ class UBGraphicsItemDelegate : public QObject
virtual
~
UBGraphicsItemDelegate
();
virtual
~
UBGraphicsItemDelegate
();
void
init
();
void
init
();
void
decorate
();
virtual
bool
mousePressEvent
(
QGraphicsSceneMouseEvent
*
event
);
virtual
bool
mousePressEvent
(
QGraphicsSceneMouseEvent
*
event
);
virtual
bool
mouseMoveEvent
(
QGraphicsSceneMouseEvent
*
event
);
virtual
bool
mouseMoveEvent
(
QGraphicsSceneMouseEvent
*
event
);
...
@@ -319,7 +320,6 @@ protected slots:
...
@@ -319,7 +320,6 @@ protected slots:
virtual
void
gotoContentSource
();
virtual
void
gotoContentSource
();
private
:
private
:
void
decorate
();
void
updateFrame
();
void
updateFrame
();
void
updateButtons
(
bool
showUpdated
=
false
);
void
updateButtons
(
bool
showUpdated
=
false
);
inline
void
showHideRecurs
(
const
QVariant
&
pShow
,
QGraphicsItem
*
pItem
);
inline
void
showHideRecurs
(
const
QVariant
&
pShow
,
QGraphicsItem
*
pItem
);
...
...
src/tools/UBGraphicsCurtainItemDelegate.cpp
View file @
f8ace64e
...
@@ -45,7 +45,8 @@ UBGraphicsCurtainItemDelegate::~UBGraphicsCurtainItemDelegate()
...
@@ -45,7 +45,8 @@ UBGraphicsCurtainItemDelegate::~UBGraphicsCurtainItemDelegate()
void
UBGraphicsCurtainItemDelegate
::
init
()
void
UBGraphicsCurtainItemDelegate
::
init
()
{
{
UBGraphicsItemDelegate
::
init
();
//UBGraphicsItemDelegate::init();
decorate
();
mFrame
->
hide
();
mFrame
->
hide
();
mZOrderUpButton
->
hide
();
mZOrderUpButton
->
hide
();
mZOrderDownButton
->
hide
();
mZOrderDownButton
->
hide
();
...
...
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