| | |
| | | QFont, QFontDatabase, QGradient, QIcon, |
| | | QImage, QKeySequence, QLinearGradient, QPainter, |
| | | QPalette, QPixmap, QRadialGradient, QTransform) |
| | | from PySide6.QtWidgets import (QApplication, QFormLayout, QGroupBox, QHBoxLayout, |
| | | QLabel, QLineEdit, QMainWindow, QMenuBar, |
| | | QPlainTextEdit, QPushButton, QSizePolicy, QSpacerItem, |
| | | QStatusBar, QVBoxLayout, QWidget) |
| | | from PySide6.QtWidgets import (QApplication, QButtonGroup, QFormLayout, QGroupBox, |
| | | QHBoxLayout, QLabel, QLineEdit, QMainWindow, |
| | | QMenuBar, QPlainTextEdit, QPushButton, QRadioButton, |
| | | QSizePolicy, QSpacerItem, QStatusBar, QVBoxLayout, |
| | | QWidget) |
| | | |
| | | class Ui_MainWindow(object): |
| | | def setupUi(self, MainWindow): |
| | |
| | | self.label_4 = QLabel(self.breakRule) |
| | | self.label_4.setObjectName(u"label_4") |
| | | |
| | | self.formLayout_2.setWidget(0, QFormLayout.LabelRole, self.label_4) |
| | | self.formLayout_2.setWidget(2, QFormLayout.LabelRole, self.label_4) |
| | | |
| | | self.espilon = QLineEdit(self.breakRule) |
| | | self.espilon.setObjectName(u"espilon") |
| | |
| | | sizePolicy1.setHeightForWidth(self.espilon.sizePolicy().hasHeightForWidth()) |
| | | self.espilon.setSizePolicy(sizePolicy1) |
| | | |
| | | self.formLayout_2.setWidget(0, QFormLayout.FieldRole, self.espilon) |
| | | self.formLayout_2.setWidget(2, QFormLayout.FieldRole, self.espilon) |
| | | |
| | | self.label_5 = QLabel(self.breakRule) |
| | | self.label_5.setObjectName(u"label_5") |
| | | |
| | | self.formLayout_2.setWidget(1, QFormLayout.LabelRole, self.label_5) |
| | | self.formLayout_2.setWidget(3, QFormLayout.LabelRole, self.label_5) |
| | | |
| | | self.section = QLineEdit(self.breakRule) |
| | | self.section.setObjectName(u"section") |
| | | sizePolicy1.setHeightForWidth(self.section.sizePolicy().hasHeightForWidth()) |
| | | self.section.setSizePolicy(sizePolicy1) |
| | | |
| | | self.formLayout_2.setWidget(1, QFormLayout.FieldRole, self.section) |
| | | self.formLayout_2.setWidget(3, QFormLayout.FieldRole, self.section) |
| | | |
| | | self.breakMethodBox = QGroupBox(self.breakRule) |
| | | self.breakMethodBox.setObjectName(u"breakMethodBox") |
| | | self.horizontalLayout = QHBoxLayout(self.breakMethodBox) |
| | | self.horizontalLayout.setObjectName(u"horizontalLayout") |
| | | self.minEpsilonMethod = QRadioButton(self.breakMethodBox) |
| | | self.breakMethod = QButtonGroup(MainWindow) |
| | | self.breakMethod.setObjectName(u"breakMethod") |
| | | self.breakMethod.addButton(self.minEpsilonMethod) |
| | | self.minEpsilonMethod.setObjectName(u"minEpsilonMethod") |
| | | |
| | | self.horizontalLayout.addWidget(self.minEpsilonMethod) |
| | | |
| | | self.numberOfSectionsMethod = QRadioButton(self.breakMethodBox) |
| | | self.breakMethod.addButton(self.numberOfSectionsMethod) |
| | | self.numberOfSectionsMethod.setObjectName(u"numberOfSectionsMethod") |
| | | |
| | | self.horizontalLayout.addWidget(self.numberOfSectionsMethod) |
| | | |
| | | |
| | | self.formLayout_2.setWidget(0, QFormLayout.FieldRole, self.breakMethodBox) |
| | | |
| | | |
| | | self.verticalLayout.addWidget(self.breakRule) |
| | |
| | | self.label_4.setText(QCoreApplication.translate("MainWindow", u"Epsilon", None)) |
| | | self.label_5.setText(QCoreApplication.translate("MainWindow", u"Anzahl der Sektionen", None)) |
| | | self.section.setText(QCoreApplication.translate("MainWindow", u"8", None)) |
| | | self.breakMethodBox.setTitle(QCoreApplication.translate("MainWindow", u"Methoden", None)) |
| | | self.minEpsilonMethod.setText(QCoreApplication.translate("MainWindow", u"Minimale Epsilon", None)) |
| | | self.numberOfSectionsMethod.setText(QCoreApplication.translate("MainWindow", u"Anzahl der Sektionen", None)) |
| | | self.plotBtn.setText(QCoreApplication.translate("MainWindow", u"Ok", None)) |
| | | self.riemannSumGruppe.setTitle(QCoreApplication.translate("MainWindow", u"Riemann Summe", None)) |
| | | self.label.setText(QCoreApplication.translate("MainWindow", u"linke Summe", None)) |