closes #78 interpolieren, auswahl von sets
This commit is contained in:
parent
90bd33a680
commit
6e976e1404
@ -1,10 +1,11 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Form implementation generated from reading ui file 'resources/_ui/interpol_dialog.ui'
|
# Form implementation generated from reading ui file 'src/resources/_ui/interpol_dialog.ui'
|
||||||
#
|
#
|
||||||
# Created by: PyQt5 UI code generator 5.12.3
|
# Created by: PyQt5 UI code generator 5.15.9
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# 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
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
@ -65,12 +66,13 @@ class Ui_Dialog(object):
|
|||||||
self.label_2 = QtWidgets.QLabel(Dialog)
|
self.label_2 = QtWidgets.QLabel(Dialog)
|
||||||
self.label_2.setObjectName("label_2")
|
self.label_2.setObjectName("label_2")
|
||||||
self.gridLayout.addWidget(self.label_2, 6, 0, 1, 1)
|
self.gridLayout.addWidget(self.label_2, 6, 0, 1, 1)
|
||||||
self.listWidget = QtWidgets.QListWidget(Dialog)
|
self.listWidget = QListWidgetSelect(Dialog)
|
||||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
sizePolicy.setVerticalStretch(0)
|
sizePolicy.setVerticalStretch(0)
|
||||||
sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth())
|
sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth())
|
||||||
self.listWidget.setSizePolicy(sizePolicy)
|
self.listWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.listWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
|
||||||
self.listWidget.setObjectName("listWidget")
|
self.listWidget.setObjectName("listWidget")
|
||||||
self.gridLayout.addWidget(self.listWidget, 1, 0, 1, 2)
|
self.gridLayout.addWidget(self.listWidget, 1, 0, 1, 2)
|
||||||
self.sampling_widget = QtWidgets.QWidget(Dialog)
|
self.sampling_widget = QtWidgets.QWidget(Dialog)
|
||||||
@ -130,8 +132,8 @@ class Ui_Dialog(object):
|
|||||||
self.label_8.setBuddy(self.dest_combobox)
|
self.label_8.setBuddy(self.dest_combobox)
|
||||||
|
|
||||||
self.retranslateUi(Dialog)
|
self.retranslateUi(Dialog)
|
||||||
self.buttonBox.accepted.connect(Dialog.accept)
|
self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
|
||||||
self.buttonBox.rejected.connect(Dialog.reject)
|
self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
|
||||||
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
||||||
Dialog.setTabOrder(self.listWidget, self.ylog_checkBox)
|
Dialog.setTabOrder(self.listWidget, self.ylog_checkBox)
|
||||||
Dialog.setTabOrder(self.ylog_checkBox, self.interp_comboBox)
|
Dialog.setTabOrder(self.ylog_checkBox, self.interp_comboBox)
|
||||||
@ -164,3 +166,4 @@ class Ui_Dialog(object):
|
|||||||
self.xaxis_comboBox.setItemText(1, _translate("Dialog", "from data"))
|
self.xaxis_comboBox.setItemText(1, _translate("Dialog", "from data"))
|
||||||
self.label_8.setText(_translate("Dialog", "Add interpolated data to"))
|
self.label_8.setText(_translate("Dialog", "Add interpolated data to"))
|
||||||
self.xlog_checkBox.setText(_translate("Dialog", "use log(x)"))
|
self.xlog_checkBox.setText(_translate("Dialog", "use log(x)"))
|
||||||
|
from ..lib.listwidget import QListWidgetSelect
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" colspan="2">
|
<item row="1" column="0" colspan="2">
|
||||||
<widget class="QListWidget" name="listWidget">
|
<widget class="QListWidgetSelect" name="listWidget">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
@ -151,6 +151,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Select sets that shall be interpolated. No selection will create interpolations of all visible sets.</string>
|
<string>Select sets that shall be interpolated. No selection will create interpolations of all visible sets.</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="selectionMode">
|
||||||
|
<enum>QAbstractItemView::MultiSelection</enum>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="0" colspan="2">
|
<item row="7" column="0" colspan="2">
|
||||||
@ -276,6 +279,13 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>QListWidgetSelect</class>
|
||||||
|
<extends>QListWidget</extends>
|
||||||
|
<header>..lib.listwidget</header>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>listWidget</tabstop>
|
<tabstop>listWidget</tabstop>
|
||||||
<tabstop>ylog_checkBox</tabstop>
|
<tabstop>ylog_checkBox</tabstop>
|
||||||
|
Loading…
Reference in New Issue
Block a user