Skip to content

Commit

Permalink
Flip the attribute actions dialog so that the useful things are at th…
Browse files Browse the repository at this point in the history
…e top.

git-svn-id: http://svn.osgeo.org/qgis/trunk@5954 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 14, 2006
1 parent b4fce7c commit 8cb9813
Showing 1 changed file with 116 additions and 109 deletions.
225 changes: 116 additions & 109 deletions src/ui/qgsattributeactiondialogbase.ui
Expand Up @@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>415</height>
<width>513</width>
<height>432</height>
</rect>
</property>
<property name="sizePolicy" >
Expand All @@ -27,17 +27,7 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="5" column="6" >
<widget class="QPushButton" name="browseButton" >
<property name="toolTip" >
<string>Browse for action commands</string>
</property>
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
<item rowspan="2" row="3" column="6" >
<item row="8" column="6" colspan="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
Expand All @@ -48,78 +38,125 @@
<property name="sizeHint" >
<size>
<width>85</width>
<height>181</height>
<height>141</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="4" >
<widget class="QPushButton" name="insertFieldButton" >
<item row="7" column="7" >
<widget class="QPushButton" name="removeButton" >
<property name="toolTip" >
<string>Inserts the selected field into the action, prepended with a %</string>
<string>Remove the selected action</string>
</property>
<property name="text" >
<string>Insert field</string>
<string>Remove</string>
</property>
</widget>
</item>
<item row="7" column="5" colspan="2" >
<widget class="QComboBox" name="fieldComboBox" >
<item row="6" column="7" >
<widget class="QPushButton" name="moveDownButton" >
<property name="toolTip" >
<string>The valid attribute names for this layer</string>
<string>Move the selected action down</string>
</property>
<property name="text" >
<string>Move down</string>
</property>
</widget>
</item>
<item row="7" column="3" >
<spacer>
<item row="5" column="7" >
<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 rowspan="4" row="5" column="0" colspan="6" >
<widget class="Q3Table" name="attributeActionTable" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<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="resizePolicy" >
<enum>Q3ScrollView::Default</enum>
</property>
<property name="numRows" >
<number>0</number>
</property>
<property name="numCols" >
<number>3</number>
</property>
<property name="readOnly" >
<bool>false</bool>
</property>
<property name="selectionMode" >
<enum>Q3Table::SingleRow</enum>
</property>
<property name="focusStyle" >
<enum>Q3Table::FollowStyle</enum>
</property>
</widget>
</item>
<item row="4" column="0" colspan="8" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>51</width>
<height>29</height>
</size>
</widget>
</item>
<item row="3" column="5" colspan="3" >
<widget class="QComboBox" name="fieldComboBox" >
<property name="toolTip" >
<string>The valid attribute names for this layer</string>
</property>
</spacer>
</widget>
</item>
<item row="5" column="1" colspan="5" >
<widget class="QLineEdit" name="actionAction" >
<item row="1" column="7" >
<widget class="QPushButton" name="browseButton" >
<property name="toolTip" >
<string>Enter the action command here</string>
<string>Browse for action commands</string>
</property>
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="5" >
<widget class="QLineEdit" name="actionName" >
<item row="3" column="4" >
<widget class="QPushButton" name="insertFieldButton" >
<property name="toolTip" >
<string>Enter the action name here</string>
<string>Inserts the selected field into the action, prepended with a %</string>
</property>
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
<property name="text" >
<string>Insert field</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="textLabel2" >
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
<item row="3" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="text" >
<string>Action:</string>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="buddy" >
<cstring>actionAction</cstring>
<property name="sizeHint" >
<size>
<width>51</width>
<height>29</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="7" column="2" >
<item row="3" column="2" >
<widget class="QPushButton" name="updateButton" >
<property name="toolTip" >
<string>Update the selected action</string>
Expand All @@ -129,7 +166,7 @@
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<item row="3" column="0" colspan="2" >
<widget class="QPushButton" name="insertButton" >
<property name="toolTip" >
<string>Inserts the action into the list above</string>
Expand All @@ -139,7 +176,7 @@
</property>
</widget>
</item>
<item row="6" column="0" colspan="3" >
<item row="2" column="0" colspan="3" >
<widget class="QCheckBox" name="captureCB" >
<property name="toolTip" >
<string>Captures any output from the action</string>
Expand All @@ -152,79 +189,49 @@
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="textLabel1" >
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
<property name="text" >
<string>Name:</string>
</property>
<property name="buddy" >
<cstring>actionName</cstring>
</property>
</widget>
</item>
<item row="2" column="6" >
<widget class="QPushButton" name="removeButton" >
<item row="1" column="1" colspan="6" >
<widget class="QLineEdit" name="actionAction" >
<property name="toolTip" >
<string>Remove the selected action</string>
<string>Enter the action command here</string>
</property>
<property name="text" >
<string>Remove</string>
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
</widget>
</item>
<item row="1" column="6" >
<widget class="QPushButton" name="moveDownButton" >
<property name="toolTip" >
<string>Move the selected action down</string>
<item row="1" column="0" >
<widget class="QLabel" name="textLabel2" >
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
<property name="text" >
<string>Move down</string>
<string>Action:</string>
</property>
<property name="buddy" >
<cstring>actionAction</cstring>
</property>
</widget>
</item>
<item row="0" column="6" >
<widget class="QPushButton" name="moveUpButton" >
<item row="0" column="1" colspan="6" >
<widget class="QLineEdit" name="actionName" >
<property name="toolTip" >
<string>Move the selected action up</string>
<string>Enter the action name here</string>
</property>
<property name="text" >
<string>Move up</string>
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
</widget>
</item>
<item rowspan="4" row="0" column="0" colspan="6" >
<widget class="Q3Table" name="attributeActionTable" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="textLabel1" >
<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="resizePolicy" >
<enum>Q3ScrollView::Default</enum>
</property>
<property name="numRows" >
<number>0</number>
</property>
<property name="numCols" >
<number>3</number>
</property>
<property name="readOnly" >
<bool>false</bool>
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
<property name="selectionMode" >
<enum>Q3Table::SingleRow</enum>
<property name="text" >
<string>Name:</string>
</property>
<property name="focusStyle" >
<enum>Q3Table::FollowStyle</enum>
<property name="buddy" >
<cstring>actionName</cstring>
</property>
</widget>
</item>
Expand Down

0 comments on commit 8cb9813

Please sign in to comment.