Skip to content
GitLab
Menu
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
17d5cbee
Commit
17d5cbee
authored
Apr 20, 2010
by
Marco Bubke
Committed by
Kai Koehne
Apr 20, 2010
Browse files
Show no more 'cannot reparent' text in the feedback pane
Reviewed-by: kkoehne
parent
5c1078dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorgraphicsview.cpp
View file @
17d5cbee
...
@@ -222,13 +222,7 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
...
@@ -222,13 +222,7 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
painter
->
drawText
(
QPoint
(
60.0
,
26.0
),
QString
(
"h:"
));
painter
->
drawText
(
QPoint
(
60.0
,
26.0
),
QString
(
"h:"
));
painter
->
drawText
(
QPoint
(
70.0
,
26.0
),
m_feedbackNode
.
instanceValue
(
"height"
).
toString
());
painter
->
drawText
(
QPoint
(
70.0
,
26.0
),
m_feedbackNode
.
instanceValue
(
"height"
).
toString
());
if
(
m_parentNode
==
m_feedbackNode
.
instanceParent
())
{
if
(
m_parentNode
!=
m_feedbackNode
.
instanceParent
())
{
if
(
!
m_feedbackNode
.
canReparent
())
{
painter
->
setPen
(
defaultColor
);
painter
->
drawText
(
QPoint
(
2.0
,
39.0
),
QString
(
"Cannot reparent"
));
}
}
else
{
painter
->
setPen
(
changeColor
);
painter
->
setPen
(
changeColor
);
painter
->
drawText
(
QPoint
(
2.0
,
39.0
),
QString
(
"Parent changed"
));
painter
->
drawText
(
QPoint
(
2.0
,
39.0
),
QString
(
"Parent changed"
));
...
...
Write
Preview
Supports
Markdown
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