diff --git a/FilmLightController/mainwindow.cpp b/FilmLightController/mainwindow.cpp index 49d64fc..9c28232 100644 --- a/FilmLightController/mainwindow.cpp +++ b/FilmLightController/mainwindow.cpp @@ -6,9 +6,48 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); + setFixedSize(400,360); + } MainWindow::~MainWindow() { delete ui; } + + +void MainWindow::setLablePowerCold(void){ + + ui->labelPowerCold->setText("Test"); + +} + +void MainWindow::on_BtnIncreaseBrightness_clicked() +{ + +} + +void MainWindow::on_BtnDecreaseBrightness_clicked() +{ + +} + +void MainWindow::on_BtnIncreaseTemperatur_clicked() +{ + +} + +void MainWindow::on_BtnDecreaseTemperatur_clicked() +{ + +} + +void MainWindow::on_BtnSetBrightness_clicked() +{ + +} + +void MainWindow::on_BtnSetTemperatur_clicked() +{ + +} diff --git a/FilmLightController/mainwindow.h b/FilmLightController/mainwindow.h index 9353441..bd51ed6 100644 --- a/FilmLightController/mainwindow.h +++ b/FilmLightController/mainwindow.h @@ -14,6 +14,22 @@ class MainWindow : public QMainWindow public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); + void setLablePowerCold(void); + +private slots: + void on_pushButton_clicked(); + + void on_BtnIncreaseBrightness_clicked(); + + void on_BtnDecreaseBrightness_clicked(); + + void on_BtnIncreaseTemperatur_clicked(); + + void on_BtnDecreaseTemperatur_clicked(); + + void on_BtnSetBrightness_clicked(); + + void on_BtnSetTemperatur_clicked(); private: Ui::MainWindow *ui; diff --git a/FilmLightController/mainwindow.ui b/FilmLightController/mainwindow.ui index 20548ec..37c3cc7 100644 --- a/FilmLightController/mainwindow.ui +++ b/FilmLightController/mainwindow.ui @@ -60,7 +60,7 @@ Temperature - + 20 @@ -70,7 +70,7 @@ - + 230 @@ -80,7 +80,7 @@ - + 10 @@ -93,7 +93,7 @@ Increase - + 100 @@ -106,7 +106,7 @@ Decrease - + 220 @@ -119,7 +119,7 @@ Increase - + 310 @@ -132,7 +132,7 @@ Decrease - + 110 @@ -145,7 +145,7 @@ Set - + 320 @@ -210,6 +210,32 @@ Qt::Vertical + + + + 10 + 220 + 131 + 18 + + + + Output Power Cold: + + + + + + 10 + 250 + 131 + 18 + + + + Output Power Warm: + +