Skip to content

Commit

Permalink
v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alsweider committed Apr 14, 2024
1 parent 8539a3c commit e55648f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 73 deletions.
14 changes: 14 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ MainWindow::MainWindow(QWidget *parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);

//Grenzwerte für die Drehkästchen voll aufdrehen
ui->spinBoxMin1->setMaximum(std::numeric_limits<double>::max());
ui->spinBoxMin2->setMaximum(std::numeric_limits<double>::max());
ui->spinBoxMax1->setMaximum(std::numeric_limits<double>::max());
ui->spinBoxMax2->setMaximum(std::numeric_limits<double>::max());
ui->spinBoxBewertung1->setMaximum(std::numeric_limits<double>::max());
ui->spinBoxMin1->setMinimum(-std::numeric_limits<double>::max());
ui->spinBoxMin2->setMinimum(-std::numeric_limits<double>::max());
ui->spinBoxMax1->setMinimum(-std::numeric_limits<double>::max());
ui->spinBoxMax2->setMinimum(-std::numeric_limits<double>::max());
ui->spinBoxBewertung1->setMinimum(-std::numeric_limits<double>::max());


}

MainWindow::~MainWindow()
Expand Down
92 changes: 19 additions & 73 deletions mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>432</width>
<height>190</height>
<width>406</width>
<height>207</height>
</rect>
</property>
<property name="windowTitle">
<string>Scalatrafo v0.0.1</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand Down Expand Up @@ -71,72 +71,39 @@
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QSpinBox" name="spinBoxMin1">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QDoubleSpinBox" name="spinBoxMin1">
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Times New Roman&quot;;</string>
</property>
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxMax1">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QDoubleSpinBox" name="spinBoxMax1">
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Times New Roman&quot;;</string>
</property>
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxBewertung1">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QDoubleSpinBox" name="spinBoxBewertung1">
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Times New Roman&quot;;</string>
</property>
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2"/>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand Down Expand Up @@ -188,43 +155,19 @@
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QSpinBox" name="spinBoxMin2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QDoubleSpinBox" name="spinBoxMin2">
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Times New Roman&quot;;</string>
</property>
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxMax2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QDoubleSpinBox" name="spinBoxMax2">
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Times New Roman&quot;;</string>
</property>
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item>
Expand All @@ -239,6 +182,9 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4"/>
</item>
</layout>
</item>
</layout>
Expand Down

0 comments on commit e55648f

Please sign in to comment.