Vorschau-Bilder werden generiert und mit voll Ansicht verknüpft

This commit is contained in:
2025-05-22 19:10:39 +02:00
parent a907a8b8f9
commit 3c37581bec
3 changed files with 90 additions and 54 deletions
+15 -21
View File
@@ -59,19 +59,6 @@
<enum>QFrame::Shadow::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="layoutDirection">
@@ -98,6 +85,19 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
@@ -120,8 +120,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>2480</width>
<height>7070</height>
<width>574</width>
<height>847</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
@@ -130,9 +130,6 @@
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>res/graf_1.gif</pixmap>
</property>
</widget>
</item>
<item>
@@ -140,9 +137,6 @@
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>res/graf_3.gif</pixmap>
</property>
</widget>
</item>
<item>
+5 -7
View File
@@ -60,10 +60,6 @@ class Ui_MainWindow(object):
self.frame_2.setFrameShadow(QFrame.Shadow.Raised)
self.horizontalLayout_2 = QHBoxLayout(self.frame_2)
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_2.addItem(self.horizontalSpacer)
self.pushButton = QPushButton(self.frame_2)
self.pushButton.setObjectName(u"pushButton")
self.pushButton.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
@@ -80,6 +76,10 @@ class Ui_MainWindow(object):
self.horizontalLayout_2.addWidget(self.pushButton_2)
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_2.addItem(self.horizontalSpacer)
self.verticalLayout.addWidget(self.frame_2)
@@ -96,18 +96,16 @@ class Ui_MainWindow(object):
self.scrollArea.setWidgetResizable(True)
self.scrollAreaWidgetContents = QWidget()
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 2480, 7070))
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 574, 847))
self.verticalLayout_2 = QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.label = QLabel(self.scrollAreaWidgetContents)
self.label.setObjectName(u"label")
self.label.setPixmap(QPixmap(u"res/graf_1.gif"))
self.verticalLayout_2.addWidget(self.label)
self.label_2 = QLabel(self.scrollAreaWidgetContents)
self.label_2.setObjectName(u"label_2")
self.label_2.setPixmap(QPixmap(u"res/graf_3.gif"))
self.verticalLayout_2.addWidget(self.label_2)