# -*- 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(446, 423)
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_5 = QtWidgets.QGridLayout(SlicerParametersUI)
self.gridLayout_5.setObjectName("gridLayout_5")
self.tabWidget = QtWidgets.QTabWidget(SlicerParametersUI)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
self.groupBox = QtWidgets.QGroupBox(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
self.groupBox.setSizePolicy(sizePolicy)
self.groupBox.setObjectName("groupBox")
self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label = QtWidgets.QLabel(self.groupBox)
self.label.setObjectName("label")
self.horizontalLayout_2.addWidget(self.label)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.cbSlicer = QtWidgets.QComboBox(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cbSlicer.sizePolicy().hasHeightForWidth())
self.cbSlicer.setSizePolicy(sizePolicy)
self.cbSlicer.setObjectName("cbSlicer")
self.cbSlicer.addItem("")
self.cbSlicer.addItem("")
self.cbSlicer.addItem("")
self.cbSlicer.addItem("")
self.horizontalLayout_2.addWidget(self.cbSlicer)
self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
self.lstParams = QtWidgets.QTableView(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lstParams.sizePolicy().hasHeightForWidth())
self.lstParams.setSizePolicy(sizePolicy)
self.lstParams.setObjectName("lstParams")
self.gridLayout.addWidget(self.lstParams, 0, 0, 1, 1)
self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab, "")
self.gridLayout_5.addWidget(self.tabWidget, 0, 0, 1, 1)
self.retranslateUi(SlicerParametersUI)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(SlicerParametersUI)
[docs] def retranslateUi(self, SlicerParametersUI):
_translate = QtCore.QCoreApplication.translate
SlicerParametersUI.setWindowTitle(_translate("SlicerParametersUI", "Slicer Parameters"))
self.groupBox.setTitle(_translate("SlicerParametersUI", "Slicer Parameters "))
self.label.setText(_translate("SlicerParametersUI", "Slicer type:"))
self.cbSlicer.setItemText(0, _translate("SlicerParametersUI", "Sector Interactor"))
self.cbSlicer.setItemText(1, _translate("SlicerParametersUI", "Annulus Interactor"))
self.cbSlicer.setItemText(2, _translate("SlicerParametersUI", "Box Interactor X"))
self.cbSlicer.setItemText(3, _translate("SlicerParametersUI", "Box Interactor Y"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("SlicerParametersUI", "Slicer"))