Skip to content

Commit

Permalink
Layout cleanups for actions widget
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12111 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 14, 2009
1 parent c4fe714 commit 3826f1a
Showing 1 changed file with 105 additions and 137 deletions.
242 changes: 105 additions & 137 deletions src/ui/qgsattributeactiondialogbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>432</height>
<width>695</width>
<height>449</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -19,11 +19,107 @@
<property name="windowTitle">
<string>Attribute Actions</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Action list</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" colspan="5">
<widget class="QTableWidget" name="attributeActionTable">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="columnCount">
<number>3</number>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Action</string>
</property>
</column>
<column>
<property name="text">
<string>Capture</string>
</property>
</column>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="insertButton">
<property name="toolTip">
<string>Inserts the action into the list above</string>
</property>
<property name="text">
<string>Insert action</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="updateButton">
<property name="toolTip">
<string>Update the selected action</string>
</property>
<property name="text">
<string>Update action</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="moveUpButton">
<property name="toolTip">
<string>Move the selected action up</string>
</property>
<property name="text">
<string>Move up</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="moveDownButton">
<property name="toolTip">
<string>Move the selected action down</string>
</property>
<property name="text">
<string>Move down</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="removeButton">
<property name="toolTip">
<string>Remove the selected action</string>
</property>
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Action properties</string>
Expand Down Expand Up @@ -132,150 +228,22 @@
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Action list</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" rowspan="7">
<widget class="QTableWidget" name="attributeActionTable">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="columnCount">
<number>3</number>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Action</string>
</property>
</column>
<column>
<property name="text">
<string>Capture</string>
</property>
</column>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="insertButton">
<property name="toolTip">
<string>Inserts the action into the list above</string>
</property>
<property name="text">
<string>Insert action</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="updateButton">
<property name="toolTip">
<string>Update the selected action</string>
</property>
<property name="text">
<string>Update action</string>
</property>
</widget>
</item>
<item row="2" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>85</width>
<height>35</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="moveUpButton">
<property name="toolTip">
<string>Move the selected action up</string>
</property>
<property name="text">
<string>Move up</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="moveDownButton">
<property name="toolTip">
<string>Move the selected action down</string>
</property>
<property name="text">
<string>Move down</string>
</property>
</widget>
</item>
<item row="5" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>85</width>
<height>41</height>
</size>
</property>
</spacer>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="removeButton">
<property name="toolTip">
<string>Remove the selected action</string>
</property>
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>actionName</tabstop>
<tabstop>actionAction</tabstop>
<tabstop>browseButton</tabstop>
<tabstop>captureCB</tabstop>
<tabstop>fieldComboBox</tabstop>
<tabstop>insertFieldButton</tabstop>
<tabstop>attributeActionTable</tabstop>
<tabstop>insertButton</tabstop>
<tabstop>updateButton</tabstop>
<tabstop>moveUpButton</tabstop>
<tabstop>moveDownButton</tabstop>
<tabstop>removeButton</tabstop>
<tabstop>actionName</tabstop>
<tabstop>actionAction</tabstop>
<tabstop>browseButton</tabstop>
<tabstop>captureCB</tabstop>
<tabstop>fieldComboBox</tabstop>
<tabstop>insertFieldButton</tabstop>
</tabstops>
<resources/>
<connections/>
Expand Down

0 comments on commit 3826f1a

Please sign in to comment.