Source code for RWESharp.ui.uiscripts.hotkeys

# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'hotkeys.ui'
##
## Created by: Qt User Interface Compiler version 6.10.1
##
## 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, QAbstractSpinBox, QApplication, QDialog,
    QDialogButtonBox, QHBoxLayout, QHeaderView, QLineEdit,
    QSizePolicy, QSpinBox, QTreeWidget, QTreeWidgetItem,
    QVBoxLayout, QWidget)

[docs] class Ui_Hotkeys(object):
[docs] def setupUi(self, Hotkeys): if not Hotkeys.objectName(): Hotkeys.setObjectName(u"Hotkeys") Hotkeys.resize(795, 542) self.verticalLayout_2 = QVBoxLayout(Hotkeys) self.verticalLayout_2.setObjectName(u"verticalLayout_2") self.horizontalLayout = QHBoxLayout() self.horizontalLayout.setObjectName(u"horizontalLayout") self.Search = QLineEdit(Hotkeys) self.Search.setObjectName(u"Search") sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(9) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.Search.sizePolicy().hasHeightForWidth()) self.Search.setSizePolicy(sizePolicy) self.Search.setClearButtonEnabled(True) self.horizontalLayout.addWidget(self.Search) self.spinBox = QSpinBox(Hotkeys) self.spinBox.setObjectName(u"spinBox") sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed) sizePolicy1.setHorizontalStretch(2) sizePolicy1.setVerticalStretch(0) sizePolicy1.setHeightForWidth(self.spinBox.sizePolicy().hasHeightForWidth()) self.spinBox.setSizePolicy(sizePolicy1) self.spinBox.setWrapping(True) self.spinBox.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.UpDownArrows) self.spinBox.setMinimum(1) self.spinBox.setSingleStep(1) self.horizontalLayout.addWidget(self.spinBox) self.verticalLayout_2.addLayout(self.horizontalLayout) self.treeWidget = QTreeWidget(Hotkeys) self.treeWidget.setObjectName(u"treeWidget") self.treeWidget.header().setDefaultSectionSize(200) self.verticalLayout_2.addWidget(self.treeWidget) self.buttonBox = QDialogButtonBox(Hotkeys) self.buttonBox.setObjectName(u"buttonBox") self.buttonBox.setOrientation(Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok) self.verticalLayout_2.addWidget(self.buttonBox) self.retranslateUi(Hotkeys) self.buttonBox.accepted.connect(Hotkeys.accept) self.buttonBox.rejected.connect(Hotkeys.reject) QMetaObject.connectSlotsByName(Hotkeys)
# setupUi
[docs] def retranslateUi(self, Hotkeys): Hotkeys.setWindowTitle(QCoreApplication.translate("Hotkeys", u"Hotkeys", None)) self.Search.setPlaceholderText(QCoreApplication.translate("Hotkeys", u"Search", None)) ___qtreewidgetitem = self.treeWidget.headerItem() ___qtreewidgetitem.setText(1, QCoreApplication.translate("Hotkeys", u"Key", None)); ___qtreewidgetitem.setText(0, QCoreApplication.translate("Hotkeys", u"Name", None));
# retranslateUi