-
Notifications
You must be signed in to change notification settings - Fork 4
/
ui_log_view.py
90 lines (69 loc) · 3.92 KB
/
ui_log_view.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
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'log_view.ui'
##
## Created by: Qt User Interface Compiler version 6.7.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 (QAbstractButton, QApplication, QCheckBox, QDialog,
QDialogButtonBox, QGridLayout, QHBoxLayout, QPushButton,
QScrollArea, QSizePolicy, QTextEdit, QWidget)
class Ui_Dialog(object):
def setupUi(self, Dialog):
if not Dialog.objectName():
Dialog.setObjectName(u"Dialog")
Dialog.resize(553, 300)
self.gridLayout = QGridLayout(Dialog)
self.gridLayout.setObjectName(u"gridLayout")
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.horizontalLayout.setContentsMargins(-1, 0, -1, 0)
self.checkBox_autoScroll = QCheckBox(Dialog)
self.checkBox_autoScroll.setObjectName(u"checkBox_autoScroll")
self.checkBox_autoScroll.setChecked(True)
self.horizontalLayout.addWidget(self.checkBox_autoScroll)
self.pushButton_openlogfolder = QPushButton(Dialog)
self.pushButton_openlogfolder.setObjectName(u"pushButton_openlogfolder")
self.horizontalLayout.addWidget(self.pushButton_openlogfolder)
self.checkBox_openOnStartup = QCheckBox(Dialog)
self.checkBox_openOnStartup.setObjectName(u"checkBox_openOnStartup")
self.horizontalLayout.addWidget(self.checkBox_openOnStartup)
self.buttonBox = QDialogButtonBox(Dialog)
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setOrientation(Qt.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.Close)
self.horizontalLayout.addWidget(self.buttonBox)
self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
self.scrollArea = QScrollArea(Dialog)
self.scrollArea.setObjectName(u"scrollArea")
self.scrollArea.setWidgetResizable(True)
self.scrollAreaWidgetContents = QWidget()
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 537, 255))
self.gridLayout_2 = QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.textEdit_log = QTextEdit(self.scrollAreaWidgetContents)
self.textEdit_log.setObjectName(u"textEdit_log")
self.gridLayout_2.addWidget(self.textEdit_log, 0, 0, 1, 1)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
QMetaObject.connectSlotsByName(Dialog)
# setupUi
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Log View", None))
self.checkBox_autoScroll.setText(QCoreApplication.translate("Dialog", u"Auto Scroll", None))
self.pushButton_openlogfolder.setText(QCoreApplication.translate("Dialog", u"Open Log Folder", None))
self.checkBox_openOnStartup.setText(QCoreApplication.translate("Dialog", u"Open on startup", None))
# retranslateUi