mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 19:43:34 +00:00
Edit configure.ui
This commit is contained in:
@@ -10,107 +10,99 @@
|
|||||||
<height>900</height>
|
<height>900</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>1200</width>
|
|
||||||
<height>800</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>citron Configuration</string>
|
|
||||||
</property>
|
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<!-- High DPI support: Enable automatic scaling and proper window modality -->
|
|
||||||
<property name="windowModality">
|
<property name="windowModality">
|
||||||
<enum>Qt::ApplicationModal</enum>
|
<enum>Qt::ApplicationModal</enum>
|
||||||
</property>
|
</property>
|
||||||
<!-- High DPI scaling attributes -->
|
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>citron Configuration</string>
|
<string>citron Configuration</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="templateStyleSheet" stdset="0">
|
||||||
<string>QDialog {
|
<string>QDialog {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget {
|
QWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QStackedWidget {
|
QStackedWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollArea {
|
QScrollArea {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollArea > QWidget > QWidget {
|
QScrollArea > QWidget > QWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar:vertical {
|
QScrollBar:vertical {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:vertical {
|
QScrollBar::handle:vertical {
|
||||||
background-color: #5d5d5d;
|
background-color: #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:vertical:hover {
|
QScrollBar::handle:vertical:hover {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
height: 0px;
|
height: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar:horizontal {
|
QScrollBar:horizontal {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:horizontal {
|
QScrollBar::handle:horizontal {
|
||||||
background-color: #5d5d5d;
|
background-color: #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:horizontal:hover {
|
QScrollBar::handle:horizontal:hover {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
|
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton {
|
QPushButton.tabButton {
|
||||||
background-color: #383838;
|
background-color: #383838;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 10px 14px;
|
padding: 10px 14px;
|
||||||
@@ -124,47 +116,47 @@ QPushButton.tabButton {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:checked {
|
QPushButton.tabButton:checked {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:hover:!checked {
|
QPushButton.tabButton:hover:!checked {
|
||||||
background-color: #4d4d4d;
|
background-color: #4d4d4d;
|
||||||
border-color: #5d5d5d;
|
border-color: #5d5d5d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton.tabButton:pressed {
|
QPushButton.tabButton:pressed {
|
||||||
background-color: #2980b9;
|
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget {
|
QTabWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget::pane {
|
QTabWidget::pane {
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget::tab-bar {
|
QTabWidget::tab-bar {
|
||||||
alignment: left;
|
alignment: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar {
|
QTabBar {
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
background-color: #383838;
|
background-color: #383838;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 12px 20px;
|
padding: 12px 20px;
|
||||||
@@ -176,38 +168,38 @@ QTabBar::tab {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:selected {
|
QTabBar::tab:selected {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:hover:!selected {
|
QTabBar::tab:hover:!selected {
|
||||||
background-color: #4d4d4d;
|
background-color: #4d4d4d;
|
||||||
border-color: #5d5d5d;
|
border-color: #5d5d5d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar QToolButton {
|
QTabBar QToolButton {
|
||||||
background-color: #383838;
|
background-color: #383838;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar QToolButton:hover {
|
QTabBar QToolButton:hover {
|
||||||
background-color: #4d4d4d;
|
background-color: #4d4d4d;
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::scroller {
|
QTabBar::scroller {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid #3d3d3d;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@@ -215,41 +207,41 @@ QGroupBox {
|
|||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
background-color: #2b2b2b;
|
background-color: #2b2b2b;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::title {
|
QGroupBox::title {
|
||||||
subcontrol-origin: margin;
|
subcontrol-origin: margin;
|
||||||
left: 12px;
|
left: 12px;
|
||||||
padding: 0 8px 0 8px;
|
padding: 0 8px 0 8px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox {
|
QCheckBox {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator {
|
QCheckBox::indicator {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
border: 2px solid #5d5d5d;
|
border: 2px solid #5d5d5d;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked {
|
QCheckBox::indicator:checked {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:hover {
|
QCheckBox::indicator:hover {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox {
|
QComboBox {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@@ -257,97 +249,97 @@ QComboBox {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
min-width: 120px;
|
min-width: 120px;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
selection-background-color: #4a9eff;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:hover {
|
QComboBox:hover {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:focus {
|
QComboBox:focus {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::drop-down {
|
QComboBox::drop-down {
|
||||||
border: none;
|
border: none;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
subcontrol-origin: padding;
|
subcontrol-origin: padding;
|
||||||
subcontrol-position: top right;
|
subcontrol-position: top right;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::down-arrow {
|
QComboBox::down-arrow {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView {
|
QComboBox QAbstractItemView {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border: 1px solid #4a9eff;
|
border: 1px solid %%ACCENT_COLOR%%;
|
||||||
selection-background-color: #4a9eff;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView::item {
|
QComboBox QAbstractItemView::item {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView::item:selected {
|
QComboBox QAbstractItemView::item:selected {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView::item:hover {
|
QComboBox QAbstractItemView::item:hover {
|
||||||
background-color: #5dafff;
|
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit {
|
QLineEdit {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
selection-background-color: #4a9eff;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit:focus {
|
QLineEdit:focus {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton {
|
QPushButton {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
background-color: #5dafff;
|
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:pressed {
|
QPushButton:pressed {
|
||||||
background-color: #2980b9;
|
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:disabled {
|
QPushButton:disabled {
|
||||||
background-color: #5d5d5d;
|
background-color: #5d5d5d;
|
||||||
color: #8d8d8d;
|
color: #8d8d8d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton {
|
QToolButton {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
@@ -355,103 +347,103 @@ QToolButton {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
min-width: 32px;
|
min-width: 32px;
|
||||||
min-height: 24px;
|
min-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton:hover {
|
QToolButton:hover {
|
||||||
background-color: #5dafff;
|
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton:pressed {
|
QToolButton:pressed {
|
||||||
background-color: #2980b9;
|
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel {
|
QLabel {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget {
|
QListWidget {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item {
|
QListWidget::item {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item:selected {
|
QListWidget::item:selected {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item:hover:!selected {
|
QListWidget::item:hover:!selected {
|
||||||
background-color: #4d4d4d;
|
background-color: #4d4d4d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::groove:horizontal {
|
QSlider::groove:horizontal {
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid #5d5d5d;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::handle:horizontal {
|
QSlider::handle:horizontal {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
border: 1px solid #4a9eff;
|
border: 1px solid %%ACCENT_COLOR%%;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
margin: -5px 0;
|
margin: -5px 0;
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::handle:horizontal:hover {
|
QSlider::handle:horizontal:hover {
|
||||||
background-color: #5dafff;
|
background-color: %%ACCENT_COLOR_HOVER%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSpinBox, QDoubleSpinBox {
|
QSpinBox, QDoubleSpinBox {
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid #5d5d5d;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSpinBox:focus, QDoubleSpinBox:focus {
|
QSpinBox:focus, QDoubleSpinBox:focus {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton {
|
QRadioButton {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
spacing: 8px;
|
spacing: 8px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator {
|
QRadioButton::indicator {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
border: 2px solid #5d5d5d;
|
border: 2px solid #5d5d5d;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator:checked {
|
QRadioButton::indicator:checked {
|
||||||
background-color: #4a9eff;
|
background-color: %%ACCENT_COLOR%%;
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator:hover {
|
QRadioButton::indicator:hover {
|
||||||
border-color: #4a9eff;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* High DPI specific styles */
|
/* High DPI specific styles */
|
||||||
@media (min-resolution: 192dpi) {
|
@media (min-resolution: 192dpi) {
|
||||||
QPushButton.tabButton {
|
QPushButton.tabButton {
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
min-width: 90px;
|
min-width: 90px;
|
||||||
@@ -484,9 +476,9 @@ QRadioButton::indicator:hover {
|
|||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 240dpi) {
|
@media (min-resolution: 240dpi) {
|
||||||
QPushButton.tabButton {
|
QPushButton.tabButton {
|
||||||
padding: 14px 18px;
|
padding: 14px 18px;
|
||||||
min-width: 95px;
|
min-width: 95px;
|
||||||
@@ -519,8 +511,8 @@ QRadioButton::indicator:hover {
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
@@ -544,11 +536,36 @@ QRadioButton::indicator:hover {
|
|||||||
<number>8</number>
|
<number>8</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<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">
|
<property name="spacing">
|
||||||
<number>4</number>
|
<number>4</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="0">
|
<item>
|
||||||
<widget class="QPushButton" name="generalTabButton">
|
<widget class="QPushButton" name="generalTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>General</string>
|
<string>General</string>
|
||||||
@@ -564,7 +581,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item>
|
||||||
<widget class="QPushButton" name="uiTabButton">
|
<widget class="QPushButton" name="uiTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>UI</string>
|
<string>UI</string>
|
||||||
@@ -577,7 +594,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="2">
|
<item>
|
||||||
<widget class="QPushButton" name="systemTabButton">
|
<widget class="QPushButton" name="systemTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>System</string>
|
<string>System</string>
|
||||||
@@ -590,7 +607,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="3">
|
<item>
|
||||||
<widget class="QPushButton" name="cpuTabButton">
|
<widget class="QPushButton" name="cpuTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CPU</string>
|
<string>CPU</string>
|
||||||
@@ -603,7 +620,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="4">
|
<item>
|
||||||
<widget class="QPushButton" name="graphicsTabButton">
|
<widget class="QPushButton" name="graphicsTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Graphics</string>
|
<string>Graphics</string>
|
||||||
@@ -616,7 +633,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="5">
|
<item>
|
||||||
<widget class="QPushButton" name="graphicsAdvancedTabButton">
|
<widget class="QPushButton" name="graphicsAdvancedTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Graphics (Adv)</string>
|
<string>Graphics (Adv)</string>
|
||||||
@@ -629,7 +646,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="6">
|
<item>
|
||||||
<widget class="QPushButton" name="audioTabButton">
|
<widget class="QPushButton" name="audioTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Audio</string>
|
<string>Audio</string>
|
||||||
@@ -642,7 +659,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="7">
|
<item>
|
||||||
<widget class="QPushButton" name="inputTabButton">
|
<widget class="QPushButton" name="inputTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Input</string>
|
<string>Input</string>
|
||||||
@@ -655,7 +672,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="8">
|
<item>
|
||||||
<widget class="QPushButton" name="hotkeysTabButton">
|
<widget class="QPushButton" name="hotkeysTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Hotkeys</string>
|
<string>Hotkeys</string>
|
||||||
@@ -668,7 +685,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="9">
|
<item>
|
||||||
<widget class="QPushButton" name="networkTabButton">
|
<widget class="QPushButton" name="networkTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Network</string>
|
<string>Network</string>
|
||||||
@@ -681,7 +698,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="10">
|
<item>
|
||||||
<widget class="QPushButton" name="webTabButton">
|
<widget class="QPushButton" name="webTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Web</string>
|
<string>Web</string>
|
||||||
@@ -694,7 +711,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="11">
|
<item>
|
||||||
<widget class="QPushButton" name="filesystemTabButton">
|
<widget class="QPushButton" name="filesystemTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Filesystem</string>
|
<string>Filesystem</string>
|
||||||
@@ -707,7 +724,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="12">
|
<item>
|
||||||
<widget class="QPushButton" name="profilesTabButton">
|
<widget class="QPushButton" name="profilesTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Profiles</string>
|
<string>Profiles</string>
|
||||||
@@ -720,7 +737,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="13">
|
<item>
|
||||||
<widget class="QPushButton" name="appletsTabButton">
|
<widget class="QPushButton" name="appletsTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Applets</string>
|
<string>Applets</string>
|
||||||
@@ -733,7 +750,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="14">
|
<item>
|
||||||
<widget class="QPushButton" name="loggingTabButton">
|
<widget class="QPushButton" name="loggingTabButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Logging</string>
|
<string>Logging</string>
|
||||||
@@ -746,7 +763,7 @@ QRadioButton::indicator:hover {
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="15">
|
<item>
|
||||||
<spacer name="tabButtonsSpacer">
|
<spacer name="tabButtonsSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
@@ -760,7 +777,24 @@ QRadioButton::indicator:hover {
|
|||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<widget class="QStackedWidget" name="stackedWidget">
|
<widget class="QStackedWidget" name="stackedWidget">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -775,6 +809,10 @@ QRadioButton::indicator:hover {
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="bottomLayout">
|
<layout class="QHBoxLayout" name="bottomLayout">
|
||||||
|
|||||||
Reference in New Issue
Block a user