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
49edd820
Commit
49edd820
authored
Jun 09, 2010
by
Kai Koehne
Committed by
Marco Bubke
Jun 10, 2010
Browse files
QmlDesigner: Switch 'only select items with content' off by default
Reviewed-by: Marco Bubke Task-id: QTCREATORBUG-1493
parent
35263628
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
View file @
49edd820
...
...
@@ -123,7 +123,7 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_selectOnlyContentItemsAction
->
setShortcut
(
Qt
::
Key_S
);
m_selectOnlyContentItemsAction
->
setShortcutContext
(
Qt
::
WidgetWithChildrenShortcut
);
m_selectOnlyContentItemsAction
->
setCheckable
(
true
);
m_selectOnlyContentItemsAction
->
setChecked
(
tru
e
);
m_selectOnlyContentItemsAction
->
setChecked
(
fals
e
);
m_selectOnlyContentItemsAction
->
setIcon
(
QPixmap
(
":/icon/selection/selectonlycontentitems.png"
));
addAction
(
m_selectOnlyContentItemsAction
.
data
());
...
...
src/plugins/qmldesigner/components/formeditor/selectiontool.cpp
View file @
49edd820
...
...
@@ -50,7 +50,7 @@ SelectionTool::SelectionTool(FormEditorView *editorView)
m_singleSelectionManipulator
(
editorView
),
m_selectionIndicator
(
editorView
->
scene
()
->
manipulatorLayerItem
()),
m_resizeIndicator
(
editorView
->
scene
()
->
manipulatorLayerItem
()),
m_selectOnlyContentItems
(
tru
e
)
m_selectOnlyContentItems
(
fals
e
)
{
// view()->setCursor(Qt::CrossCursor);
}
...
...
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