# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'resources/_ui/datawidget.ui' # # Created by: PyQt5 UI code generator 5.12.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_DataWidget(object): def setupUi(self, DataWidget): DataWidget.setObjectName("DataWidget") DataWidget.resize(307, 847) self.verticalLayout_2 = QtWidgets.QVBoxLayout(DataWidget) self.verticalLayout_2.setContentsMargins(3, 3, 3, 3) self.verticalLayout_2.setSpacing(3) self.verticalLayout_2.setObjectName("verticalLayout_2") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.verticalLayout_2.addLayout(self.verticalLayout) self.propwidget = ExpandableWidget(DataWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.propwidget.sizePolicy().hasHeightForWidth()) self.propwidget.setSizePolicy(sizePolicy) self.propwidget.setObjectName("propwidget") self.verticalLayout_2.addWidget(self.propwidget) self.frame = QtWidgets.QFrame(DataWidget) self.frame.setFrameShape(QtWidgets.QFrame.NoFrame) self.frame.setFrameShadow(QtWidgets.QFrame.Plain) self.frame.setObjectName("frame") self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setSpacing(0) self.horizontalLayout.setObjectName("horizontalLayout") self.graph_toolButton = QtWidgets.QToolButton(self.frame) self.graph_toolButton.setObjectName("graph_toolButton") self.horizontalLayout.addWidget(self.graph_toolButton) self.empty_toolButton = QtWidgets.QToolButton(self.frame) self.empty_toolButton.setObjectName("empty_toolButton") self.horizontalLayout.addWidget(self.empty_toolButton) self.func_toolButton = QtWidgets.QToolButton(self.frame) self.func_toolButton.setText("") self.func_toolButton.setObjectName("func_toolButton") self.horizontalLayout.addWidget(self.func_toolButton) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.verticalLayout_2.addWidget(self.frame) self.retranslateUi(DataWidget) QtCore.QMetaObject.connectSlotsByName(DataWidget) def retranslateUi(self, DataWidget): _translate = QtCore.QCoreApplication.translate DataWidget.setWindowTitle(_translate("DataWidget", "Data")) self.graph_toolButton.setToolTip(_translate("DataWidget", "New graph")) self.graph_toolButton.setText(_translate("DataWidget", "New graph")) self.empty_toolButton.setToolTip(_translate("DataWidget", "New set")) self.empty_toolButton.setText(_translate("DataWidget", "Empty set")) from ..lib.expandablewidget import ExpandableWidget