<?xml version="1.0" encoding="UTF-8"?>
|
<ui version="4.0">
|
<class>MainWindow</class>
|
<widget class="QMainWindow" name="MainWindow">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>1411</width>
|
<height>889</height>
|
</rect>
|
</property>
|
<property name="windowTitle">
|
<string>Riemann Sum</string>
|
</property>
|
<widget class="QWidget" name="centralwidget">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<item>
|
<layout class="QVBoxLayout" name="verticalLayout">
|
<item>
|
<widget class="QPlainTextEdit" name="helpingText">
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
<property name="font">
|
<font>
|
<family>Noto Mono</family>
|
</font>
|
</property>
|
<property name="readOnly">
|
<bool>true</bool>
|
</property>
|
<property name="plainText">
|
<string>Die Funktion f(x) kann eine beliebige Kombination von arithmetischen Operationen und Python mathematische Funktion in Modul math sein. Einige Beispiele sind:
|
|
x ** 2 0 4
|
x ** 3 0 4
|
tan(radians(x)) 0 45
|
sin(x)**3 + cos(x)**3 0 2*pi
|
</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QGroupBox" name="functionInfo">
|
<property name="title">
|
<string>Angabe der Funktion</string>
|
</property>
|
<layout class="QFormLayout" name="formLayout_3">
|
<item row="0" column="0">
|
<widget class="QLabel" name="label_start">
|
<property name="text">
|
<string>Funktion f(x) = </string>
|
</property>
|
</widget>
|
</item>
|
<item row="0" column="1">
|
<widget class="QLineEdit" name="function">
|
<property name="text">
|
<string>x ** 2</string>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<widget class="QLabel" name="label_fn">
|
<property name="text">
|
<string>start</string>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="1">
|
<widget class="QLineEdit" name="startValue">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
<item row="2" column="0">
|
<widget class="QLabel" name="label_end">
|
<property name="text">
|
<string>end</string>
|
</property>
|
</widget>
|
</item>
|
<item row="2" column="1">
|
<widget class="QLineEdit" name="endValue">
|
<property name="text">
|
<string>4</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
<item>
|
<widget class="QGroupBox" name="breakRule">
|
<property name="title">
|
<string>Abbuchkriterium</string>
|
</property>
|
<layout class="QFormLayout" name="formLayout_2">
|
<item row="2" column="0">
|
<widget class="QLabel" name="label_4">
|
<property name="text">
|
<string>Epsilon</string>
|
</property>
|
</widget>
|
</item>
|
<item row="2" column="1">
|
<widget class="QLineEdit" name="espilon">
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
</widget>
|
</item>
|
<item row="3" column="0">
|
<widget class="QLabel" name="label_5">
|
<property name="text">
|
<string>Anzahl der Sektionen</string>
|
</property>
|
</widget>
|
</item>
|
<item row="3" column="1">
|
<widget class="QLineEdit" name="section">
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
<property name="text">
|
<string>8</string>
|
</property>
|
</widget>
|
</item>
|
<item row="0" column="1">
|
<widget class="QGroupBox" name="breakMethodBox">
|
<property name="title">
|
<string>Methoden</string>
|
</property>
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
<item>
|
<widget class="QRadioButton" name="minEpsilonMethod">
|
<property name="text">
|
<string>Minimale Epsilon</string>
|
</property>
|
<attribute name="buttonGroup">
|
<string notr="true">breakMethod</string>
|
</attribute>
|
</widget>
|
</item>
|
<item>
|
<widget class="QRadioButton" name="numberOfSectionsMethod">
|
<property name="text">
|
<string>Anzahl der Sektionen</string>
|
</property>
|
<attribute name="buttonGroup">
|
<string notr="true">breakMethod</string>
|
</attribute>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="plotBtn">
|
<property name="text">
|
<string>Ok</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<spacer name="verticalSpacer">
|
<property name="orientation">
|
<enum>Qt::Orientation::Vertical</enum>
|
</property>
|
<property name="sizeHint" stdset="0">
|
<size>
|
<width>20</width>
|
<height>40</height>
|
</size>
|
</property>
|
</spacer>
|
</item>
|
<item>
|
<widget class="QGroupBox" name="riemannSumGruppe">
|
<property name="title">
|
<string>Riemann Summe</string>
|
</property>
|
<layout class="QFormLayout" name="formLayout">
|
<item row="0" column="0">
|
<widget class="QLabel" name="label">
|
<property name="text">
|
<string>linke Summe</string>
|
</property>
|
</widget>
|
</item>
|
<item row="0" column="1">
|
<widget class="QLineEdit" name="leftSum">
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
<property name="readOnly">
|
<bool>true</bool>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<widget class="QLabel" name="label_2">
|
<property name="text">
|
<string>rechte Summe</string>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="1">
|
<widget class="QLineEdit" name="rightSum">
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
<property name="readOnly">
|
<bool>true</bool>
|
</property>
|
</widget>
|
</item>
|
<item row="2" column="0">
|
<widget class="QLabel" name="label_3">
|
<property name="text">
|
<string>Anzahl der Iterationen</string>
|
</property>
|
</widget>
|
</item>
|
<item row="2" column="1">
|
<widget class="QLineEdit" name="numOfSections"/>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
<item>
|
<widget class="QGroupBox" name="plotBox">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="sizePolicy">
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
<horstretch>0</horstretch>
|
<verstretch>0</verstretch>
|
</sizepolicy>
|
</property>
|
<property name="title">
|
<string>Plot</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
<widget class="QMenuBar" name="menubar">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>1411</width>
|
<height>22</height>
|
</rect>
|
</property>
|
</widget>
|
<widget class="QStatusBar" name="statusbar"/>
|
</widget>
|
<resources/>
|
<connections/>
|
<buttongroups>
|
<buttongroup name="breakMethod"/>
|
</buttongroups>
|
</ui>
|