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
5d53aa14
Commit
5d53aa14
authored
Feb 03, 2011
by
Marco Bubke
Browse files
QmlDesigner.FormEditor: Resize only for hovering
parent
cc9f5a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/resizetool.cpp
View file @
5d53aa14
...
...
@@ -93,8 +93,11 @@ void ResizeTool::mouseMoveEvent(const QList<QGraphicsItem*> &,
void
ResizeTool
::
hoverMoveEvent
(
const
QList
<
QGraphicsItem
*>
&
itemList
,
QGraphicsSceneMouseEvent
*
/*event*/
)
{
if
(
itemList
.
isEmpty
())
return
;
if
(
itemList
.
isEmpty
())
{
view
()
->
changeToSelectionTool
();
return
;
}
ResizeHandleItem
*
resizeHandle
=
ResizeHandleItem
::
fromGraphicsItem
(
itemList
.
first
());
if
(
resizeHandle
&&
resizeHandle
->
resizeController
().
isValid
())
{
m_resizeManipulator
.
setHandle
(
resizeHandle
);
...
...
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