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
faabfde7
Commit
faabfde7
authored
Feb 21, 2011
by
Thorbjørn Lindeijer
Browse files
QmlJSInspector: Use a FilterLineEdit for the properties filter
Adds a clear button when text is entered.
parent
69661547
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljsinspector/qmljsinspector.cpp
View file @
faabfde7
...
...
@@ -50,6 +50,7 @@
#include <debugger/debuggermainwindow.h>
#include <debugger/debuggerplugin.h>
#include <utils/filterlineedit.h>
#include <utils/qtcassert.h>
#include <utils/styledbar.h>
#include <utils/stylehelper.h>
...
...
@@ -733,7 +734,7 @@ void InspectorUi::setupDockWidgets()
QWidget
*
pathAndFilterWidget
=
new
StyledBackground
;
pathAndFilterWidget
->
setMaximumHeight
(
m_crumblePath
->
height
());
m_filterExp
=
new
Q
LineEdit
;
m_filterExp
=
new
Utils
::
Filter
LineEdit
;
m_filterExp
->
setPlaceholderText
(
tr
(
"Filter properties"
));
m_filterExp
->
setSizePolicy
(
QSizePolicy
::
Maximum
,
QSizePolicy
::
Preferred
);
...
...
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