diff --git a/scripts/GUI.py b/scripts/GUI.py index 55e5d4014053bc1c5a80a98602a86f7fa73a8b6a..fbb15da747c8378fe8f2b4e823c08bf66d241950 100644 --- a/scripts/GUI.py +++ b/scripts/GUI.py @@ -46,7 +46,6 @@ class VRSceneCreatorGUI(QMainWindow): font-weight: bold; margin: 10px; color: white; - text-shadow: 2px 2px 4px #000000; """) layout.addWidget(header_label) diff --git a/scripts/simple_tab.py b/scripts/simple_tab.py index 5edd244eeddcd5dac34a6ddcbdd474d8cb7c5ac8..2408fcbe48a8acd3aa9aa5149ab86a65879e7ab2 100644 --- a/scripts/simple_tab.py +++ b/scripts/simple_tab.py @@ -1,6 +1,6 @@ from PyQt6.QtWidgets import (QWidget, QVBoxLayout, QHBoxLayout, QGroupBox, QCheckBox, QMessageBox, QPushButton, - QProgressBar) + QProgressBar,QComboBox,QLabel) from PyQt6.QtCore import Qt, QThread, pyqtSignal, QTimer import os import sys @@ -232,7 +232,46 @@ class SimpleTab(QWidget): self.shift_image_check = QCheckBox("Shift Input Image") self.shift_image_check.setStyleSheet("QCheckBox { margin: 5px; background-color: #3e3e3e;}") options_layout.addWidget(self.shift_image_check) - + + # SSC Model selection + ssc_model_layout = QHBoxLayout() + ssc_model_label = QLabel("SSC Model:") + #ssc_model_label.setAlignment(Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter) + ssc_model_label.setStyleSheet(""" + QLabel { + margin: 5px; + background-color: transparent; + color: white; + font-weight: bold; + } + """) + ssc_model_label.setFixedWidth(ssc_model_label.sizeHint().width()) + ssc_model_layout.addWidget(ssc_model_label) + + self.ssc_model_combo = QComboBox() + self.ssc_model_combo.addItems(["EdgeNet360", "MDBNet"]) + self.ssc_model_combo.setStyleSheet(""" + QComboBox { + margin: 5px; + padding: 5px; + background-color: #1e1e1e; + color: white; + border: none; + border-radius: 5px; + } + QComboBox QAbstractItemView { + background-color: #1e1e1e; + color: white; + selection-background-color: #5e5e5e; + border-radius: 5px; + } + """) + self.ssc_model_combo.setFixedWidth(150) + ssc_model_layout.addWidget(self.ssc_model_combo) + ssc_model_layout.setAlignment(Qt.AlignmentFlag.AlignLeft) + # Add the horizontal layout to the options layout + options_layout.addLayout(ssc_model_layout) + controls_layout.addLayout(options_layout) # Progress Bar