diff options
Diffstat (limited to 'examples/distributor/distributor.ui')
-rw-r--r-- | examples/distributor/distributor.ui | 427 |
1 files changed, 427 insertions, 0 deletions
diff --git a/examples/distributor/distributor.ui b/examples/distributor/distributor.ui new file mode 100644 index 000000000..8deff8107 --- /dev/null +++ b/examples/distributor/distributor.ui @@ -0,0 +1,427 @@ +<!DOCTYPE UI><UI version="3.2" stdsetdef="1"> +<class>Distributor</class> +<widget class="TQWizard"> + <property name="name"> + <cstring>Distributor</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>522</width> + <height>422</height> + </rect> + </property> + <property name="caption"> + <string>TQt Distribution Wizard</string> + </property> + <widget class="TQWidget"> + <property name="name"> + <cstring>selectLibrary</cstring> + </property> + <attribute name="title"> + <string><b>Select TQt Library File</b></string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer row="2" column="0"> + <property name="name"> + <cstring>spacer2</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + <widget class="TQLineEdit" row="1" column="0"> + <property name="name"> + <cstring>libFilename</cstring> + </property> + <property name="frameShape"> + <enum>LineEditPanel</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + </widget> + <widget class="TQPushButton" row="1" column="1"> + <property name="name"> + <cstring>libBrowseButton</cstring> + </property> + <property name="text"> + <string>&Browse...</string> + </property> + </widget> + <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>textLabel1</cstring> + </property> + <property name="text"> + <string><p>Enter the filename of the TQt library to modify, or use the <i>Browse</i> button to browse for the library.</p> +<p>This wizard will allow you to modify the installation paths stored in the library.</p></string> + </property> + </widget> + </grid> + </widget> + <widget class="TQWidget"> + <property name="name"> + <cstring>modifyPaths</cstring> + </property> + <attribute name="title"> + <string><b>Modify Installation Paths</b></string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer row="11" column="1"> + <property name="name"> + <cstring>spacer2_2</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + <widget class="TQLabel" row="1" column="0"> + <property name="name"> + <cstring>prefixBuddy</cstring> + </property> + <property name="text"> + <string>Installation &Prefix</string> + </property> + <property name="buddy" stdset="0"> + <cstring>prefixPath</cstring> + </property> + </widget> + <widget class="TQLineEdit" row="8" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>libPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQLineEdit" row="1" column="1"> + <property name="name"> + <cstring>prefixPath</cstring> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQLineEdit" row="9" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>plgPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQPushButton" row="1" column="2"> + <property name="name"> + <cstring>prefixBrowseButton</cstring> + </property> + <property name="text"> + <string>&Browse...</string> + </property> + </widget> + <widget class="TQLineEdit" row="10" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>datPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>textLabel2</cstring> + </property> + <property name="text"> + <string><p>Enter the new <i>Installation Prefix</i> for the selected TQt library, or use the <i>Browse</i> button to browse for the desired directory.</p> +<p>Use the <i>Next</i> button to review your choices and perform the modification.</p></string> + </property> + </widget> + <widget class="Line" row="2" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>line1</cstring> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + </widget> + <widget class="TQLineEdit" row="6" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>docPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQLineEdit" row="7" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>hdrPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQLabel" row="3" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>textLabel3</cstring> + </property> + <property name="text"> + <string><p>The various paths below are set automatically according to the chosen <i>Installation Prefix</i>. Uncheck the <i>Set paths from Installation Prefix</i> box to enter custom values.</p></string> + </property> + </widget> + <widget class="TQLineEdit" row="5" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>binPath</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxLength"> + <number>255</number> + </property> + </widget> + <widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>autoSet</cstring> + </property> + <property name="text"> + <string>Set paths from Installation Prefix</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="TQLabel" row="6" column="0"> + <property name="name"> + <cstring>docBuddy</cstring> + </property> + <property name="text"> + <string>Documentation</string> + </property> + </widget> + <widget class="TQLabel" row="10" column="0"> + <property name="name"> + <cstring>datBuddy</cstring> + </property> + <property name="text"> + <string>Data</string> + </property> + </widget> + <widget class="TQLabel" row="7" column="0"> + <property name="name"> + <cstring>hdrBuddy</cstring> + </property> + <property name="text"> + <string>Headers</string> + </property> + </widget> + <widget class="TQLabel" row="8" column="0"> + <property name="name"> + <cstring>libBuddy</cstring> + </property> + <property name="text"> + <string>Libraries</string> + </property> + </widget> + <widget class="TQLabel" row="9" column="0"> + <property name="name"> + <cstring>plgBuddy</cstring> + </property> + <property name="text"> + <string>Plugins</string> + </property> + </widget> + <widget class="TQLabel" row="5" column="0"> + <property name="name"> + <cstring>binBuddy</cstring> + </property> + <property name="text"> + <string>Binaries</string> + </property> + </widget> + </grid> + </widget> + <widget class="TQWidget"> + <property name="name"> + <cstring>verifyMods</cstring> + </property> + <attribute name="title"> + <string><b>Verify Modifications</b></string> + </attribute> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="TQLabel"> + <property name="name"> + <cstring>textLabel4</cstring> + </property> + <property name="text"> + <string><p><b>Current Library File:</b> %1</p> +<table border=0> + <tr><td><b>New Installation Prefix:</b></td><td>%2</td></tr> + <tr><td></td><td></td></tr> + <tr><td><b>Binaries Path:</b></td><td>%3</td></tr> + <tr><td><b>Documentation Path:</b></td><td>%4</td></tr> + <tr><td><b>Headers Path:</b></td><td>%5</td></tr> + <tr><td><b>Libraries Path:</b></td><td>%6</td></tr> + <tr><td><b>Plugins Path:</b></td><td>%7</td></tr> + <tr><td><b>Data Path:</b></td><td>%8</td></tr> +</table> +<p>Please verify that these options are correct. Press the <i>Finish</i> button to apply these modifications to the TQt library. Use the <i>Back</i> button to make corrections. Use the <i>Cancel</i> button to abort.</p></string> + </property> + <property name="alignment"> + <set>WordBreak|AlignTop</set> + </property> + </widget> + </hbox> + </widget> +</widget> +<connections> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>binPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>docPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>hdrPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>libPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>plgPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>datPath</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>libFilename</sender> + <signal>textChanged(const TQString&)</signal> + <receiver>Distributor</receiver> + <slot>checkLibFilename(const TQString&)</slot> + </connection> + <connection> + <sender>libBrowseButton</sender> + <signal>clicked()</signal> + <receiver>Distributor</receiver> + <slot>browseLibFilename()</slot> + </connection> + <connection> + <sender>prefixPath</sender> + <signal>textChanged(const TQString&)</signal> + <receiver>Distributor</receiver> + <slot>checkInstallationPrefix(const TQString&)</slot> + </connection> + <connection> + <sender>prefixBrowseButton</sender> + <signal>clicked()</signal> + <receiver>Distributor</receiver> + <slot>browseInstallationPrefix()</slot> + </connection> + <connection> + <sender>autoSet</sender> + <signal>toggled(bool)</signal> + <receiver>Distributor</receiver> + <slot>toggleAutoSet(bool)</slot> + </connection> +</connections> +<tabstops> + <tabstop>libFilename</tabstop> + <tabstop>libBrowseButton</tabstop> + <tabstop>prefixPath</tabstop> + <tabstop>prefixBrowseButton</tabstop> + <tabstop>autoSet</tabstop> + <tabstop>binPath</tabstop> + <tabstop>docPath</tabstop> + <tabstop>hdrPath</tabstop> + <tabstop>libPath</tabstop> + <tabstop>plgPath</tabstop> + <tabstop>datPath</tabstop> +</tabstops> +<includes> + <include location="local" impldecl="in implementation">distributor.ui.h</include> +</includes> +<variables> + <variable access="private">TQTimer *timer;</variable> +</variables> +<slots> + <slot>checkLibFilename( const TQString & filename )</slot> + <slot>browseLibFilename()</slot> + <slot>checkLibData()</slot> + <slot>checkInstallationPrefix( const TQString &filename )</slot> + <slot>browseInstallationPrefix()</slot> + <slot>toggleAutoSet( bool autoset )</slot> + <slot>accept()</slot> +</slots> +<functions> + <function access="private" specifier="non virtual">init()</function> + <function>showPage( TQWidget * page )</function> +</functions> +<pixmapinproject/> +<layoutdefaults spacing="6" margin="11"/> +</UI> |