aboutsummaryrefslogtreecommitdiffstats
path: root/examples/demos/documentviewer
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2024-04-03 14:56:34 +0200
committerFriedemann Kleint <[email protected]>2024-04-09 13:47:22 +0200
commit83c4d9564067eae3f6eb59acc1a34c1b2a11faec (patch)
tree3d4df8c35295995b84d8d256c983ae834c0540fb /examples/demos/documentviewer
parentd1d1ddca8145ea427645ee1ae13b74e3ffc1c913 (diff)
Examples: Update ui_*.py files
As a drive-by, fix the resource file name of the PDF viewer example. Pick-to: 6.7 Change-Id: Ie86ee8d7ed538bc2e55018913b547add88f48efa Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'examples/demos/documentviewer')
-rw-r--r--examples/demos/documentviewer/ui_mainwindow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/demos/documentviewer/ui_mainwindow.py b/examples/demos/documentviewer/ui_mainwindow.py
index 69ac09144..5773ae5b8 100644
--- a/examples/demos/documentviewer/ui_mainwindow.py
+++ b/examples/demos/documentviewer/ui_mainwindow.py
@@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
-## Created by: Qt User Interface Compiler version 6.5.3
+## Created by: Qt User Interface Compiler version 6.7.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
@@ -110,7 +110,7 @@ class Ui_MainWindow(object):
self.splitter.addWidget(self.tabWidget)
self.scrollArea = QScrollArea(self.splitter)
self.scrollArea.setObjectName(u"scrollArea")
- sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
+ sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
@@ -142,7 +142,7 @@ class Ui_MainWindow(object):
MainWindow.setStatusBar(self.statusbar)
self.mainToolBar = QToolBar(MainWindow)
self.mainToolBar.setObjectName(u"mainToolBar")
- MainWindow.addToolBar(Qt.TopToolBarArea, self.mainToolBar)
+ MainWindow.addToolBar(Qt.ToolBarArea.TopToolBarArea, self.mainToolBar)
self.menubar.addAction(self.qtFileMenu.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())