123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <ui version="4.0" stdsetdef="1" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>ToolProperties</class>
- <widget class="QDialog" name="ToolProperties" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>184</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Tool Properties</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item row="1" column="0" >
- <widget class="QLabel" name="commandLineLabel" >
- <property name="text" >
- <string>Command &Line:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignVCenter|Qt::AlignRight</set>
- </property>
- <property name="buddy" stdset="0" >
- <cstring>commandLine</cstring>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item rowspan="2" row="2" column="0" colspan="1" >
- <widget class="QLabel" name="workingDirectoryLabel" >
- <property name="text" >
- <string>&Working Directory:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignVCenter|Qt::AlignRight</set>
- </property>
- <property name="buddy" stdset="0" >
- <cstring>workingDirectory</cstring>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item rowspan="1" row="3" column="1" colspan="2" >
- <widget class="KUrlRequester" name="workingDirectory" >
- <property name="mode" >
- <set>KFile::LocalOnly|KFile::ExistingOnly|KFile::Directory</set>
- </property>
- </widget>
- </item>
- <item rowspan="2" row="1" column="1" colspan="1" >
- <widget class="KLineEdit" name="commandLine" />
- </item>
- <item rowspan="1" row="4" column="0" colspan="3" >
- <widget class="QCheckBox" name="runInTerminal" >
- <property name="text" >
- <string>&Run in Terminal</string>
- </property>
- <property name="shortcut" >
- <string>Alt+R</string>
- </property>
- </widget>
- </item>
- <item rowspan="1" row="0" column="1" colspan="2" >
- <widget class="KLineEdit" name="toolTitle" />
- </item>
- <item rowspan="2" row="1" column="2" colspan="1" >
- <widget class="KPushButton" name="browseButton" >
- <property name="text" >
- <string>&Browse...</string>
- </property>
- <property name="shortcut" >
- <string>Alt+B</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="toolTitleLabel" >
- <property name="text" >
- <string>&Title:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignVCenter|Qt::AlignRight</set>
- </property>
- <property name="buddy" stdset="0" >
- <cstring>toolTitle</cstring>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="spacer18" >
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>21</height>
- </size>
- </property>
- <property name="sizeType" >
- <enum>Expanding</enum>
- </property>
- <property name="orientation" >
- <enum>Vertical</enum>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <spacer name="spacer2" >
- <property name="sizeHint" >
- <size>
- <width>321</width>
- <height>20</height>
- </size>
- </property>
- <property name="sizeType" >
- <enum>Expanding</enum>
- </property>
- <property name="orientation" >
- <enum>Horizontal</enum>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="KPushButton" name="okButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&OK</string>
- </property>
- <property name="shortcut" >
- <string>Alt+O</string>
- </property>
- <property name="stdItem" stdset="0" >
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="KPushButton" name="cancelButton" >
- <property name="text" >
- <string>&Cancel</string>
- </property>
- <property name="shortcut" >
- <string>Alt+C</string>
- </property>
- <property name="stdItem" stdset="0" >
- <number>2</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <tabstops>
- <tabstop>toolTitle</tabstop>
- <tabstop>commandLine</tabstop>
- <tabstop>workingDirectory</tabstop>
- <tabstop>runInTerminal</tabstop>
- <tabstop>browseButton</tabstop>
- <tabstop>okButton</tabstop>
- <tabstop>cancelButton</tabstop>
- </tabstops>
- <includes>
- <include location="local" >kurlrequester.h</include>
- <include location="local" >klineedit.h</include>
- <include location="local" >kpushbutton.h</include>
- <include location="local" >klineedit.h</include>
- <include location="local" >klineedit.h</include>
- <include location="local" >kpushbutton.h</include>
- <include location="local" >kpushbutton.h</include>
- <include location="local" >kpushbutton.h</include>
- </includes>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>ToolProperties</receiver>
- <slot>accept()</slot>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>ToolProperties</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>toolTitle</sender>
- <signal>textChanged(QString)</signal>
- <receiver>ToolProperties</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>commandLine</sender>
- <signal>textChanged(QString)</signal>
- <receiver>ToolProperties</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>workingDirectory</sender>
- <signal>textChanged(QString)</signal>
- <receiver>ToolProperties</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>browseButton</sender>
- <signal>clicked()</signal>
- <receiver>ToolProperties</receiver>
- <slot>browseButton_clicked()</slot>
- </connection>
- </connections>
- </ui>
|