From ea52c20448639ce5f07a0504a2f7146222eaecbe Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Feb 2020 10:20:48 +0900 Subject: Added logic for selection of default file manager from TCC. Signed-off-by: Michele Calgaro (cherry picked from commit a430111b101339a278dbe299b0dd5c2bc06528d8) --- kcontrol/componentchooser/filemanagerconfig_ui.ui | 212 ++++++++-------------- 1 file changed, 71 insertions(+), 141 deletions(-) (limited to 'kcontrol/componentchooser/filemanagerconfig_ui.ui') 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 @@ 0 - - - ButtonGroup1 - - - NoFrame - - - 0 - - - - - + + + + labelDescription + + + The default file manager can be selected by changing the preferred application for mime type inode/directory in the File Associations control module + + + WordBreak|AlignVCenter + + + - unnamed + Layout4 - - 0 - - + - Spacer4 - - - Vertical - - - Expanding - - - - 0 - 87 - - - - - - otherCB - - - Use a different &file manager program: + unnamed - - - - Spacer15 - - - Horizontal - - - Fixed - - - - 31 - 20 - - - - - - filemanagerCB - - - &Use Konqueror as file manager application - - - - - Layout4 - - + - unnamed + btnOpenFileAssociations + + + false + + + + 1 + 1 + 0 + 0 + - - - filemanagerLE - - - false - - - - 1 - 0 - 1 - 0 - - - - - 0 - 0 - - - - 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> - - - - - btnSelectFileManager - - - false - - - - 1 - 1 - 0 - 0 - - - - ... - - - Click here to browse for a file manager program. - - - - - - + + Open File Associations module + + + Click here to open the File Association control module. + + + + + + + Spacer16 + + + Horizontal + + + Expanding + + + + + Spacer4 + + + Vertical + + + Expanding + + + + 0 + 87 + + + + - otherCB - toggled(bool) - filemanagerLE - setEnabled(bool) - - - otherCB - toggled(bool) - btnSelectFileManager - setEnabled(bool) - - - btnSelectFileManager + btnOpenFileAssociations clicked() FileManagerConfig_UI - selectFileManagerApp() + selectFileAssociations() - filemanagerCB - otherCB - filemanagerLE + btnOpenFileAssociations kdialog.h - selectFileManagerApp() + selectFileAssociations() -- cgit v1.2.1