Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions src/voxd/core/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,52 @@ def __init__(self, parent: QWidget | None = None):
self.setWindowTitle("Manage Whisper Models")
self.setMinimumWidth(600)

# Explicit dark styling to match other dialogs
self.setStyleSheet("""
QDialog, QWidget {
background-color: #2e2e2e;
color: white;
}
QTableWidget {
background-color: #2e2e2e;
color: white;
gridline-color: #555;
}
QTableWidget::item {
background-color: #2e2e2e;
color: white;
}
QTableWidget::item:selected {
background-color: #E03D00;
}
QHeaderView::section {
background-color: #3e3e3e;
color: white;
border: 1px solid #555;
padding: 4px;
}
QPushButton {
background-color: #555;
color: white;
border: 1px solid #666;
border-radius: 3px;
padding: 4px 10px;
}
QPushButton:hover {
background-color: #666;
}
QProgressBar {
background-color: #3e3e3e;
border: 1px solid #555;
border-radius: 3px;
text-align: center;
color: white;
}
QProgressBar::chunk {
background-color: #E03D00;
}
""")

layout = QVBoxLayout(self)
self.table = QTableWidget(0, 4)
self.table.setHorizontalHeaderLabels(["Name", "Size", "Status", "Action"])
Expand Down
40 changes: 40 additions & 0 deletions src/voxd/gui/settings_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,46 @@ def __init__(self, cfg: AppConfig, parent=None):
super().__init__(parent)
self.setWindowTitle("Settings")
self.cfg = cfg

# Explicit dark styling to match other dialogs
self.setStyleSheet("""
QDialog, QWidget {
background-color: #2e2e2e;
color: white;
}
QLabel {
color: white;
background-color: transparent;
}
QScrollArea {
background-color: #2e2e2e;
border: none;
}
QSpinBox, QDoubleSpinBox, QComboBox, QLineEdit {
background-color: #3e3e3e;
color: white;
border: 1px solid #555;
border-radius: 3px;
padding: 2px 5px;
}
QComboBox QAbstractItemView {
background-color: #3e3e3e;
color: white;
selection-background-color: #E03D00;
}
QDialogButtonBox QPushButton {
background-color: #555;
color: white;
border: 1px solid #666;
border-radius: 3px;
padding: 5px 15px;
min-width: 70px;
}
QDialogButtonBox QPushButton:hover {
background-color: #666;
}
""")

# Let the dialog size adapt naturally to its contents;
# scroll-area will provide overflow protection.

Expand Down