From 02edebb05a03169dde3dcfd83bd01aa106b437c9 Mon Sep 17 00:00:00 2001 From: collecting Date: Sat, 4 Oct 2025 00:35:06 +0000 Subject: [PATCH] Edit configure.ui --- src/citron/configuration/configure.ui | 1716 +++++++++++++------------ 1 file changed, 877 insertions(+), 839 deletions(-) diff --git a/src/citron/configuration/configure.ui b/src/citron/configuration/configure.ui index b785db8e2..7d1558662 100644 --- a/src/citron/configuration/configure.ui +++ b/src/citron/configuration/configure.ui @@ -1,842 +1,880 @@ - ConfigureDialog - - - - 0 - 0 - 1400 - 900 - - - - - 1200 - 800 - - - - citron Configuration - - - - 0 - 0 - - - - - Qt::ApplicationModal - - - - citron Configuration - - - QDialog { - background-color: #2b2b2b; - color: #ffffff; -} - -QWidget { - background-color: #2b2b2b; - color: #ffffff; -} - -QStackedWidget { - background-color: #2b2b2b; - border: 1px solid #3d3d3d; - border-radius: 8px; - margin: 0px; - padding: 0px; -} - -QScrollArea { - background-color: #2b2b2b; - border: none; - border-radius: 8px; -} - -QScrollArea > QWidget > QWidget { - background-color: #2b2b2b; -} - -QScrollBar:vertical { - background-color: #3d3d3d; - width: 14px; - border-radius: 7px; - margin: 2px; -} - -QScrollBar::handle:vertical { - background-color: #5d5d5d; - border-radius: 6px; - min-height: 30px; - margin: 1px; -} - -QScrollBar::handle:vertical:hover { - background-color: #4a9eff; -} - -QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { - border: none; - background: none; - height: 0px; -} - -QScrollBar:horizontal { - background-color: #3d3d3d; - height: 14px; - border-radius: 7px; - margin: 2px; -} - -QScrollBar::handle:horizontal { - background-color: #5d5d5d; - border-radius: 6px; - min-width: 30px; - margin: 1px; -} - -QScrollBar::handle:horizontal:hover { - background-color: #4a9eff; -} - -QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { - border: none; - background: none; - width: 0px; -} - -QPushButton.tabButton { - background-color: #383838; - color: #ffffff; - padding: 10px 14px; - margin: 2px; - border-top-left-radius: 8px; - border-top-right-radius: 8px; - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - min-width: 85px; - max-width: 160px; - font-weight: 500; - border: 1px solid #3d3d3d; - text-align: center; -} - -QPushButton.tabButton:checked { - background-color: #4a9eff; - color: #ffffff; - font-weight: bold; - border-color: #4a9eff; -} - -QPushButton.tabButton:hover:!checked { - background-color: #4d4d4d; - border-color: #5d5d5d; -} - -QPushButton.tabButton:pressed { - background-color: #2980b9; -} - -QTabWidget { - background-color: #2b2b2b; - border: none; -} - -QTabWidget::pane { - border: 1px solid #3d3d3d; - background-color: #2b2b2b; - border-radius: 8px; - margin: 0px; - padding: 0px; -} - -QTabWidget::tab-bar { - alignment: left; -} - -QTabBar { - background-color: #2b2b2b; - border: none; -} - -QTabBar::tab { - background-color: #383838; - color: #ffffff; - padding: 12px 20px; - margin-right: 2px; - margin-bottom: 2px; - border-top-left-radius: 8px; - border-top-right-radius: 8px; - min-width: 100px; - font-weight: 500; - border: 1px solid #3d3d3d; - border-bottom: none; -} - -QTabBar::tab:selected { - background-color: #4a9eff; - color: #ffffff; - font-weight: bold; - border-color: #4a9eff; -} - -QTabBar::tab:hover:!selected { - background-color: #4d4d4d; - border-color: #5d5d5d; -} - -QTabBar QToolButton { - background-color: #383838; - border: 1px solid #3d3d3d; - border-radius: 4px; - padding: 4px; - margin: 2px; -} - -QTabBar QToolButton:hover { - background-color: #4d4d4d; - border-color: #4a9eff; -} - -QTabBar::scroller { - width: 30px; -} - -QGroupBox { - font-weight: bold; - border: 1px solid #3d3d3d; - border-radius: 8px; - margin-top: 12px; - padding-top: 12px; - background-color: #2b2b2b; - color: #ffffff; -} - -QGroupBox::title { - subcontrol-origin: margin; - left: 12px; - padding: 0 8px 0 8px; - color: #ffffff; - font-weight: bold; -} - -QCheckBox { - color: #ffffff; - spacing: 10px; - padding: 4px; - background-color: transparent; -} - -QCheckBox::indicator { - width: 18px; - height: 18px; - border: 2px solid #5d5d5d; - border-radius: 4px; - background-color: #3d3d3d; -} - -QCheckBox::indicator:checked { - background-color: #4a9eff; - border-color: #4a9eff; -} - -QCheckBox::indicator:hover { - border-color: #4a9eff; -} - -QComboBox { - background-color: #3d3d3d; - border: 1px solid #5d5d5d; - border-radius: 6px; - padding: 8px 12px; - color: #ffffff; - min-width: 120px; - min-height: 28px; - selection-background-color: #4a9eff; -} - -QComboBox:hover { - border-color: #4a9eff; - background-color: #404040; -} - -QComboBox:focus { - border-color: #4a9eff; - background-color: #404040; -} - -QComboBox::drop-down { - border: none; - width: 25px; - subcontrol-origin: padding; - subcontrol-position: top right; - background-color: transparent; -} - -QComboBox::down-arrow { - width: 12px; - height: 12px; - background-color: #ffffff; -} - -QComboBox QAbstractItemView { - background-color: #3d3d3d; - border: 1px solid #4a9eff; - selection-background-color: #4a9eff; - color: #ffffff; - outline: none; -} - -QComboBox QAbstractItemView::item { - padding: 8px; - border: none; - background-color: transparent; -} - -QComboBox QAbstractItemView::item:selected { - background-color: #4a9eff; - color: #ffffff; -} - -QComboBox QAbstractItemView::item:hover { - background-color: #5dafff; - color: #ffffff; -} - -QLineEdit { - background-color: #3d3d3d; - border: 1px solid #5d5d5d; - border-radius: 6px; - padding: 8px 12px; - color: #ffffff; - min-height: 20px; - selection-background-color: #4a9eff; -} - -QLineEdit:focus { - border-color: #4a9eff; - background-color: #404040; -} - -QPushButton { - background-color: #4a9eff; - color: #ffffff; - border: none; - padding: 10px 20px; - border-radius: 6px; - font-weight: bold; - min-height: 20px; -} - -QPushButton:hover { - background-color: #5dafff; -} - -QPushButton:pressed { - background-color: #2980b9; -} - -QPushButton:disabled { - background-color: #5d5d5d; - color: #8d8d8d; -} - -QToolButton { - background-color: #4a9eff; - color: #ffffff; - border: none; - padding: 8px 12px; - border-radius: 6px; - font-weight: bold; - min-width: 32px; - min-height: 24px; -} - -QToolButton:hover { - background-color: #5dafff; -} - -QToolButton:pressed { - background-color: #2980b9; -} - -QLabel { - color: #ffffff; - background-color: transparent; - padding: 2px; -} - -QListWidget { - background-color: #3d3d3d; - border: 1px solid #5d5d5d; - border-radius: 6px; - color: #ffffff; - padding: 4px; -} - -QListWidget::item { - padding: 8px; - border-radius: 4px; - margin: 1px; -} - -QListWidget::item:selected { - background-color: #4a9eff; - color: #ffffff; -} - -QListWidget::item:hover:!selected { - background-color: #4d4d4d; -} - -QSlider::groove:horizontal { - border: 1px solid #5d5d5d; - height: 8px; - background-color: #3d3d3d; - border-radius: 4px; -} - -QSlider::handle:horizontal { - background-color: #4a9eff; - border: 1px solid #4a9eff; - width: 18px; - margin: -5px 0; - border-radius: 9px; -} - -QSlider::handle:horizontal:hover { - background-color: #5dafff; -} - -QSpinBox, QDoubleSpinBox { - background-color: #3d3d3d; - border: 1px solid #5d5d5d; - border-radius: 6px; - padding: 6px; - color: #ffffff; - min-height: 20px; -} - -QSpinBox:focus, QDoubleSpinBox:focus { - border-color: #4a9eff; - background-color: #404040; -} - -QRadioButton { - color: #ffffff; - spacing: 8px; - padding: 4px; -} - -QRadioButton::indicator { - width: 16px; - height: 16px; - border: 2px solid #5d5d5d; - border-radius: 8px; - background-color: #3d3d3d; -} - -QRadioButton::indicator:checked { - background-color: #4a9eff; - border-color: #4a9eff; -} - -QRadioButton::indicator:hover { - border-color: #4a9eff; -} - -/* High DPI specific styles */ -@media (min-resolution: 192dpi) { - QPushButton.tabButton { - padding: 12px 16px; - min-width: 90px; - max-width: 170px; - font-size: 14px; - } - - QComboBox { - min-width: 140px; - min-height: 32px; - padding: 10px 14px; - } - - QLineEdit { - min-height: 24px; - padding: 10px 14px; - } - - QPushButton { - min-height: 24px; - padding: 12px 24px; - } - - QCheckBox::indicator { - width: 20px; - height: 20px; - } - - QRadioButton::indicator { - width: 18px; - height: 18px; - } -} - -@media (min-resolution: 240dpi) { - QPushButton.tabButton { - padding: 14px 18px; - min-width: 95px; - max-width: 180px; - font-size: 16px; - } - - QComboBox { - min-width: 160px; - min-height: 36px; - padding: 12px 16px; - } - - QLineEdit { - min-height: 28px; - padding: 12px 16px; - } - - QPushButton { - min-height: 28px; - padding: 14px 28px; - } - - QCheckBox::indicator { - width: 22px; - height: 22px; - } - - QRadioButton::indicator { - width: 20px; - height: 20px; - } -} - - - - - 8 - - - 12 - - - 12 - - - 12 - - - 12 - - - - - 8 - - - - - 4 - - - - - General - - - true - - - true - - - tabButton - - - - - - - UI - - - true - - - tabButton - - - - - - - System - - - true - - - tabButton - - - - - - - CPU - - - true - - - tabButton - - - - - - - Graphics - - - true - - - tabButton - - - - - - - Graphics (Adv) - - - true - - - tabButton - - - - - - - Audio - - - true - - - tabButton - - - - - - - Input - - - true - - - tabButton - - - - - - - Hotkeys - - - true - - - tabButton - - - - - - - Network - - - true - - - tabButton - - - - - - - Web - - - true - - - tabButton - - - - - - - Filesystem - - - true - - - tabButton - - - - - - - Profiles - - - true - - - tabButton - - - - - - - Applets - - - true - - - tabButton - - - - - - - Logging - - - true - - - tabButton - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - 0 - 0 - - - - 0 - - - - - - - - - 12 - - - 8 - - - 8 - - - 8 - - - 0 - - - - - QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - - buttonBox - accepted() - ConfigureDialog - accept() - - - 20 - 20 - - - 20 - 20 - - - - - buttonBox - rejected() - ConfigureDialog - reject() - - - 20 - 20 - - - 20 - 20 - - - - + ConfigureDialog + + + + 0 + 0 + 1400 + 900 + + + + + 0 + 0 + + + + Qt::ApplicationModal + + + citron Configuration + + + + + + QDialog { + background-color: #2b2b2b; + color: #ffffff; + } + + QWidget { + background-color: #2b2b2b; + color: #ffffff; + } + + QStackedWidget { + background-color: #2b2b2b; + border: 1px solid #3d3d3d; + border-radius: 8px; + margin: 0px; + padding: 0px; + } + + QScrollArea { + background-color: #2b2b2b; + border: none; + border-radius: 8px; + } + + QScrollArea > QWidget > QWidget { + background-color: #2b2b2b; + } + + QScrollBar:vertical { + background-color: #3d3d3d; + width: 14px; + border-radius: 7px; + margin: 2px; + } + + QScrollBar::handle:vertical { + background-color: #5d5d5d; + border-radius: 6px; + min-height: 30px; + margin: 1px; + } + + QScrollBar::handle:vertical:hover { + background-color: %%ACCENT_COLOR%%; + } + + QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { + border: none; + background: none; + height: 0px; + } + + QScrollBar:horizontal { + background-color: #3d3d3d; + height: 14px; + border-radius: 7px; + margin: 2px; + } + + QScrollBar::handle:horizontal { + background-color: #5d5d5d; + border-radius: 6px; + min-width: 30px; + margin: 1px; + } + + QScrollBar::handle:horizontal:hover { + background-color: %%ACCENT_COLOR%%; + } + + QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { + border: none; + background: none; + width: 0px; + } + + QPushButton.tabButton { + background-color: #383838; + color: #ffffff; + padding: 10px 14px; + margin: 2px; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + border-bottom-left-radius: 8px; + border-bottom-right-radius: 8px; + min-width: 85px; + max-width: 160px; + font-weight: 500; + border: 1px solid #3d3d3d; + text-align: center; + } + + QPushButton.tabButton:checked { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + font-weight: bold; + border-color: %%ACCENT_COLOR%%; + } + + QPushButton.tabButton:hover:!checked { + background-color: #4d4d4d; + border-color: #5d5d5d; + } + + QPushButton.tabButton:pressed { + background-color: %%ACCENT_COLOR_PRESSED%%; + } + + QTabWidget { + background-color: #2b2b2b; + border: none; + } + + QTabWidget::pane { + border: 1px solid #3d3d3d; + background-color: #2b2b2b; + border-radius: 8px; + margin: 0px; + padding: 0px; + } + + QTabWidget::tab-bar { + alignment: left; + } + + QTabBar { + background-color: #2b2b2b; + border: none; + } + + QTabBar::tab { + background-color: #383838; + color: #ffffff; + padding: 12px 20px; + margin-right: 2px; + margin-bottom: 2px; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + min-width: 100px; + font-weight: 500; + border: 1px solid #3d3d3d; + border-bottom: none; + } + + QTabBar::tab:selected { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + font-weight: bold; + border-color: %%ACCENT_COLOR%%; + } + + QTabBar::tab:hover:!selected { + background-color: #4d4d4d; + border-color: #5d5d5d; + } + + QTabBar QToolButton { + background-color: #383838; + border: 1px solid #3d3d3d; + border-radius: 4px; + padding: 4px; + margin: 2px; + } + + QTabBar QToolButton:hover { + background-color: #4d4d4d; + border-color: %%ACCENT_COLOR%%; + } + + QTabBar::scroller { + width: 30px; + } + + QGroupBox { + font-weight: bold; + border: 1px solid #3d3d3d; + border-radius: 8px; + margin-top: 12px; + padding-top: 12px; + background-color: #2b2b2b; + color: #ffffff; + } + + QGroupBox::title { + subcontrol-origin: margin; + left: 12px; + padding: 0 8px 0 8px; + color: #ffffff; + font-weight: bold; + } + + QCheckBox { + color: #ffffff; + spacing: 10px; + padding: 4px; + background-color: transparent; + } + + QCheckBox::indicator { + width: 18px; + height: 18px; + border: 2px solid #5d5d5d; + border-radius: 4px; + background-color: #3d3d3d; + } + + QCheckBox::indicator:checked { + background-color: %%ACCENT_COLOR%%; + border-color: %%ACCENT_COLOR%%; + } + + QCheckBox::indicator:hover { + border-color: %%ACCENT_COLOR%%; + } + + QComboBox { + background-color: #3d3d3d; + border: 1px solid #5d5d5d; + border-radius: 6px; + padding: 8px 12px; + color: #ffffff; + min-width: 120px; + min-height: 28px; + selection-background-color: %%ACCENT_COLOR%%; + } + + QComboBox:hover { + border-color: %%ACCENT_COLOR%%; + background-color: #404040; + } + + QComboBox:focus { + border-color: %%ACCENT_COLOR%%; + background-color: #404040; + } + + QComboBox::drop-down { + border: none; + width: 25px; + subcontrol-origin: padding; + subcontrol-position: top right; + background-color: transparent; + } + + QComboBox::down-arrow { + width: 12px; + height: 12px; + background-color: #ffffff; + } + + QComboBox QAbstractItemView { + background-color: #3d3d3d; + border: 1px solid %%ACCENT_COLOR%%; + selection-background-color: %%ACCENT_COLOR%%; + color: #ffffff; + outline: none; + } + + QComboBox QAbstractItemView::item { + padding: 8px; + border: none; + background-color: transparent; + } + + QComboBox QAbstractItemView::item:selected { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + } + + QComboBox QAbstractItemView::item:hover { + background-color: %%ACCENT_COLOR_HOVER%%; + color: #ffffff; + } + + QLineEdit { + background-color: #3d3d3d; + border: 1px solid #5d5d5d; + border-radius: 6px; + padding: 8px 12px; + color: #ffffff; + min-height: 20px; + selection-background-color: %%ACCENT_COLOR%%; + } + + QLineEdit:focus { + border-color: %%ACCENT_COLOR%%; + background-color: #404040; + } + + QPushButton { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + border: none; + padding: 10px 20px; + border-radius: 6px; + font-weight: bold; + min-height: 20px; + } + + QPushButton:hover { + background-color: %%ACCENT_COLOR_HOVER%%; + } + + QPushButton:pressed { + background-color: %%ACCENT_COLOR_PRESSED%%; + } + + QPushButton:disabled { + background-color: #5d5d5d; + color: #8d8d8d; + } + + QToolButton { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + border: none; + padding: 8px 12px; + border-radius: 6px; + font-weight: bold; + min-width: 32px; + min-height: 24px; + } + + QToolButton:hover { + background-color: %%ACCENT_COLOR_HOVER%%; + } + + QToolButton:pressed { + background-color: %%ACCENT_COLOR_PRESSED%%; + } + + QLabel { + color: #ffffff; + background-color: transparent; + padding: 2px; + } + + QListWidget { + background-color: #3d3d3d; + border: 1px solid #5d5d5d; + border-radius: 6px; + color: #ffffff; + padding: 4px; + } + + QListWidget::item { + padding: 8px; + border-radius: 4px; + margin: 1px; + } + + QListWidget::item:selected { + background-color: %%ACCENT_COLOR%%; + color: #ffffff; + } + + QListWidget::item:hover:!selected { + background-color: #4d4d4d; + } + + QSlider::groove:horizontal { + border: 1px solid #5d5d5d; + height: 8px; + background-color: #3d3d3d; + border-radius: 4px; + } + + QSlider::handle:horizontal { + background-color: %%ACCENT_COLOR%%; + border: 1px solid %%ACCENT_COLOR%%; + width: 18px; + margin: -5px 0; + border-radius: 9px; + } + + QSlider::handle:horizontal:hover { + background-color: %%ACCENT_COLOR_HOVER%%; + } + + QSpinBox, QDoubleSpinBox { + background-color: #3d3d3d; + border: 1px solid #5d5d5d; + border-radius: 6px; + padding: 6px; + color: #ffffff; + min-height: 20px; + } + + QSpinBox:focus, QDoubleSpinBox:focus { + border-color: %%ACCENT_COLOR%%; + background-color: #404040; + } + + QRadioButton { + color: #ffffff; + spacing: 8px; + padding: 4px; + } + + QRadioButton::indicator { + width: 16px; + height: 16px; + border: 2px solid #5d5d5d; + border-radius: 8px; + background-color: #3d3d3d; + } + + QRadioButton::indicator:checked { + background-color: %%ACCENT_COLOR%%; + border-color: %%ACCENT_COLOR%%; + } + + QRadioButton::indicator:hover { + border-color: %%ACCENT_COLOR%%; + } + + /* High DPI specific styles */ + @media (min-resolution: 192dpi) { + QPushButton.tabButton { + padding: 12px 16px; + min-width: 90px; + max-width: 170px; + font-size: 14px; + } + + QComboBox { + min-width: 140px; + min-height: 32px; + padding: 10px 14px; + } + + QLineEdit { + min-height: 24px; + padding: 10px 14px; + } + + QPushButton { + min-height: 24px; + padding: 12px 24px; + } + + QCheckBox::indicator { + width: 20px; + height: 20px; + } + + QRadioButton::indicator { + width: 18px; + height: 18px; + } + } + + @media (min-resolution: 240dpi) { + QPushButton.tabButton { + padding: 14px 18px; + min-width: 95px; + max-width: 180px; + font-size: 16px; + } + + QComboBox { + min-width: 160px; + min-height: 36px; + padding: 12px 16px; + } + + QLineEdit { + min-height: 28px; + padding: 12px 16px; + } + + QPushButton { + min-height: 28px; + padding: 14px 28px; + } + + QCheckBox::indicator { + width: 22px; + height: 22px; + } + + QRadioButton::indicator { + width: 20px; + height: 20px; + } + } + + + + + 8 + + + 12 + + + 12 + + + 12 + + + 12 + + + + + 8 + + + + + + 0 + 0 + + + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAsNeeded + + + true + + + + + 0 + 0 + 1376 + 51 + + + + + 4 + + + + + General + + + true + + + true + + + tabButton + + + + + + + UI + + + true + + + tabButton + + + + + + + System + + + true + + + tabButton + + + + + + + CPU + + + true + + + tabButton + + + + + + + Graphics + + + true + + + tabButton + + + + + + + Graphics (Adv) + + + true + + + tabButton + + + + + + + Audio + + + true + + + tabButton + + + + + + + Input + + + true + + + tabButton + + + + + + + Hotkeys + + + true + + + tabButton + + + + + + + Network + + + true + + + tabButton + + + + + + + Web + + + true + + + tabButton + + + + + + + Filesystem + + + true + + + tabButton + + + + + + + Profiles + + + true + + + tabButton + + + + + + + Applets + + + true + + + tabButton + + + + + + + Logging + + + true + + + tabButton + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + true + + + + + 0 + 0 + 1376 + 745 + + + + + + + + 0 + 0 + + + + 0 + + + + + + + + + + + + + 12 + + + 8 + + + 8 + + + 8 + + + 0 + + + + + QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + + buttonBox + accepted() + ConfigureDialog + accept() + + + 20 + 20 + + + 20 + 20 + + + + + buttonBox + rejected() + ConfigureDialog + reject() + + + 20 + 20 + + + 20 + 20 + + + +