From ece1249ffffa9f51e595c0ea7fe585a6a3c45827 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Jul 2022 09:11:54 +0530 Subject: [PATCH] Dont use a custom layout in the UI file as qt designer from qt 6 does not support it --- src/calibre/gui2/preferences/look_feel.ui | 60 +++++++++++++---------- 1 file changed, 34 insertions(+), 26 deletions(-) diff --git a/src/calibre/gui2/preferences/look_feel.ui b/src/calibre/gui2/preferences/look_feel.ui index f2a93aca12..cee6960463 100644 --- a/src/calibre/gui2/preferences/look_feel.ui +++ b/src/calibre/gui2/preferences/look_feel.ui @@ -963,24 +963,19 @@ A value of zero means calculate automatically. - + - - - Export list - + - <p>Click this button to write the current display -settings to a file. This could be useful if you have several libraries with similar -structure and you want to use the same column order for each one.</p> + <p>Click this button to reset the list to its default order.</p> + + + Reset list - - Import list - <p>Click this button to set the list to one previously exported. This could be useful if you have several libraries with @@ -989,18 +984,36 @@ in the imported list that aren't in the current library are ignored. Columns in the library that are not in the imported list are put at the end and marked as displayable.</p> + + Import list + - - - Reset list - + - <p>Click this button to reset the list to its default order.</p> + <p>Click this button to write the current display +settings to a file. This could be useful if you have several libraries with similar +structure and you want to use the same column order for each one.</p> + + + Export list + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -1037,7 +1050,7 @@ will be elided, otherwise they will be word wrapped. - + @@ -1064,14 +1077,14 @@ will be elided, otherwise they will be word wrapped. - - &Tab key doesn't edit column templates in the book list - <p>Check this box to disable editing the template for -a "Column built from other columns" in the book list when the column is entered +a "Column built from other columns" in the book list when the column is entered using the Tab key. The F2 (Edit) key will still open the template editor.</p> + + &Tab key doesn't edit column templates in the book list + @@ -1663,11 +1676,6 @@ column being examined (the left-hand pane)
calibre/gui2/widgets2.h
1 - - FlowLayout - QLayout -
calibre/gui2/widgets2.h
-