-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement grass toolbox as a designer ui and make toolbox subclass it…
… - reduces the amount of manually (programmatically) constructed gui code required. git-svn-id: http://svn.osgeo.org/qgis/trunk@8778 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
timlinux
committed
Jul 14, 2008
1 parent
e9d91b3
commit 3c41cfa
Showing
4 changed files
with
146 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<ui version="4.0" > | ||
<class>QgsGrassToolsBase</class> | ||
<widget class="QDialog" name="QgsGrassToolsBase" > | ||
<property name="geometry" > | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>300</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle" > | ||
<string>Grass Tools</string> | ||
</property> | ||
<layout class="QGridLayout" > | ||
<item row="0" column="0" > | ||
<widget class="QTabWidget" name="mTabWidget" > | ||
<property name="currentIndex" > | ||
<number>0</number> | ||
</property> | ||
<widget class="QWidget" name="modulesTree" > | ||
<attribute name="title" > | ||
<string>Modules Tree</string> | ||
</attribute> | ||
<layout class="QGridLayout" > | ||
<item row="0" column="0" > | ||
<widget class="QTreeWidget" name="mModulesTree" > | ||
<property name="indentation" > | ||
<number>8</number> | ||
</property> | ||
<property name="rootIsDecorated" > | ||
<bool>false</bool> | ||
</property> | ||
<property name="wordWrap" > | ||
<bool>true</bool> | ||
</property> | ||
<property name="headerHidden" stdset="0" > | ||
<bool>true</bool> | ||
</property> | ||
<column> | ||
<property name="text" > | ||
<string>1</string> | ||
</property> | ||
</column> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<widget class="QWidget" name="modulesList" > | ||
<attribute name="title" > | ||
<string>Modules List</string> | ||
</attribute> | ||
<layout class="QGridLayout" > | ||
<item row="0" column="0" > | ||
<widget class="QListView" name="mListView" > | ||
<property name="alternatingRowColors" > | ||
<bool>true</bool> | ||
</property> | ||
<property name="wordWrap" > | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0" > | ||
<widget class="QLineEdit" name="mFilterInput" /> | ||
</item> | ||
</layout> | ||
</widget> | ||
</widget> | ||
</item> | ||
<item row="1" column="0" > | ||
<widget class="QDialogButtonBox" name="buttonBox" > | ||
<property name="orientation" > | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="standardButtons" > | ||
<set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::NoButton</set> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>accepted()</signal> | ||
<receiver>QgsGrassToolsBase</receiver> | ||
<slot>accept()</slot> | ||
<hints> | ||
<hint type="sourcelabel" > | ||
<x>252</x> | ||
<y>295</y> | ||
</hint> | ||
<hint type="destinationlabel" > | ||
<x>157</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>rejected()</signal> | ||
<receiver>QgsGrassToolsBase</receiver> | ||
<slot>reject()</slot> | ||
<hints> | ||
<hint type="sourcelabel" > | ||
<x>320</x> | ||
<y>295</y> | ||
</hint> | ||
<hint type="destinationlabel" > | ||
<x>286</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
</connections> | ||
</ui> |