Skip to content
Permalink
Browse files

use new lineedit widget in several dialogs

  • Loading branch information
alexbruy committed Nov 2, 2012
1 parent 8694cb8 commit 4b9dbf209dd43209a857bb6d3361018d203b8973
@@ -126,7 +126,7 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineFilter">
<widget class="QgsFilterLineEdit" name="lineFilter">
<property name="enabled">
<bool>true</bool>
</property>
@@ -641,6 +641,13 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgis.gui</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>lineFilter</tabstop>
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>763</width>
<width>775</width>
<height>570</height>
</rect>
</property>
@@ -433,7 +433,7 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="query"/>
<widget class="QgsFilterLineEdit" name="query"/>
</item>
<item>
<widget class="QLabel" name="searchIn">
@@ -465,6 +465,11 @@
<extends>QTableView</extends>
<header>qgsattributetableview.h</header>
</customwidget>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mView</tabstop>
@@ -75,7 +75,7 @@
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="txtSearchEdit">
<widget class="QgsFilterLineEdit" name="txtSearchEdit">
<property name="enabled">
<bool>true</bool>
</property>
@@ -502,6 +502,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../../images/images.qrc"/>
</resources>
@@ -1,100 +1,108 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QgsPluginManagerBase</class>
<widget class="QDialog" name="QgsPluginManagerBase" >
<property name="geometry" >
<widget class="QDialog" name="QgsPluginManagerBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>377</height>
</rect>
</property>
<property name="mouseTracking" >
<property name="mouseTracking">
<bool>false</bool>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>QGIS Plugin Manager</string>
</property>
<property name="modal" >
<property name="modal">
<bool>true</bool>
</property>
<layout class="QGridLayout" >
<item row="1" column="0" colspan="3" >
<widget class="QLabel" name="textLabel1_2" >
<property name="text" >
<layout class="QGridLayout">
<item row="1" column="0" colspan="3">
<widget class="QLabel" name="textLabel1_2">
<property name="text">
<string>To enable / disable a plugin, click its checkbox or description</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QListView" name="vwPlugins" >
<property name="selectionMode" >
<item row="2" column="0" colspan="3">
<widget class="QListView" name="vwPlugins">
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior" >
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectItems</enum>
</property>
<property name="wordWrap" >
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="lblFilter" >
<property name="text" >
<item row="0" column="0">
<widget class="QLabel" name="lblFilter">
<property name="text">
<string>&amp;Filter</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>leFilter</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="QLineEdit" name="leFilter" />
<item row="0" column="1" colspan="2">
<widget class="QgsFilterLineEdit" name="leFilter"/>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLabel" name="textLabel1" >
<property name="text" >
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>Plugin Directory:</string>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="lblPluginDir" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<item row="3" column="2">
<widget class="QLabel" name="lblPluginDir">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>Directory</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="wordWrap" >
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2" >
<widget class="QPushButton" name="btnPluginInstaller" >
<property name="text" >
<item row="4" column="0" colspan="2">
<widget class="QPushButton" name="btnPluginInstaller">
<property name="text">
<string>Plugin Installer</string>
</property>
</widget>
</item>
<item row="4" column="2" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
<item row="4" column="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>leFilter</tabstop>
<tabstop>vwPlugins</tabstop>
@@ -109,11 +117,11 @@
<receiver>QgsPluginManagerBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>511</x>
<y>305</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>561</x>
<y>271</y>
</hint>
@@ -125,11 +133,11 @@
<receiver>QgsPluginManagerBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>447</x>
<y>304</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>479</x>
<y>341</y>
</hint>
@@ -35,7 +35,7 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="leSearch"/>
<widget class="QgsFilterLineEdit" name="leSearch"/>
</item>
</layout>
</item>
@@ -220,6 +220,13 @@
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>lstCoordinateSystems</tabstop>
<tabstop>teProjection</tabstop>
@@ -148,7 +148,7 @@ QMenu::item:selected { background-color: gray; } */
</spacer>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="searchBox">
<widget class="QgsFilterLineEdit" name="searchBox">
<property name="text">
<string/>
</property>
@@ -387,6 +387,13 @@ QMenu::item:selected { background-color: gray; } */
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>listItems</tabstop>
<tabstop>btnAddItem</tabstop>

0 comments on commit 4b9dbf2

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