aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-193.local>2023-12-13 18:27:10 -0500
committerDavid Doan <daviddoan@Davids-MacBook-Pro-193.local>2023-12-13 18:27:10 -0500
commit76e660712c4fa571291cbdd8d4bd2e53b180c5e7 (patch)
treeef1dc05f4c4905c08d4b89a6c909f2ae0d771f88 /src/mainwindow.cpp
parent484cc11540ea00555fdbf88a2101a3b7ac0613ec (diff)
gui changes
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 8895742..9fe2c92 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -51,12 +51,12 @@ void MainWindow::initialize() {
w_label->setFont(font);
currTimeLabel = new QLabel(); // Current Time label
- currTimeLabel->setText("Curr Time: 0");
+ currTimeLabel->setText("Curr Time: 0 Max Time:");
currTimeLabel->setFont(font);
- QLabel *max_time_label = new QLabel(); // Max Time label
- max_time_label->setText("Max Time:");
- max_time_label->setFont(font);
+ // QLabel *max_time_label = new QLabel(); // Max Time label
+ // max_time_label->setText("Max Time:");
+ // max_time_label->setFont(font);
// Create file uploader for scene file
@@ -258,7 +258,7 @@ void MainWindow::initialize() {
vLayout->addWidget(uploadFile);
- vLayout->addWidget(saveImage);
+ // vLayout->addWidget(saveImage);
vLayout->addWidget(xy_label);
vLayout->addWidget(xyLayout);
vLayout->addWidget(xz_label);
@@ -276,7 +276,7 @@ void MainWindow::initialize() {
vLayout->addWidget(w_label);
vLayout->addWidget(wLayout);
vLayout->addWidget(currTimeLabel);
- vLayout->addWidget(max_time_label);
+ // vLayout->addWidget(max_time_label);
vLayout->addWidget(maxTimeGroupBox);
vLayout->addWidget(bulkRender);
@@ -619,7 +619,8 @@ void MainWindow::updateRotationSlider(float value) {
// }
void MainWindow::updateTimeValue() {
- currTimeLabel->setText("Curr Time: " + QString::number(settings.currentTime));
+ currTimeLabel->setText("Curr Time: " + QString::number(settings.currentTime) + " Max Time:");
+ // rayTracer->settingsChanged(imageLabel);
}
void MainWindow::updateZSlider(double value) {