Skip to content
Permalink
Browse files

fix spatialquery combobox resizing issue

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13381 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Apr 25, 2010
1 parent 952cae5 commit 115b482df9632f4bd347a4434cc8f831f31f2c31
Showing with 131 additions and 115 deletions.
  1. +1 −1 src/plugins/spatialquery/qgsspatialquerydialog.cpp
  2. +130 −114 src/plugins/spatialquery/qgsspatialquerydialogbase.ui
@@ -287,7 +287,7 @@ void QgsSpatialQueryDialog::connectAll()
this, SLOT( signal_qgis_layerWasAdded( QgsMapLayer* ) ) ) ;
connect( QgsMapLayerRegistry::instance(), SIGNAL( layerWillBeRemoved( QString ) ),
this, SLOT( signal_qgis_layerWillBeRemoved( QString ) ) );
connect( showLogProcessingCheckBox, SIGNAL( clicked() ),
connect( showLogProcessingCheckBox, SIGNAL( clicked( bool ) ),
this, SLOT( on_showLogProcessingCheckBox_clicked( bool ) ) );

} // QgsSpatialQueryDialog::connectAll()
@@ -35,120 +35,6 @@
<locale language="English" country="UnitedKingdom"/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="8" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="toolTip">
<string>Run query or close the window</string>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QProgressBar" name="progressBarStatus">
<property name="value">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QGroupBox" name="grpResults">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Results (click to highlight on map)</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QListWidget" name="selectedFeatureListWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>136</width>
<height>135</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Select item to identify geometry of feature</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showLogProcessingCheckBox">
<property name="toolTip">
<string>Check to show log processing of query</string>
</property>
<property name="text">
<string>Show log messages</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEditStatus">
<property name="enabled">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="countSelectedFeats">
<property name="minimumSize">
<size>
<width>18</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Total of features from query</string>
</property>
<property name="text">
<string> Total</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="grpTargetGroupBox">
<property name="toolTip">
@@ -259,6 +145,25 @@ p, li { white-space: pre-wrap; }
</layout>
</widget>
</item>
<item row="10" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="toolTip">
<string>Run query or close the window</string>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QGroupBox" name="grpOperationGroupBox">
<property name="toolTip">
@@ -296,6 +201,117 @@ p, li { white-space: pre-wrap; }
</layout>
</widget>
</item>
<item row="9" column="0">
<widget class="QProgressBar" name="progressBarStatus">
<property name="value">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QGroupBox" name="grpResults">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Results (click to highlight on map)</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QListWidget" name="selectedFeatureListWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>136</width>
<height>135</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Select item to identify geometry of feature</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showLogProcessingCheckBox">
<property name="toolTip">
<string>Check to show log processing of query</string>
</property>
<property name="text">
<string>Show log messages</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEditStatus">
<property name="enabled">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="countSelectedFeats">
<property name="minimumSize">
<size>
<width>18</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Total of features from query</string>
</property>
<property name="text">
<string> Total</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="7" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>

0 comments on commit 115b482

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