diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-10-19 13:50:53 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-11-15 23:40:24 +0100 |
commit | 2e82796022b9eaeeb3a231713603c39ae7b2099d (patch) | |
tree | 2834518ef6b472be8a72da858944fcbb95eaf4ed /tests/auto/tools/uic/baseline/phrasebookbox.ui | |
parent | e6febd05d963939a354162bf647b939ad7aca64f (diff) |
uic: Prepare for encountering fully qualified enum values in new .ui files
This means checks have to be rewritten using endsWith().
It mainly affects the QSizePolicy handling whose values originate from
different sources, including numbers. To address this, refactor the
code to deal with unqualified enum value names and introduce a helper
function that fully qualifies the enumeration when writing out.
Pick-to: 6.6 6.5
Task-number: PYSIDE-2492
Task-number: PYSIDE-1735
Task-number: QTBUG-118473
Change-Id: Iccbb884777aa9c696fbf48f9d7329353ef945b0f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests/auto/tools/uic/baseline/phrasebookbox.ui')
-rw-r--r-- | tests/auto/tools/uic/baseline/phrasebookbox.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/uic/baseline/phrasebookbox.ui b/tests/auto/tools/uic/baseline/phrasebookbox.ui index e51b13bea0..68d1ba7659 100644 --- a/tests/auto/tools/uic/baseline/phrasebookbox.ui +++ b/tests/auto/tools/uic/baseline/phrasebookbox.ui @@ -146,7 +146,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType" > - <enum>QSizePolicy::Expanding</enum> + <enum>QSizePolicy::Policy::Expanding</enum> </property> <property name="sizeHint" stdset="0" > <size> |