-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_form.py
129 lines (102 loc) · 5.27 KB
/
ui_form.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'form.ui'
##
## Created by: Qt User Interface Compiler version 6.4.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QFrame, QHBoxLayout, QLineEdit,
QPushButton, QSizePolicy, QSlider, QVBoxLayout,
QWidget)
class Ui_Widget(object):
def setupUi(self, Widget):
if not Widget.objectName():
Widget.setObjectName(u"Widget")
Widget.resize(1024, 600)
self.verticalLayout = QVBoxLayout(Widget)
self.verticalLayout.setObjectName(u"verticalLayout")
self.header = QFrame(Widget)
self.header.setObjectName(u"header")
self.header.setFrameShape(QFrame.StyledPanel)
self.header.setFrameShadow(QFrame.Raised)
self.horizontalLayout_4 = QHBoxLayout(self.header)
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.current_dir = QLineEdit(self.header)
self.current_dir.setObjectName(u"current_dir")
self.current_dir.setAutoFillBackground(False)
self.current_dir.setText(u"browse folder")
self.current_dir.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.current_dir.setReadOnly(True)
self.current_dir.setClearButtonEnabled(False)
self.horizontalLayout_4.addWidget(self.current_dir)
self.browse_button = QPushButton(self.header)
self.browse_button.setObjectName(u"browse_button")
self.horizontalLayout_4.addWidget(self.browse_button)
self.verticalLayout.addWidget(self.header)
self.body = QFrame(Widget)
self.body.setObjectName(u"body")
self.body.setEnabled(True)
sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.body.sizePolicy().hasHeightForWidth())
self.body.setSizePolicy(sizePolicy)
self.body.setFrameShape(QFrame.StyledPanel)
self.body.setFrameShadow(QFrame.Raised)
self.horizontalLayout = QHBoxLayout(self.body)
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.frame = QFrame(self.body)
self.frame.setObjectName(u"frame")
self.frame.setMinimumSize(QSize(300, 0))
self.frame.setMaximumSize(QSize(300, 16777215))
self.frame.setFrameShape(QFrame.StyledPanel)
self.frame.setFrameShadow(QFrame.Raised)
self.verticalLayout_2 = QVBoxLayout(self.frame)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.horizontalLayout_3 = QHBoxLayout()
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.pushButton_2 = QPushButton(self.frame)
self.pushButton_2.setObjectName(u"pushButton_2")
self.horizontalLayout_3.addWidget(self.pushButton_2, 0, Qt.AlignRight|Qt.AlignBottom)
self.verticalLayout_2.addLayout(self.horizontalLayout_3)
self.horizontalLayout.addWidget(self.frame)
self.viewer = QFrame(self.body)
self.viewer.setObjectName(u"viewer")
sizePolicy1 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.viewer.sizePolicy().hasHeightForWidth())
self.viewer.setSizePolicy(sizePolicy1)
self.viewer.setFrameShape(QFrame.StyledPanel)
self.viewer.setFrameShadow(QFrame.Raised)
self.horizontalLayout.addWidget(self.viewer)
self.frame_3 = QFrame(self.body)
self.frame_3.setObjectName(u"frame_3")
self.frame_3.setMaximumSize(QSize(30, 16777215))
self.frame_3.setFrameShape(QFrame.StyledPanel)
self.frame_3.setFrameShadow(QFrame.Raised)
self.horizontalLayout_2 = QHBoxLayout(self.frame_3)
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.horizontalLayout_2.setContentsMargins(0, -1, 0, -1)
self.verticalSlider2 = QSlider(self.frame_3)
self.verticalSlider2.setObjectName(u"verticalSlider2")
self.verticalSlider2.setOrientation(Qt.Vertical)
self.horizontalLayout_2.addWidget(self.verticalSlider2)
self.horizontalLayout.addWidget(self.frame_3)
self.verticalLayout.addWidget(self.body)
self.retranslateUi(Widget)
QMetaObject.connectSlotsByName(Widget)
# setupUi
def retranslateUi(self, Widget):
Widget.setWindowTitle(QCoreApplication.translate("Widget", u"Widget", None))
self.browse_button.setText(QCoreApplication.translate("Widget", u"PushButton", None))
self.pushButton_2.setText(QCoreApplication.translate("Widget", u"PushButton", None))
# retranslateUi