-
Notifications
You must be signed in to change notification settings - Fork 0
/
FileExplorer_ui.py
70 lines (63 loc) · 3.58 KB
/
FileExplorer_ui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/FileExplorer.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_FileExplorer(object):
def setupUi(self, FileExplorer):
FileExplorer.setObjectName("FileExplorer")
FileExplorer.resize(400, 165)
FileExplorer.setMinimumSize(QtCore.QSize(400, 165))
FileExplorer.setMaximumSize(QtCore.QSize(400, 165))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("ui\\resources/open_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
FileExplorer.setWindowIcon(icon)
self.buttonBox = QtWidgets.QDialogButtonBox(FileExplorer)
self.buttonBox.setGeometry(QtCore.QRect(230, 120, 161, 32))
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.widget = QtWidgets.QWidget(FileExplorer)
self.widget.setGeometry(QtCore.QRect(10, 21, 381, 81))
self.widget.setObjectName("widget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.widget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.label = QtWidgets.QLabel(self.widget)
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.lineEdit = QtWidgets.QLineEdit(self.widget)
self.lineEdit.setObjectName("lineEdit")
self.horizontalLayout_2.addWidget(self.lineEdit)
self.pushButton = QtWidgets.QPushButton(self.widget)
self.pushButton.setMinimumSize(QtCore.QSize(19, 19))
self.pushButton.setMaximumSize(QtCore.QSize(19, 19))
self.pushButton.setObjectName("pushButton")
self.horizontalLayout_2.addWidget(self.pushButton)
self.verticalLayout.addLayout(self.horizontalLayout_2)
spacerItem2 = QtWidgets.QSpacerItem(17, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem2)
self.comboBox = QtWidgets.QComboBox(self.widget)
self.comboBox.setObjectName("comboBox")
self.verticalLayout.addWidget(self.comboBox)
self.retranslateUi(FileExplorer)
self.buttonBox.accepted.connect(FileExplorer.accept)
self.buttonBox.rejected.connect(FileExplorer.reject)
QtCore.QMetaObject.connectSlotsByName(FileExplorer)
def retranslateUi(self, FileExplorer):
_translate = QtCore.QCoreApplication.translate
FileExplorer.setWindowTitle(_translate("FileExplorer", " File Explorer"))
self.label.setText(_translate("FileExplorer", "Path to directory"))
self.pushButton.setText(_translate("FileExplorer", "..."))