Mercurial > hg > octave-lyh
view gui/src/SettingsDialog.ui @ 13537:a43ecce77eec
Introduced a central ResourceManager class.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 26 Jul 2011 19:04:07 +0200 |
parents | 869c62c15e95 |
children | ac64163efbe8 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SettingsDialog</class> <widget class="QDialog" name="SettingsDialog"> <property name="windowModality"> <enum>Qt::ApplicationModal</enum> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>500</width> <height>300</height> </rect> </property> <property name="minimumSize"> <size> <width>500</width> <height>300</height> </size> </property> <property name="maximumSize"> <size> <width>500</width> <height>300</height> </size> </property> <property name="windowTitle"> <string>Settings</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="chatTab"> <attribute name="title"> <string>Chat</string> </attribute> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QCheckBox" name="connectOnStartup"> <property name="text"> <string>Connect to #octave on startup</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QCheckBox" name="showMessageOfTheDay"> <property name="text"> <string>Show message of the day</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showTopic"> <property name="text"> <string>Show topic</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="autoIdentification"> <property name="text"> <string>Automatically identify on NickServ</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>Warning: Your password will be stored in ~/.octavegui in human-readable format. Do not enter your password if you worry about security issues.</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="nickServPassword"> <property name="enabled"> <bool>false</bool> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab"> <attribute name="title"> <string>Editor</string> </attribute> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QCheckBox" name="useCustomFileEditor"> <property name="text"> <string>Use custom file editor:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="customFileEditor"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>emacs</string> </property> </widget> </item> </layout> </item> <item row="1" column="0"> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>158</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tab_2"> <attribute name="title"> <string>File Browser</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QCheckBox" name="showFilenames"> <property name="text"> <string>Show filenames</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showFileSize"> <property name="text"> <string>Show file size</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showFileType"> <property name="text"> <string>Show file type</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showLastModified"> <property name="text"> <string>Show date of last modification</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showHiddenFiles"> <property name="text"> <string>Show hidden files</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="useAlternatingRowColors"> <property name="text"> <string>Alternating row colors</string> </property> </widget> </item> </layout> </widget> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QPushButton" name="resetButton"> <property name="text"> <string>Reset to defaults</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="exportButton"> <property name="text"> <string>Export</string> </property> </widget> </item> <item> <widget class="QPushButton" name="importButton"> <property name="text"> <string>Import</string> </property> </widget> </item> </layout> </item> </layout> </widget> <resources/> <connections> <connection> <sender>useCustomFileEditor</sender> <signal>toggled(bool)</signal> <receiver>customFileEditor</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>111</x> <y>62</y> </hint> <hint type="destinationlabel"> <x>343</x> <y>63</y> </hint> </hints> </connection> <connection> <sender>autoIdentification</sender> <signal>toggled(bool)</signal> <receiver>nickServPassword</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>249</x> <y>144</y> </hint> <hint type="destinationlabel"> <x>384</x> <y>229</y> </hint> </hints> </connection> </connections> </ui>