-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgui_edit.py
57 lines (51 loc) · 2.9 KB
/
gui_edit.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\Apps\DEV\PROJECTS\KoHighlights\gui_edit.ui',
# licensing of 'D:\Apps\DEV\PROJECTS\KoHighlights\gui_edit.ui' applies.
#
# Created: Thu May 2 17:29:33 2024
# by: pyside2-uic running on PySide2 5.13.2
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_TextDialog(object):
def setupUi(self, TextDialog):
TextDialog.setObjectName("TextDialog")
TextDialog.setWindowModality(QtCore.Qt.ApplicationModal)
TextDialog.resize(360, 180)
TextDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
TextDialog.setModal(False)
self.verticalLayout = QtWidgets.QVBoxLayout(TextDialog)
self.verticalLayout.setObjectName("verticalLayout")
self.high_edit_txt = QtWidgets.QTextEdit(TextDialog)
self.high_edit_txt.setFrameShape(QtWidgets.QFrame.WinPanel)
self.high_edit_txt.setAcceptRichText(False)
self.high_edit_txt.setObjectName("high_edit_txt")
self.verticalLayout.addWidget(self.high_edit_txt)
self.btn_box = QtWidgets.QFrame(TextDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btn_box.sizePolicy().hasHeightForWidth())
self.btn_box.setSizePolicy(sizePolicy)
self.btn_box.setObjectName("btn_box")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.btn_box)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(175, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.ok_btn = QtWidgets.QPushButton(self.btn_box)
self.ok_btn.setObjectName("ok_btn")
self.horizontalLayout.addWidget(self.ok_btn)
self.cancel_btn = QtWidgets.QPushButton(self.btn_box)
self.cancel_btn.setObjectName("cancel_btn")
self.horizontalLayout.addWidget(self.cancel_btn)
self.verticalLayout.addWidget(self.btn_box)
self.retranslateUi(TextDialog)
QtCore.QObject.connect(self.cancel_btn, QtCore.SIGNAL("clicked()"), TextDialog.close)
QtCore.QObject.connect(self.ok_btn, QtCore.SIGNAL("clicked()"), TextDialog.close)
QtCore.QMetaObject.connectSlotsByName(TextDialog)
def retranslateUi(self, TextDialog):
self.ok_btn.setToolTip(QtWidgets.QApplication.translate("TextDialog", "Check online for an updated version", None, -1))
self.ok_btn.setText(QtWidgets.QApplication.translate("TextDialog", "OK", None, -1))
self.cancel_btn.setText(QtWidgets.QApplication.translate("TextDialog", "Cancel", None, -1))
import images_rc