2022-03-08 09:27:40 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/hdftree.ui'
|
|
|
|
#
|
2022-09-27 15:35:05 +00:00
|
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
2022-03-08 09:27:40 +00:00
|
|
|
#
|
2022-09-27 15:35:05 +00:00
|
|
|
# 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.
|
2022-03-08 09:27:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
|
|
|
|
|
|
class Ui_Hdf_Dialog(object):
|
|
|
|
def setupUi(self, Hdf_Dialog):
|
|
|
|
Hdf_Dialog.setObjectName("Hdf_Dialog")
|
|
|
|
Hdf_Dialog.resize(460, 772)
|
2022-09-27 15:35:05 +00:00
|
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(Hdf_Dialog)
|
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
|
self.label_3 = QtWidgets.QLabel(Hdf_Dialog)
|
|
|
|
self.label_3.setTextFormat(QtCore.Qt.RichText)
|
|
|
|
self.label_3.setObjectName("label_3")
|
|
|
|
self.verticalLayout_2.addWidget(self.label_3)
|
|
|
|
self.splitter = QtWidgets.QSplitter(Hdf_Dialog)
|
|
|
|
self.splitter.setOrientation(QtCore.Qt.Vertical)
|
|
|
|
self.splitter.setChildrenCollapsible(False)
|
|
|
|
self.splitter.setObjectName("splitter")
|
|
|
|
self.horizontalLayoutWidget = QtWidgets.QWidget(self.splitter)
|
|
|
|
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
|
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.horizontalLayoutWidget)
|
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setSpacing(0)
|
2022-03-08 09:27:40 +00:00
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
|
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
|
|
self.verticalLayout.addLayout(self.verticalLayout_3)
|
2022-09-27 15:35:05 +00:00
|
|
|
self.widget = QtWidgets.QWidget(self.horizontalLayoutWidget)
|
2022-03-08 09:27:40 +00:00
|
|
|
self.widget.setObjectName("widget")
|
|
|
|
self.gridLayout = QtWidgets.QGridLayout(self.widget)
|
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.gridLayout.setSpacing(2)
|
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
|
|
self.label = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label.setObjectName("label")
|
|
|
|
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
2022-09-27 15:35:05 +00:00
|
|
|
self.comboBox_2 = QtWidgets.QComboBox(self.widget)
|
|
|
|
self.comboBox_2.setObjectName("comboBox_2")
|
|
|
|
self.gridLayout.addWidget(self.comboBox_2, 1, 1, 1, 1)
|
2022-03-08 09:27:40 +00:00
|
|
|
self.label_2 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
|
|
|
|
self.comboBox = QtWidgets.QComboBox(self.widget)
|
|
|
|
self.comboBox.setObjectName("comboBox")
|
|
|
|
self.gridLayout.addWidget(self.comboBox, 0, 1, 1, 1)
|
|
|
|
self.verticalLayout.addWidget(self.widget)
|
2022-09-27 15:35:05 +00:00
|
|
|
self.widget_2 = ExpandableWidget(self.splitter)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
|
|
|
|
self.widget_2.setSizePolicy(sizePolicy)
|
2022-03-08 09:27:40 +00:00
|
|
|
self.widget_2.setObjectName("widget_2")
|
2022-09-27 15:35:05 +00:00
|
|
|
self.verticalLayout_2.addWidget(self.splitter)
|
2022-03-08 09:27:40 +00:00
|
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Hdf_Dialog)
|
|
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
|
|
self.buttonBox.setObjectName("buttonBox")
|
2022-09-27 15:35:05 +00:00
|
|
|
self.verticalLayout_2.addWidget(self.buttonBox)
|
2022-03-08 09:27:40 +00:00
|
|
|
|
|
|
|
self.retranslateUi(Hdf_Dialog)
|
|
|
|
self.buttonBox.rejected.connect(Hdf_Dialog.close)
|
|
|
|
self.buttonBox.accepted.connect(Hdf_Dialog.accept)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Hdf_Dialog)
|
|
|
|
|
|
|
|
def retranslateUi(self, Hdf_Dialog):
|
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
Hdf_Dialog.setWindowTitle(_translate("Hdf_Dialog", "View HDF file"))
|
2022-09-27 15:35:05 +00:00
|
|
|
self.label_3.setText(_translate("Hdf_Dialog", "<html><head/><body><p><span style=\" color:#000000;\">Colors: </span><span style=\" color:#1f77b4;\">Time signals and spectra</span><span style=\" color:#000000;\">, </span><span style=\" color:#ff7f0e;\">accumulations</span></p></body></html>"))
|
2022-03-08 09:27:40 +00:00
|
|
|
self.label.setText(_translate("Hdf_Dialog", "Label"))
|
|
|
|
self.label_2.setText(_translate("Hdf_Dialog", "Group"))
|
|
|
|
from ..lib.expandablewidget import ExpandableWidget
|