From d5f97b84f3a600c50a553828a127f502edce1b30 Mon Sep 17 00:00:00 2001 From: Ian Farrell Date: Sat, 9 Dec 2023 17:35:18 -0500 Subject: [PATCH 1/2] Reorder XML .ui files to correct tab orders Reordered XML .ui files to correct tab orders throughout libfm-qt. There may be one or two .ui files that require , and/or changes to prevent StandardButtons causing incorrect ordering. Affected files: - app-chooser-dialog.ui - edit-bookmarks.ui - file-operation-dialog.ui - file-props.ui - filedialog.ui - filesearch.ui - mount-operation-password.ui - rename-dialog.ui --- src/app-chooser-dialog.ui | 34 ++++---- src/edit-bookmarks.ui | 14 ++-- src/file-operation-dialog.ui | 48 +++++------ src/file-props.ui | 138 ++++++++++++++++---------------- src/filedialog.ui | 20 ++--- src/filesearch.ui | 54 ++++++------- src/mount-operation-password.ui | 34 ++++---- src/rename-dialog.ui | 36 ++++----- 8 files changed, 189 insertions(+), 189 deletions(-) diff --git a/src/app-chooser-dialog.ui b/src/app-chooser-dialog.ui index ef1ebee6..a21f7b43 100644 --- a/src/app-chooser-dialog.ui +++ b/src/app-chooser-dialog.ui @@ -7,7 +7,7 @@ 0 0 432 - 387 + 447 @@ -56,16 +56,6 @@ - - - - Application name: - - - - - - @@ -82,16 +72,16 @@ - - - - false - + + - Keep terminal window open after command execution + Application name: + + + @@ -99,6 +89,16 @@ + + + + false + + + Keep terminal window open after command execution + + + diff --git a/src/edit-bookmarks.ui b/src/edit-bookmarks.ui index 8d989e65..d0ff9c1d 100644 --- a/src/edit-bookmarks.ui +++ b/src/edit-bookmarks.ui @@ -14,6 +14,13 @@ Edit Bookmarks + + + + Use drag and drop to reorder the items + + + @@ -96,13 +103,6 @@ - - - - Use drag and drop to reorder the items - - - diff --git a/src/file-operation-dialog.ui b/src/file-operation-dialog.ui index 47f8c675..d0a3606f 100644 --- a/src/file-operation-dialog.ui +++ b/src/file-operation-dialog.ui @@ -26,6 +26,16 @@ QFormLayout::AllNonFixedFieldsGrow + + + + + 0 + 0 + + + + @@ -83,6 +93,20 @@ + + + + Files processed: + + + + + + + + + + @@ -109,30 +133,6 @@ - - - - - 0 - 0 - - - - - - - - Files processed: - - - - - - - - - - diff --git a/src/file-props.ui b/src/file-props.ui index 20d4354d..b5d30a48 100644 --- a/src/file-props.ui +++ b/src/file-props.ui @@ -100,6 +100,32 @@ + + + + Link target: + + + + + + + + 0 + 0 + + + + + + + true + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + @@ -146,6 +172,23 @@ + + + + Open With: + + + + + + + + 0 + 0 + + + + @@ -215,49 +258,6 @@ - - - - Link target: - - - - - - - - 0 - 0 - - - - - - - true - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Open With: - - - - - - - - 0 - 0 - - - - @@ -391,6 +391,13 @@ 5 + + + + Device Usage: + + + @@ -408,13 +415,6 @@ - - - - Device Usage: - - - @@ -445,14 +445,8 @@ 6 - - - - - - - - + + 0 @@ -460,12 +454,15 @@ - Group: + Owner: - - + + + + + 0 @@ -473,10 +470,13 @@ - Owner: + Group: + + + @@ -736,6 +736,13 @@ + + + + Qt::Vertical + + + @@ -757,13 +764,6 @@ - - - - Qt::Vertical - - - diff --git a/src/filedialog.ui b/src/filedialog.ui index 40fe6a2e..222f2149 100644 --- a/src/filedialog.ui +++ b/src/filedialog.ui @@ -69,16 +69,6 @@ - - - - File type: - - - - - - @@ -89,6 +79,16 @@ + + + + File type: + + + + + + diff --git a/src/filesearch.ui b/src/filesearch.ui index a90456a5..501f6bbf 100644 --- a/src/filesearch.ui +++ b/src/filesearch.ui @@ -275,17 +275,10 @@ - - + + - Smaller than: - - - - - - - false + Larger than: @@ -296,13 +289,6 @@ - - - - Larger than: - - - @@ -333,6 +319,20 @@ + + + + Smaller than: + + + + + + + false + + + @@ -386,6 +386,16 @@ + + + + false + + + true + + + @@ -403,16 +413,6 @@ - - - - false - - - true - - - diff --git a/src/mount-operation-password.ui b/src/mount-operation-password.ui index c10f82c6..d674c5d9 100644 --- a/src/mount-operation-password.ui +++ b/src/mount-operation-password.ui @@ -64,9 +64,6 @@ - - - @@ -83,13 +80,22 @@ - - - - QLineEdit::Password + + + + + + + &Domain: + + + domain + + + @@ -106,19 +112,13 @@ - - - - &Domain: - - - domain + + + + QLineEdit::Password - - - diff --git a/src/rename-dialog.ui b/src/rename-dialog.ui index e89b1f45..866efb4c 100644 --- a/src/rename-dialog.ui +++ b/src/rename-dialog.ui @@ -57,15 +57,8 @@ - - - - with the following file? - - - - - + + 0 @@ -73,33 +66,40 @@ - src file info + dest file info - - + + + + with the following file? + + + + + - + 0 0 - dest file info + src - - + + - + 0 0 - src + src file info From df91f40df3d8766592dc1a275b5fc2d4dd9a0143 Mon Sep 17 00:00:00 2001 From: Ian Farrell Date: Sat, 9 Dec 2023 17:46:42 -0500 Subject: [PATCH 2/2] Fix accidental Qt Designer change --- src/app-chooser-dialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app-chooser-dialog.ui b/src/app-chooser-dialog.ui index a21f7b43..ce8f5448 100644 --- a/src/app-chooser-dialog.ui +++ b/src/app-chooser-dialog.ui @@ -7,7 +7,7 @@ 0 0 432 - 447 + 387