diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-17 10:51:29 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-22 14:33:31 +0200 |
| commit | e3fe3568a17834997c88cd81363f5a0fc068c83d (patch) | |
| tree | 20eda942e716481e075ed66ab383e5d72c2de95a | |
| parent | 354d6ad6d1afc20607f37cad5351659d1666268f (diff) | |
Update the PdfViewer example .ui files
This makes syncing examples with PySide easier.
Load and save them using Qt Widgets Designer to get fully qualified
enumerations and to adapt to increased minimum sizes.
Pick-to: 6.10
Task-number: PYSIDE-2206
Change-Id: I3f6d5e06b9a9c7d15bdbce35e01fbc4fdceeabb8
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
| -rw-r--r-- | examples/pdfwidgets/pdfviewer/mainwindow.ui | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/pdfwidgets/pdfviewer/mainwindow.ui b/examples/pdfwidgets/pdfviewer/mainwindow.ui index 881df2e1b..a9a153bf6 100644 --- a/examples/pdfwidgets/pdfviewer/mainwindow.ui +++ b/examples/pdfwidgets/pdfviewer/mainwindow.ui @@ -54,7 +54,7 @@ <item> <widget class="QSplitter" name="splitter"> <property name="orientation"> - <enum>Qt::Horizontal</enum> + <enum>Qt::Orientation::Horizontal</enum> </property> <widget class="QTabWidget" name="tabWidget"> <property name="sizePolicy"> @@ -64,7 +64,7 @@ </sizepolicy> </property> <property name="tabPosition"> - <enum>QTabWidget::West</enum> + <enum>QTabWidget::TabPosition::West</enum> </property> <property name="currentIndex"> <number>0</number> @@ -139,13 +139,13 @@ </size> </property> <property name="movement"> - <enum>QListView::Static</enum> + <enum>QListView::Movement::Static</enum> </property> <property name="resizeMode"> - <enum>QListView::Adjust</enum> + <enum>QListView::ResizeMode::Adjust</enum> </property> <property name="viewMode"> - <enum>QListView::IconMode</enum> + <enum>QListView::ViewMode::IconMode</enum> </property> </widget> </item> @@ -174,7 +174,7 @@ <item> <widget class="QListView" name="searchResultsView"> <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> + <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum> </property> </widget> </item> @@ -202,7 +202,7 @@ <x>0</x> <y>0</y> <width>700</width> - <height>23</height> + <height>26</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -393,7 +393,7 @@ </action> <action name="actionFindNext"> <property name="icon"> - <iconset theme="go-down" resource=".rcc/resources.qrc"> + <iconset theme="go-down" resource="resources.qrc"> <normaloff>:/icons/images/go-down-search.svgz</normaloff>:/icons/images/go-down-search.svgz</iconset> </property> <property name="text"> @@ -408,7 +408,7 @@ </action> <action name="actionFindPrevious"> <property name="icon"> - <iconset theme="go-up" resource=".rcc/resources.qrc"> + <iconset theme="go-up" resource="resources.qrc"> <normaloff>:/icons/images/go-up-search.svgz</normaloff>:/icons/images/go-up-search.svgz</iconset> </property> <property name="text"> |
