From 0146c72d9921b0967d9278fec42e912b5dabb5ff Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Mon, 21 Oct 2024 20:04:36 -0400 Subject: [PATCH] =?UTF-8?q?Revert=20"clean:=20open=20and=20resave=20all=20?= =?UTF-8?q?`.ui`=20files=20to=20adapt=20Qt6=20Designer's=20enum=20c?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a5ce8dbcfd0283169b0816d299a948309298b215. --- src/ui/about.ui | 22 ++++++------ src/ui/authentication.ui | 12 +++---- src/ui/dictgroupwidget.ui | 2 +- src/ui/dictheadwords.ui | 52 +++++++++++++-------------- src/ui/dictinfo.ui | 14 ++++---- src/ui/editdictionaries.ui | 4 +-- src/ui/fulltextsearch.ui | 10 +++--- src/ui/groups.ui | 12 +++---- src/ui/initializing.ui | 8 ++--- src/ui/mainwindow.ui | 46 ++++++++++++------------ src/ui/orderandprops.ui | 22 ++++++------ src/ui/preferences.ui | 70 ++++++++++++++++++------------------ src/ui/scanpopup.ui | 8 ++--- src/ui/sources.ui | 32 ++++++++--------- src/ui/texttospeechsource.ui | 12 +++---- 15 files changed, 163 insertions(+), 163 deletions(-) diff --git a/src/ui/about.ui b/src/ui/about.ui index b0434ecc..7d13a55c 100644 --- a/src/ui/about.ui +++ b/src/ui/about.ui @@ -3,7 +3,7 @@ About - Qt::WindowModality::NonModal + Qt::NonModal @@ -46,7 +46,7 @@ true - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter 10 @@ -66,7 +66,7 @@ GoldenDict-ng dictionary lookup program, version - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -79,7 +79,7 @@ #.# - Qt::TextInteractionFlag::TextEditorInteraction + Qt::TextEditorInteraction @@ -91,7 +91,7 @@ (c) 2008-2013 Konstantin Isakov (ikm@goldendict.org) - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -101,7 +101,7 @@ Licensed under GNU GPLv3 or later - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -111,7 +111,7 @@ Based on Qt #.#.# (GCC #.#, 32/64 bit) - Qt::TextInteractionFlag::TextEditorInteraction + Qt::TextEditorInteraction @@ -146,7 +146,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -168,7 +168,7 @@ Credits: - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -188,10 +188,10 @@ - Qt::Orientation::Horizontal + Qt::Horizontal - QDialogButtonBox::StandardButton::Ok + QDialogButtonBox::Ok true diff --git a/src/ui/authentication.ui b/src/ui/authentication.ui index 79051160..9fcdca5d 100644 --- a/src/ui/authentication.ui +++ b/src/ui/authentication.ui @@ -6,8 +6,8 @@ 0 0 - 428 - 150 + 389 + 120 @@ -44,24 +44,24 @@ - QLineEdit::EchoMode::Password + QLineEdit::Password - Qt::Orientation::Horizontal + Qt::Horizontal - QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok + QDialogButtonBox::Cancel|QDialogButtonBox::Ok - Qt::Orientation::Vertical + Qt::Vertical diff --git a/src/ui/dictgroupwidget.ui b/src/ui/dictgroupwidget.ui index 714df8d3..3865de47 100644 --- a/src/ui/dictgroupwidget.ui +++ b/src/ui/dictgroupwidget.ui @@ -35,7 +35,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal diff --git a/src/ui/dictheadwords.ui b/src/ui/dictheadwords.ui index afc3881a..ab6599fc 100644 --- a/src/ui/dictheadwords.ui +++ b/src/ui/dictheadwords.ui @@ -101,35 +101,35 @@ - - - Specify the maximum filtered headwords returned. - - - Filter max results: - - + + + Specify the maximum filtered headwords returned. + + + Filter max results: + + - - - - - - - 10 - - - 3000 - - - 10 - - - - + + + + + + + 10 + + + 3000 + + + 10 + + + + - Qt::Orientation::Vertical + Qt::Vertical diff --git a/src/ui/dictinfo.ui b/src/ui/dictinfo.ui index 21d90e6e..d799a6f9 100644 --- a/src/ui/dictinfo.ui +++ b/src/ui/dictinfo.ui @@ -50,7 +50,7 @@ - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -60,7 +60,7 @@ - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter @@ -98,7 +98,7 @@ - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter @@ -160,7 +160,7 @@ false - QPlainTextEdit::LineWrapMode::NoWrap + QPlainTextEdit::NoWrap true @@ -183,7 +183,7 @@ - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff true @@ -205,7 +205,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -228,7 +228,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal diff --git a/src/ui/editdictionaries.ui b/src/ui/editdictionaries.ui index a376e21f..4553d692 100644 --- a/src/ui/editdictionaries.ui +++ b/src/ui/editdictionaries.ui @@ -29,10 +29,10 @@ - Qt::Orientation::Horizontal + Qt::Horizontal - QDialogButtonBox::StandardButton::Apply|QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Help|QDialogButtonBox::StandardButton::Ok + QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok diff --git a/src/ui/fulltextsearch.ui b/src/ui/fulltextsearch.ui index 48c69429..fb213151 100644 --- a/src/ui/fulltextsearch.ui +++ b/src/ui/fulltextsearch.ui @@ -73,7 +73,7 @@ -1 - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter @@ -142,7 +142,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -168,7 +168,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -188,7 +188,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -208,7 +208,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal diff --git a/src/ui/groups.ui b/src/ui/groups.ui index 33482f7a..3d542e0e 100644 --- a/src/ui/groups.ui +++ b/src/ui/groups.ui @@ -36,7 +36,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -99,7 +99,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -123,10 +123,10 @@ - QTabWidget::TabPosition::North + QTabWidget::North - Qt::TextElideMode::ElideNone + Qt::ElideNone @@ -180,7 +180,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -224,7 +224,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal diff --git a/src/ui/initializing.ui b/src/ui/initializing.ui index 0df55571..59358217 100644 --- a/src/ui/initializing.ui +++ b/src/ui/initializing.ui @@ -3,7 +3,7 @@ Initializing - Qt::WindowModality::ApplicationModal + Qt::ApplicationModal @@ -75,7 +75,7 @@ -1 - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter @@ -105,7 +105,7 @@ Indexing: - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -127,7 +127,7 @@ Dictionary Name - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter true diff --git a/src/ui/mainwindow.ui b/src/ui/mainwindow.ui index bbb47d60..056fbc21 100644 --- a/src/ui/mainwindow.ui +++ b/src/ui/mainwindow.ui @@ -39,7 +39,7 @@ - Qt::TextElideMode::ElideRight + Qt::ElideRight @@ -293,7 +293,7 @@ F3 - QAction::MenuRole::NoRole + QAction::NoRole @@ -308,7 +308,7 @@ F4 - QAction::MenuRole::PreferencesRole + QAction::PreferencesRole @@ -316,7 +316,7 @@ &Homepage - QAction::MenuRole::NoRole + QAction::NoRole @@ -327,7 +327,7 @@ About GoldenDict-ng - QAction::MenuRole::AboutRole + QAction::AboutRole @@ -341,7 +341,7 @@ Ctrl+Q - QAction::MenuRole::QuitRole + QAction::QuitRole @@ -349,7 +349,7 @@ &Forum - QAction::MenuRole::NoRole + QAction::NoRole @@ -363,7 +363,7 @@ Ctrl+F4 - QAction::MenuRole::NoRole + QAction::NoRole @@ -382,7 +382,7 @@ F2 - QAction::MenuRole::NoRole + QAction::NoRole @@ -397,7 +397,7 @@ Ctrl+P - QAction::MenuRole::NoRole + QAction::NoRole @@ -405,7 +405,7 @@ Page Set&up - QAction::MenuRole::NoRole + QAction::NoRole @@ -413,7 +413,7 @@ Print Pre&view - QAction::MenuRole::NoRole + QAction::NoRole @@ -424,7 +424,7 @@ Ctrl+F5 - QAction::MenuRole::NoRole + QAction::NoRole @@ -432,7 +432,7 @@ &Clear - QAction::MenuRole::NoRole + QAction::NoRole @@ -447,10 +447,10 @@ Ctrl+T - Qt::ShortcutContext::WidgetShortcut + Qt::WidgetShortcut - QAction::MenuRole::NoRole + QAction::NoRole @@ -458,7 +458,7 @@ &Configuration Folder - QAction::MenuRole::NoRole + QAction::NoRole @@ -469,7 +469,7 @@ Ctrl+H - QAction::MenuRole::NoRole + QAction::NoRole @@ -477,7 +477,7 @@ &Export - QAction::MenuRole::NoRole + QAction::NoRole @@ -485,7 +485,7 @@ &Import - QAction::MenuRole::NoRole + QAction::NoRole @@ -522,7 +522,7 @@ Ctrl+F - QAction::MenuRole::TextHeuristicRole + QAction::TextHeuristicRole @@ -533,10 +533,10 @@ Ctrl+Shift+F - Qt::ShortcutContext::WidgetWithChildrenShortcut + Qt::WidgetWithChildrenShortcut - QAction::MenuRole::TextHeuristicRole + QAction::TextHeuristicRole diff --git a/src/ui/orderandprops.ui b/src/ui/orderandprops.ui index 71b465f2..ceb388e7 100644 --- a/src/ui/orderandprops.ui +++ b/src/ui/orderandprops.ui @@ -82,10 +82,10 @@ TextLabel - Qt::TextFormat::PlainText + Qt::PlainText - Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -95,7 +95,7 @@ TextLabel - Qt::TextFormat::PlainText + Qt::PlainText @@ -119,7 +119,7 @@ TextLabel - Qt::TextFormat::PlainText + Qt::PlainText @@ -143,7 +143,7 @@ TextLabel - Qt::TextFormat::RichText + Qt::RichText @@ -153,7 +153,7 @@ TextLabel - Qt::TextFormat::RichText + Qt::RichText @@ -169,7 +169,7 @@ - QFrame::Shape::NoFrame + QFrame::NoFrame true @@ -179,7 +179,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -192,7 +192,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -230,10 +230,10 @@ - QFrame::Shape::NoFrame + QFrame::NoFrame - QPlainTextEdit::LineWrapMode::NoWrap + QPlainTextEdit::NoWrap true diff --git a/src/ui/preferences.ui b/src/ui/preferences.ui index 1c513cef..d616e44c 100644 --- a/src/ui/preferences.ui +++ b/src/ui/preferences.ui @@ -33,7 +33,7 @@ - Qt::TextElideMode::ElideNone + Qt::ElideNone false @@ -179,7 +179,7 @@ to open main window and perform other tasks. Enable system tray icon - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter false @@ -219,7 +219,7 @@ the application. - Qt::Orientation::Vertical + Qt::Vertical @@ -322,7 +322,7 @@ the application. - QComboBox::SizeAdjustPolicy::AdjustToContents + QComboBox::AdjustToContents @@ -419,7 +419,7 @@ the application. - Qt::Orientation::Vertical + Qt::Vertical @@ -508,7 +508,7 @@ the application. - QFontComboBox::FontFilter::MonospacedFonts + QFontComboBox::MonospacedFonts @@ -562,7 +562,7 @@ the application. Track Selection change - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop true @@ -582,10 +582,10 @@ in the pressed state when the word selection changes. - QFrame::Shape::NoFrame + QFrame::NoFrame - QFrame::Shadow::Plain + QFrame::Plain 0 @@ -608,7 +608,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -665,10 +665,10 @@ in the pressed state when the word selection changes. - QFrame::Shape::NoFrame + QFrame::NoFrame - QFrame::Shadow::Raised + QFrame::Raised 0 @@ -749,7 +749,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Vertical + Qt::Vertical @@ -782,7 +782,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -809,7 +809,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -827,10 +827,10 @@ in the pressed state when the word selection changes. - Qt::Orientation::Vertical + Qt::Vertical - QSizePolicy::Policy::Fixed + QSizePolicy::Fixed @@ -853,7 +853,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Vertical + Qt::Vertical @@ -946,7 +946,7 @@ in the pressed state when the word selection changes. - Qt::Orientation::Vertical + Qt::Vertical @@ -1072,7 +1072,7 @@ for all program's network requests. - QLineEdit::EchoMode::Password + QLineEdit::Password @@ -1138,7 +1138,7 @@ for all program's network requests. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1175,7 +1175,7 @@ for all program's network requests. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1300,7 +1300,7 @@ clears its network cache from disk during exit. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1329,7 +1329,7 @@ download page. - Qt::Orientation::Vertical + Qt::Vertical @@ -1468,7 +1468,7 @@ download page. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1511,7 +1511,7 @@ download page. - Qt::Orientation::Vertical + Qt::Vertical @@ -1584,7 +1584,7 @@ download page. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1631,7 +1631,7 @@ download page. - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1646,7 +1646,7 @@ download page. - Qt::Orientation::Vertical + Qt::Vertical @@ -1721,7 +1721,7 @@ download page. - Qt::Orientation::Vertical + Qt::Vertical @@ -1799,7 +1799,7 @@ from mouse-over, selection, clipboard or command line - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1855,7 +1855,7 @@ from mouse-over, selection, clipboard or command line - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1922,7 +1922,7 @@ from Stardict, Babylon and GLS dictionaries - Qt::Orientation::Vertical + Qt::Vertical @@ -1939,10 +1939,10 @@ from Stardict, Babylon and GLS dictionaries - Qt::Orientation::Horizontal + Qt::Horizontal - QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Help|QDialogButtonBox::StandardButton::Ok + QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok diff --git a/src/ui/scanpopup.ui b/src/ui/scanpopup.ui index accc7a51..e9550651 100644 --- a/src/ui/scanpopup.ui +++ b/src/ui/scanpopup.ui @@ -36,10 +36,10 @@ - QFrame::Shape::NoFrame + QFrame::NoFrame - QFrame::Shadow::Raised + QFrame::Raised 0 @@ -76,7 +76,7 @@ - QComboBox::SizeAdjustPolicy::AdjustToContents + QComboBox::AdjustToContents @@ -177,7 +177,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal diff --git a/src/ui/sources.ui b/src/ui/sources.ui index a5ebfc20..3ecee4dc 100644 --- a/src/ui/sources.ui +++ b/src/ui/sources.ui @@ -26,7 +26,7 @@ - Qt::TextElideMode::ElideNone + Qt::ElideNone true @@ -71,7 +71,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -134,7 +134,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -207,7 +207,7 @@ Add appropriate dictionaries to the bottoms of the appropriate groups to use them. - Qt::TextFormat::PlainText + Qt::PlainText false @@ -258,10 +258,10 @@ of the appropriate groups to use them. - Qt::Orientation::Vertical + Qt::Vertical - QSizePolicy::Policy::Expanding + QSizePolicy::Expanding @@ -317,7 +317,7 @@ of the appropriate groups to use them. - Qt::Orientation::Vertical + Qt::Vertical @@ -381,7 +381,7 @@ of the appropriate groups to use them. - Qt::Orientation::Vertical + Qt::Vertical @@ -440,7 +440,7 @@ of the appropriate groups to use them. - Qt::Orientation::Vertical + Qt::Vertical @@ -512,7 +512,7 @@ Full list of availiable languages can be found <a href="https://linguali - Qt::Orientation::Vertical + Qt::Vertical @@ -567,7 +567,7 @@ Full list of availiable languages can be found <a href="https://linguali - QFormLayout::FieldGrowthPolicy::ExpandingFieldsGrow + QFormLayout::ExpandingFieldsGrow @@ -586,10 +586,10 @@ Full list of availiable languages can be found <a href="https://linguali - Qt::Orientation::Horizontal + Qt::Horizontal - QSizePolicy::Policy::Fixed + QSizePolicy::Fixed @@ -629,10 +629,10 @@ Full list of availiable languages can be found <a href="https://linguali - Qt::Orientation::Horizontal + Qt::Horizontal - QSizePolicy::Policy::Fixed + QSizePolicy::Fixed @@ -657,7 +657,7 @@ Full list of availiable languages can be found <a href="https://linguali - Qt::Orientation::Vertical + Qt::Vertical diff --git a/src/ui/texttospeechsource.ui b/src/ui/texttospeechsource.ui index c1b9a58c..8b7975f9 100644 --- a/src/ui/texttospeechsource.ui +++ b/src/ui/texttospeechsource.ui @@ -51,7 +51,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -90,10 +90,10 @@ false - Qt::Orientation::Horizontal + Qt::Horizontal - QSlider::TickPosition::TicksAbove + QSlider::TicksAbove 10 @@ -128,10 +128,10 @@ false - Qt::Orientation::Horizontal + Qt::Horizontal - QSlider::TickPosition::TicksAbove + QSlider::TicksAbove 10 @@ -192,7 +192,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal