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
Marco Bubke
flatpak-qt-creator
Commits
f796346a
Commit
f796346a
authored
Feb 09, 2010
by
Marco Bubke
Browse files
Make the reparent string in the feedback area shorter.
parent
57de5b20
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorgraphicsview.cpp
View file @
f796346a
...
...
@@ -180,14 +180,12 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
if
(
!
m_feedbackNode
.
canReparent
())
{
painter
->
setPen
(
Qt
::
red
);
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Cannot reparent
.
"
));
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Cannot reparent"
));
}
}
else
{
painter
->
setPen
(
Qt
::
yellow
);
if
(
m_feedbackNode
.
instanceParent
().
id
().
isEmpty
())
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Parent has changed."
));
else
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Parent has changed to %1."
).
arg
(
m_feedbackNode
.
instanceParent
().
id
()));
painter
->
drawText
(
QPoint
(
2.0
,
36.0
),
QString
(
"Parent changed"
));
}
...
...
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