Skip to content
Permalink
Browse files

Merge pull request #7086 from slarosa/plugin_mgr_search_icon

[pluginmanager] show search icon in filter line edit and remove search label
  • Loading branch information
slarosa committed May 27, 2018
2 parents 7a1a787 + 0115d4e commit a2d796aaaf0ae576d11e5dcb97b248ba1905eef2
Showing with 12 additions and 30 deletions.
  1. +2 −0 src/app/pluginmanager/qgspluginmanager.cpp
  2. +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">

0 comments on commit a2d796a

Please sign in to comment.
You can’t perform that action at this time.