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
de84e0f9
Commit
de84e0f9
authored
Mar 03, 2014
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed a couple of warning
parent
2f7521be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
OpenBoard.pro
OpenBoard.pro
+2
-0
UBGraphicsDelegateFrame.h
src/domain/UBGraphicsDelegateFrame.h
+1
-1
UBGraphicsTextItem.cpp
src/domain/UBGraphicsTextItem.cpp
+1
-1
No files found.
OpenBoard.pro
View file @
de84e0f9
...
...
@@ -102,6 +102,8 @@ MOC_DIR = $$BUILD_DIR/moc
RCC_DIR = $$BUILD_DIR/rcc
UI_DIR = $$BUILD_DIR/ui
QMAKE_CXXFLAGS += -std=c++11
win32 {
RC_FILE = resources/win/OpenBoard.rc
CONFIG += qaxcontainer
...
...
src/domain/UBGraphicsDelegateFrame.h
View file @
de84e0f9
...
...
@@ -68,7 +68,6 @@ class UBGraphicsDelegateFrame: public QGraphicsRectItem, public QObject
QList
<
UBGraphicsDelegateFrame
*>
getLinkedFrames
();
private
:
qreal
mTitleBarHeight
;
QRectF
bottomRightResizeGripRect
()
const
;
QRectF
bottomResizeGripRect
()
const
;
QRectF
leftResizeGripRect
()
const
;
...
...
@@ -143,6 +142,7 @@ class UBGraphicsDelegateFrame: public QGraphicsRectItem, public QObject
bool
mResizing
;
bool
mMirroredXAtStart
;
bool
mMirroredYAtStart
;
qreal
mTitleBarHeight
;
QList
<
UBGraphicsDelegateFrame
*>
mLinkedFrames
;
};
...
...
src/domain/UBGraphicsTextItem.cpp
View file @
de84e0f9
...
...
@@ -44,9 +44,9 @@ QColor UBGraphicsTextItem::lastUsedTextColor;
UBGraphicsTextItem
::
UBGraphicsTextItem
(
QGraphicsItem
*
parent
)
:
QGraphicsTextItem
(
parent
)
,
UBGraphicsItem
()
,
mTypeTextHereLabel
(
tr
(
"<Type Text Here>"
))
,
mMultiClickState
(
0
)
,
mLastMousePressTime
(
QTime
::
currentTime
())
,
mTypeTextHereLabel
(
tr
(
"<Type Text Here>"
))
,
isActivatedTextEditor
(
true
)
{
setDelegate
(
new
UBGraphicsTextItemDelegate
(
this
,
0
));
...
...
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