110 lines
5.2 KiB
Python
110 lines
5.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file 'preferencesUI.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 5.15.2
|
|
##
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
################################################################################
|
|
|
|
from PySide2.QtCore import *
|
|
from PySide2.QtGui import *
|
|
from PySide2.QtWidgets import *
|
|
|
|
|
|
class Ui_Preferences(object):
|
|
def setupUi(self, Preferences):
|
|
if not Preferences.objectName():
|
|
Preferences.setObjectName(u"Preferences")
|
|
Preferences.resize(295, 99)
|
|
self.verticalLayout = QVBoxLayout(Preferences)
|
|
self.verticalLayout.setObjectName(u"verticalLayout")
|
|
self.prefsOverButtonsLayout = QVBoxLayout()
|
|
self.prefsOverButtonsLayout.setObjectName(u"prefsOverButtonsLayout")
|
|
self.horizontalLayout_3 = QHBoxLayout()
|
|
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
|
self.fontSizeLabel = QLabel(Preferences)
|
|
self.fontSizeLabel.setObjectName(u"fontSizeLabel")
|
|
|
|
self.horizontalLayout_3.addWidget(self.fontSizeLabel)
|
|
|
|
self.fontSizeSpinBox = QSpinBox(Preferences)
|
|
self.fontSizeSpinBox.setObjectName(u"fontSizeSpinBox")
|
|
self.fontSizeSpinBox.setMinimum(6)
|
|
self.fontSizeSpinBox.setValue(10)
|
|
|
|
self.horizontalLayout_3.addWidget(self.fontSizeSpinBox)
|
|
|
|
self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_3.addItem(self.horizontalSpacer_2)
|
|
|
|
|
|
self.prefsOverButtonsLayout.addLayout(self.horizontalLayout_3)
|
|
|
|
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
|
|
|
self.prefsOverButtonsLayout.addItem(self.verticalSpacer)
|
|
|
|
self.line = QFrame(Preferences)
|
|
self.line.setObjectName(u"line")
|
|
self.line.setFrameShape(QFrame.HLine)
|
|
self.line.setFrameShadow(QFrame.Sunken)
|
|
|
|
self.prefsOverButtonsLayout.addWidget(self.line)
|
|
|
|
self.horizontalLayout_2 = QHBoxLayout()
|
|
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_2.addItem(self.horizontalSpacer)
|
|
|
|
self.buttonBox = QDialogButtonBox(Preferences)
|
|
self.buttonBox.setObjectName(u"buttonBox")
|
|
self.buttonBox.setStandardButtons(QDialogButtonBox.Apply|QDialogButtonBox.Cancel|QDialogButtonBox.Ok)
|
|
|
|
self.horizontalLayout_2.addWidget(self.buttonBox)
|
|
|
|
|
|
self.prefsOverButtonsLayout.addLayout(self.horizontalLayout_2)
|
|
|
|
|
|
self.verticalLayout.addLayout(self.prefsOverButtonsLayout)
|
|
|
|
|
|
self.retranslateUi(Preferences)
|
|
|
|
QMetaObject.connectSlotsByName(Preferences)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, Preferences):
|
|
Preferences.setWindowTitle(QCoreApplication.translate("Preferences", u"Preferences", None))
|
|
Preferences.setProperty("comment", QCoreApplication.translate("Preferences", u"\n"
|
|
" Copyright 2020 Pixar \n"
|
|
" \n"
|
|
" Licensed under the Apache License, Version 2.0 (the \"Apache License\") \n"
|
|
" with the following modification; you may not use this file except in \n"
|
|
" compliance with the Apache License and the following modification to it: \n"
|
|
" Section 6. Trademarks. is deleted and replaced with: \n"
|
|
" \n"
|
|
" 6. Trademarks. This License does not grant permission to use the trade \n"
|
|
" names, trademarks, service marks, or product names of the Licensor \n"
|
|
" and its affiliates, except as required to comply with Section 4(c) of \n"
|
|
" the License and to reproduce the content of the NOTI"
|
|
"CE file. \n"
|
|
" \n"
|
|
" You may obtain a copy of the Apache License at \n"
|
|
" \n"
|
|
" http://www.apache.org/licenses/LICENSE-2.0 \n"
|
|
" \n"
|
|
" Unless required by applicable law or agreed to in writing, software \n"
|
|
" distributed under the Apache License with the above modification is \n"
|
|
" distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY \n"
|
|
" KIND, either express or implied. See the Apache License for the specific \n"
|
|
" language governing permissions and limitations under the Apache License. \n"
|
|
" ", None))
|
|
self.fontSizeLabel.setText(QCoreApplication.translate("Preferences", u"Font Size", None))
|
|
# retranslateUi
|
|
|