From e55648f16bc85ea2550033a3b23d66a092f43ac3 Mon Sep 17 00:00:00 2001 From: Alsweider <30653982+Alsweider@users.noreply.github.com> Date: Sun, 14 Apr 2024 06:56:24 +0200 Subject: [PATCH] v0.0.1 --- mainwindow.cpp | 14 ++++++++ mainwindow.ui | 92 +++++++++++--------------------------------------- 2 files changed, 33 insertions(+), 73 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index c87388b..58b22cb 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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::max()); + ui->spinBoxMin2->setMaximum(std::numeric_limits::max()); + ui->spinBoxMax1->setMaximum(std::numeric_limits::max()); + ui->spinBoxMax2->setMaximum(std::numeric_limits::max()); + ui->spinBoxBewertung1->setMaximum(std::numeric_limits::max()); + ui->spinBoxMin1->setMinimum(-std::numeric_limits::max()); + ui->spinBoxMin2->setMinimum(-std::numeric_limits::max()); + ui->spinBoxMax1->setMinimum(-std::numeric_limits::max()); + ui->spinBoxMax2->setMinimum(-std::numeric_limits::max()); + ui->spinBoxBewertung1->setMinimum(-std::numeric_limits::max()); + + } MainWindow::~MainWindow() diff --git a/mainwindow.ui b/mainwindow.ui index 663a584..03b844c 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -6,20 +6,20 @@ 0 0 - 432 - 190 + 406 + 207 Scalatrafo v0.0.1 - + - - + + @@ -71,72 +71,39 @@ - + - - - - 0 - 0 - - + font: 14pt "Times New Roman"; - - -100000 - - - 100000 - - - - - 0 - 0 - - + font: 14pt "Times New Roman"; - - -100000 - - - 100000 - - - - - 0 - 0 - - + font: 14pt "Times New Roman"; - - -100000 - - - 100000 - + + + - + @@ -188,43 +155,19 @@ - + - - - - 0 - 0 - - + font: 14pt "Times New Roman"; - - -100000 - - - 100000 - - - - - 0 - 0 - - + font: 14pt "Times New Roman"; - - -100000 - - - 100000 - @@ -239,6 +182,9 @@ + + +