mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 11:33:35 +00:00
Edit configure.ui
This commit is contained in:
@@ -10,30 +10,22 @@
|
||||
<height>900</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>1200</width>
|
||||
<height>800</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>citron Configuration</string>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<!-- High DPI support: Enable automatic scaling and proper window modality -->
|
||||
<property name="windowModality">
|
||||
<enum>Qt::ApplicationModal</enum>
|
||||
</property>
|
||||
<!-- High DPI scaling attributes -->
|
||||
<property name="windowTitle">
|
||||
<string>citron Configuration</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="templateStyleSheet" stdset="0">
|
||||
<string>QDialog {
|
||||
background-color: #2b2b2b;
|
||||
color: #ffffff;
|
||||
@@ -77,7 +69,7 @@ QScrollBar::handle:vertical {
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
||||
@@ -101,7 +93,7 @@ QScrollBar::handle:horizontal {
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
|
||||
@@ -127,10 +119,10 @@ QPushButton.tabButton {
|
||||
}
|
||||
|
||||
QPushButton.tabButton:checked {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QPushButton.tabButton:hover:!checked {
|
||||
@@ -139,7 +131,7 @@ QPushButton.tabButton:hover:!checked {
|
||||
}
|
||||
|
||||
QPushButton.tabButton:pressed {
|
||||
background-color: #2980b9;
|
||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||
}
|
||||
|
||||
QTabWidget {
|
||||
@@ -179,10 +171,10 @@ QTabBar::tab {
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QTabBar::tab:hover:!selected {
|
||||
@@ -200,7 +192,7 @@ QTabBar QToolButton {
|
||||
|
||||
QTabBar QToolButton:hover {
|
||||
background-color: #4d4d4d;
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QTabBar::scroller {
|
||||
@@ -241,12 +233,12 @@ QCheckBox::indicator {
|
||||
}
|
||||
|
||||
QCheckBox::indicator:checked {
|
||||
background-color: #4a9eff;
|
||||
border-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:hover {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QComboBox {
|
||||
@@ -257,16 +249,16 @@ QComboBox {
|
||||
color: #ffffff;
|
||||
min-width: 120px;
|
||||
min-height: 28px;
|
||||
selection-background-color: #4a9eff;
|
||||
selection-background-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QComboBox:hover {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
QComboBox:focus {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
@@ -286,8 +278,8 @@ QComboBox::down-arrow {
|
||||
|
||||
QComboBox QAbstractItemView {
|
||||
background-color: #3d3d3d;
|
||||
border: 1px solid #4a9eff;
|
||||
selection-background-color: #4a9eff;
|
||||
border: 1px solid %%ACCENT_COLOR%%;
|
||||
selection-background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
outline: none;
|
||||
}
|
||||
@@ -299,12 +291,12 @@ QComboBox QAbstractItemView::item {
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView::item:selected {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView::item:hover {
|
||||
background-color: #5dafff;
|
||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -315,16 +307,16 @@ QLineEdit {
|
||||
padding: 8px 12px;
|
||||
color: #ffffff;
|
||||
min-height: 20px;
|
||||
selection-background-color: #4a9eff;
|
||||
selection-background-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QLineEdit:focus {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
@@ -334,11 +326,11 @@ QPushButton {
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background-color: #5dafff;
|
||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background-color: #2980b9;
|
||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
@@ -347,7 +339,7 @@ QPushButton:disabled {
|
||||
}
|
||||
|
||||
QToolButton {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 8px 12px;
|
||||
@@ -358,11 +350,11 @@ QToolButton {
|
||||
}
|
||||
|
||||
QToolButton:hover {
|
||||
background-color: #5dafff;
|
||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||
}
|
||||
|
||||
QToolButton:pressed {
|
||||
background-color: #2980b9;
|
||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
@@ -386,7 +378,7 @@ QListWidget::item {
|
||||
}
|
||||
|
||||
QListWidget::item:selected {
|
||||
background-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -402,15 +394,15 @@ QSlider::groove:horizontal {
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
background-color: #4a9eff;
|
||||
border: 1px solid #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
border: 1px solid %%ACCENT_COLOR%%;
|
||||
width: 18px;
|
||||
margin: -5px 0;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:hover {
|
||||
background-color: #5dafff;
|
||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||
}
|
||||
|
||||
QSpinBox, QDoubleSpinBox {
|
||||
@@ -423,7 +415,7 @@ QSpinBox, QDoubleSpinBox {
|
||||
}
|
||||
|
||||
QSpinBox:focus, QDoubleSpinBox:focus {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
@@ -442,12 +434,12 @@ QRadioButton::indicator {
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked {
|
||||
background-color: #4a9eff;
|
||||
border-color: #4a9eff;
|
||||
background-color: %%ACCENT_COLOR%%;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:hover {
|
||||
border-color: #4a9eff;
|
||||
border-color: %%ACCENT_COLOR%%;
|
||||
}
|
||||
|
||||
/* High DPI specific styles */
|
||||
@@ -544,11 +536,36 @@ QRadioButton::indicator:hover {
|
||||
<number>8</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="tabButtonsLayout">
|
||||
<widget class="QScrollArea" name="topButtonScrollArea">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAsNeeded</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="topButtonWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1376</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="tabButtonsLayout">
|
||||
<property name="spacing">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<item>
|
||||
<widget class="QPushButton" name="generalTabButton">
|
||||
<property name="text">
|
||||
<string>General</string>
|
||||
@@ -564,7 +581,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<item>
|
||||
<widget class="QPushButton" name="uiTabButton">
|
||||
<property name="text">
|
||||
<string>UI</string>
|
||||
@@ -577,7 +594,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<item>
|
||||
<widget class="QPushButton" name="systemTabButton">
|
||||
<property name="text">
|
||||
<string>System</string>
|
||||
@@ -590,7 +607,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
<item>
|
||||
<widget class="QPushButton" name="cpuTabButton">
|
||||
<property name="text">
|
||||
<string>CPU</string>
|
||||
@@ -603,7 +620,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="4">
|
||||
<item>
|
||||
<widget class="QPushButton" name="graphicsTabButton">
|
||||
<property name="text">
|
||||
<string>Graphics</string>
|
||||
@@ -616,7 +633,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="5">
|
||||
<item>
|
||||
<widget class="QPushButton" name="graphicsAdvancedTabButton">
|
||||
<property name="text">
|
||||
<string>Graphics (Adv)</string>
|
||||
@@ -629,7 +646,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="6">
|
||||
<item>
|
||||
<widget class="QPushButton" name="audioTabButton">
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
@@ -642,7 +659,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="7">
|
||||
<item>
|
||||
<widget class="QPushButton" name="inputTabButton">
|
||||
<property name="text">
|
||||
<string>Input</string>
|
||||
@@ -655,7 +672,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="8">
|
||||
<item>
|
||||
<widget class="QPushButton" name="hotkeysTabButton">
|
||||
<property name="text">
|
||||
<string>Hotkeys</string>
|
||||
@@ -668,7 +685,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="9">
|
||||
<item>
|
||||
<widget class="QPushButton" name="networkTabButton">
|
||||
<property name="text">
|
||||
<string>Network</string>
|
||||
@@ -681,7 +698,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="10">
|
||||
<item>
|
||||
<widget class="QPushButton" name="webTabButton">
|
||||
<property name="text">
|
||||
<string>Web</string>
|
||||
@@ -694,7 +711,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="11">
|
||||
<item>
|
||||
<widget class="QPushButton" name="filesystemTabButton">
|
||||
<property name="text">
|
||||
<string>Filesystem</string>
|
||||
@@ -707,7 +724,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="12">
|
||||
<item>
|
||||
<widget class="QPushButton" name="profilesTabButton">
|
||||
<property name="text">
|
||||
<string>Profiles</string>
|
||||
@@ -720,7 +737,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="13">
|
||||
<item>
|
||||
<widget class="QPushButton" name="appletsTabButton">
|
||||
<property name="text">
|
||||
<string>Applets</string>
|
||||
@@ -733,7 +750,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="14">
|
||||
<item>
|
||||
<widget class="QPushButton" name="loggingTabButton">
|
||||
<property name="text">
|
||||
<string>Logging</string>
|
||||
@@ -746,7 +763,7 @@ QRadioButton::indicator:hover {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="15">
|
||||
<item>
|
||||
<spacer name="tabButtonsSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
@@ -760,7 +777,24 @@ QRadioButton::indicator:hover {
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="mainContentScrollArea">
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1376</width>
|
||||
<height>745</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="scrollAreaLayout">
|
||||
<item>
|
||||
<widget class="QStackedWidget" name="stackedWidget">
|
||||
<property name="sizePolicy">
|
||||
@@ -775,6 +809,10 @@ QRadioButton::indicator:hover {
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="bottomLayout">
|
||||
|
||||
Reference in New Issue
Block a user