Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[pluginmanager] show search icon in filter line edit and removed sear…
- Loading branch information
Showing
with
12 additions
and
30 deletions.
-
+2
−0
src/app/pluginmanager/qgspluginmanager.cpp
-
+10
−30
src/ui/qgspluginmanagerbase.ui
|
@@ -112,6 +112,8 @@ QgsPluginManager::QgsPluginManager( QWidget *parent, bool pluginsAreEnabled, Qt: |
|
|
|
|
|
// Preset widgets |
|
|
leFilter->setFocus( Qt::MouseFocusReason ); |
|
|
leFilter->setShowSearchIcon( true ); |
|
|
leFilter->setPlaceholderText( tr( "Search" ) ); |
|
|
wvDetails->page()->setLinkDelegationPolicy( QWebPage::DelegateAllLinks ); |
|
|
|
|
|
// Connect other signals |
|
|
|
@@ -268,34 +268,14 @@ |
|
|
<number>0</number> |
|
|
</property> |
|
|
<item> |
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
|
<item> |
|
|
<widget class="QLabel" name="lblFilter"> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="text"> |
|
|
<string>Search</string> |
|
|
</property> |
|
|
<property name="buddy"> |
|
|
<cstring>leFilter</cstring> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QgsFilterLineEdit" name="leFilter"> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
</layout> |
|
|
<widget class="QgsFilterLineEdit" name="leFilter"> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QSplitter" name="mPluginsDetailsSplitter"> |
|
@@ -803,8 +783,8 @@ |
|
|
<rect> |
|
|
<x>0</x> |
|
|
<y>0</y> |
|
|
<width>646</width> |
|
|
<height>638</height> |
|
|
<width>460</width> |
|
|
<height>613</height> |
|
|
</rect> |
|
|
</property> |
|
|
<layout class="QVBoxLayout" name="verticalLayout_10"> |
|
|