Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
06e96f62
Commit
06e96f62
authored
Feb 11, 2010
by
Marco Bubke
Browse files
Some tweaks to the feedback.
parent
c89d75df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorgraphicsview.cpp
View file @
06e96f62
...
...
@@ -124,7 +124,8 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
QColor
changeColor
(
QColor
(
Qt
::
green
).
lighter
(
170
));
QFont
font
;
font
.
setPixelSize
(
12
);
font
.
setFamily
(
"Helvetica"
);
font
.
setPixelSize
(
11
);
painter
->
setFont
(
font
);
painter
->
save
();
...
...
@@ -209,7 +210,7 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
if
(
m_parentNode
==
m_feedbackNode
.
instanceParent
())
{
if
(
!
m_feedbackNode
.
canReparent
())
{
painter
->
setPen
(
Qt
::
red
);
painter
->
setPen
(
Qt
::
blue
);
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Cannot reparent"
));
}
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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