forked from IPKM/nmreval
108 lines
5.5 KiB
Python
108 lines
5.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/valueeditor.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
|
#
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MaskDialog(object):
|
|
def setupUi(self, MaskDialog):
|
|
MaskDialog.setObjectName("MaskDialog")
|
|
MaskDialog.resize(383, 645)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(MaskDialog)
|
|
self.verticalLayout.setContentsMargins(3, 3, 3, 3)
|
|
self.verticalLayout.setSpacing(3)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.graph_combobox = QtWidgets.QComboBox(MaskDialog)
|
|
self.graph_combobox.setObjectName("graph_combobox")
|
|
self.verticalLayout.addWidget(self.graph_combobox)
|
|
self.set_combobox = QtWidgets.QComboBox(MaskDialog)
|
|
self.set_combobox.setObjectName("set_combobox")
|
|
self.verticalLayout.addWidget(self.set_combobox)
|
|
self.tableView = QtWidgets.QTableView(MaskDialog)
|
|
self.tableView.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
|
|
self.tableView.setObjectName("tableView")
|
|
self.verticalLayout.addWidget(self.tableView)
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setContentsMargins(-1, 0, -1, -1)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.label = QtWidgets.QLabel(MaskDialog)
|
|
self.label.setObjectName("label")
|
|
self.horizontalLayout.addWidget(self.label)
|
|
self.spinBox = QtWidgets.QSpinBox(MaskDialog)
|
|
self.spinBox.setMinimum(1)
|
|
self.spinBox.setObjectName("spinBox")
|
|
self.horizontalLayout.addWidget(self.spinBox)
|
|
self.toolButton = QtWidgets.QToolButton(MaskDialog)
|
|
self.toolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
|
|
self.toolButton.setAutoRaise(True)
|
|
self.toolButton.setArrowType(QtCore.Qt.RightArrow)
|
|
self.toolButton.setObjectName("toolButton")
|
|
self.horizontalLayout.addWidget(self.toolButton)
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.horizontalLayout.addItem(spacerItem)
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
self.line = QtWidgets.QFrame(MaskDialog)
|
|
self.line.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.line.setLineWidth(3)
|
|
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
|
self.line.setObjectName("line")
|
|
self.verticalLayout.addWidget(self.line)
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
|
|
self.horizontalLayout_2.setSpacing(3)
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
self.add_button = QtWidgets.QPushButton(MaskDialog)
|
|
icon = QtGui.QIcon.fromTheme("list-add")
|
|
self.add_button.setIcon(icon)
|
|
self.add_button.setObjectName("add_button")
|
|
self.horizontalLayout_2.addWidget(self.add_button)
|
|
self.delete_button = QtWidgets.QPushButton(MaskDialog)
|
|
icon = QtGui.QIcon.fromTheme("list-remove")
|
|
self.delete_button.setIcon(icon)
|
|
self.delete_button.setObjectName("delete_button")
|
|
self.horizontalLayout_2.addWidget(self.delete_button)
|
|
self.split_button = QtWidgets.QPushButton(MaskDialog)
|
|
self.split_button.setObjectName("split_button")
|
|
self.horizontalLayout_2.addWidget(self.split_button)
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
self.line_2 = QtWidgets.QFrame(MaskDialog)
|
|
self.line_2.setLineWidth(3)
|
|
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
|
|
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
self.line_2.setObjectName("line_2")
|
|
self.verticalLayout.addWidget(self.line_2)
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_3.setContentsMargins(-1, 0, -1, -1)
|
|
self.horizontalLayout_3.setSpacing(3)
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
self.mask_button = QtWidgets.QPushButton(MaskDialog)
|
|
self.mask_button.setObjectName("mask_button")
|
|
self.horizontalLayout_3.addWidget(self.mask_button)
|
|
self.unmaskbutton = QtWidgets.QPushButton(MaskDialog)
|
|
self.unmaskbutton.setObjectName("unmaskbutton")
|
|
self.horizontalLayout_3.addWidget(self.unmaskbutton)
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
self.label.setBuddy(self.spinBox)
|
|
|
|
self.retranslateUi(MaskDialog)
|
|
QtCore.QMetaObject.connectSlotsByName(MaskDialog)
|
|
|
|
def retranslateUi(self, MaskDialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MaskDialog.setWindowTitle(_translate("MaskDialog", "Form"))
|
|
self.label.setText(_translate("MaskDialog", "Go to line:"))
|
|
self.toolButton.setText(_translate("MaskDialog", "Go Go Power Rangers!"))
|
|
self.add_button.setText(_translate("MaskDialog", "Add row"))
|
|
self.delete_button.setText(_translate("MaskDialog", "Delete rows"))
|
|
self.split_button.setText(_translate("MaskDialog", "Split after selection"))
|
|
self.mask_button.setToolTip(_translate("MaskDialog", "<html><head/><body><p>Masked rows are shown in green</p></body></html>"))
|
|
self.mask_button.setText(_translate("MaskDialog", "Hide/Show selected"))
|
|
self.unmaskbutton.setText(_translate("MaskDialog", "Show all"))
|