diff options
Diffstat (limited to 'kcontrol/componentchooser/filemanagerconfig_ui.ui')
-rw-r--r-- | kcontrol/componentchooser/filemanagerconfig_ui.ui | 212 |
1 files changed, 71 insertions, 141 deletions
diff --git a/kcontrol/componentchooser/filemanagerconfig_ui.ui b/kcontrol/componentchooser/filemanagerconfig_ui.ui index a5845f283..fbcd23d43 100644 --- a/kcontrol/componentchooser/filemanagerconfig_ui.ui +++ b/kcontrol/componentchooser/filemanagerconfig_ui.ui @@ -27,167 +27,97 @@ <property name="margin"> <number>0</number> </property> - <widget class="TQButtonGroup"> - <property name="name"> - <cstring>ButtonGroup1</cstring> - </property> - <property name="frameShape"> - <enum>NoFrame</enum> - </property> - <property name="lineWidth"> - <number>0</number> - </property> - <property name="title"> - <string></string> - </property> - <grid> + <grid> + <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>labelDescription</cstring> + </property> + <property name="text"> + <string>The default file manager can be selected by changing the preferred application for mime type inode/directory in the File Associations control module</string> + </property> + <property name="alignment"> + <set>WordBreak|AlignVCenter</set> + </property> + </widget> + <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>Layout4</cstring> </property> - <property name="margin"> - <number>0</number> - </property> - <spacer row="3" column="1"> + <hbox> <property name="name"> - <cstring>Spacer4</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>0</width> - <height>87</height> - </size> - </property> - </spacer> - <widget class="TQRadioButton" row="1" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>otherCB</cstring> - </property> - <property name="text"> - <string>Use a different &file manager program:</string> + <cstring>unnamed</cstring> </property> - </widget> - <spacer row="2" column="0"> - <property name="name"> - <cstring>Spacer15</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Fixed</enum> - </property> - <property name="sizeHint"> - <size> - <width>31</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>filemanagerCB</cstring> - </property> - <property name="text"> - <string>&Use Konqueror as file manager application</string> - </property> - </widget> - <widget class="TQLayoutWidget" row="2" column="1"> - <property name="name"> - <cstring>Layout4</cstring> - </property> - <hbox> + <widget class="TQPushButton"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>btnOpenFileAssociations</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>1</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <widget class="TQLineEdit"> - <property name="name"> - <cstring>filemanagerLE</cstring> - </property> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>1</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="whatsThis" stdset="0"> - <string>Press this button to select your favorite file manager client. Please note that the file you select has to have the executable attribute set in order to be accepted.<br> </string> - </property> - </widget> - <widget class="TQToolButton"> - <property name="name"> - <cstring>btnSelectFileManager</cstring> - </property> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>1</hsizetype> - <vsizetype>1</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>...</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Click here to browse for a file manager program.</string> - </property> - </widget> - </hbox> - </widget> - </grid> - </widget> + <property name="text"> + <string>Open File Associations module</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Click here to open the File Association control module.</string> + </property> + </widget> + </hbox> + </widget> + <spacer row="1" column="1"> + <property name="name"> + <cstring>Spacer16</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + </spacer> + <spacer row="2" column="1"> + <property name="name"> + <cstring>Spacer4</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>0</width> + <height>87</height> + </size> + </property> + </spacer> + </grid> </vbox> </widget> <connections> <connection> - <sender>otherCB</sender> - <signal>toggled(bool)</signal> - <receiver>filemanagerLE</receiver> - <slot>setEnabled(bool)</slot> - </connection> - <connection> - <sender>otherCB</sender> - <signal>toggled(bool)</signal> - <receiver>btnSelectFileManager</receiver> - <slot>setEnabled(bool)</slot> - </connection> - <connection> - <sender>btnSelectFileManager</sender> + <sender>btnOpenFileAssociations</sender> <signal>clicked()</signal> <receiver>FileManagerConfig_UI</receiver> - <slot>selectFileManagerApp()</slot> + <slot>selectFileAssociations()</slot> </connection> </connections> <tabstops> - <tabstop>filemanagerCB</tabstop> - <tabstop>otherCB</tabstop> - <tabstop>filemanagerLE</tabstop> + <tabstop>btnOpenFileAssociations</tabstop> </tabstops> <includes> <include location="local" impldecl="in implementation">kdialog.h</include> </includes> <Q_SLOTS> - <slot access="protected">selectFileManagerApp()</slot> + <slot access="protected">selectFileAssociations()</slot> </Q_SLOTS> <layoutdefaults spacing="3" margin="6"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> |