Source code for sas.qtgui.Plotting.UI.SlicerParametersUI

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

# Form implementation generated from reading ui file '.\src\sas\qtgui\Plotting\UI\SlicerParametersUI.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

[docs]class Ui_SlicerParametersUI(object):
[docs] def setupUi(self, SlicerParametersUI): SlicerParametersUI.setObjectName("SlicerParametersUI") SlicerParametersUI.resize(328, 266) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(SlicerParametersUI.sizePolicy().hasHeightForWidth()) SlicerParametersUI.setSizePolicy(sizePolicy) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/res/ball.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) SlicerParametersUI.setWindowIcon(icon) self.gridLayout = QtWidgets.QGridLayout(SlicerParametersUI) self.gridLayout.setObjectName("gridLayout") self.lstParams = QtWidgets.QTableView(SlicerParametersUI) self.lstParams.setObjectName("lstParams") self.gridLayout.addWidget(self.lstParams, 0, 0, 1, 2) self.buttonBox = QtWidgets.QDialogButtonBox(SlicerParametersUI) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Help) self.buttonBox.setObjectName("buttonBox") self.gridLayout.addWidget(self.buttonBox, 1, 1, 1, 1) self.retranslateUi(SlicerParametersUI) self.buttonBox.accepted.connect(SlicerParametersUI.accept) self.buttonBox.rejected.connect(SlicerParametersUI.reject) QtCore.QMetaObject.connectSlotsByName(SlicerParametersUI)
[docs] def retranslateUi(self, SlicerParametersUI): _translate = QtCore.QCoreApplication.translate SlicerParametersUI.setWindowTitle(_translate("SlicerParametersUI", "Slicer Parameters"))