mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-28 13:43:28 +00:00
- Refactor setup_wizard code (remove 100+ lines of unused code) - Change default update channel from Stable to Nightly - Fix Windows build detection in updater (skip PGO builds) - Remove verbose Wayland logging from Vulkan swapchain Signed-off-by: Zephyron <zephyron@citron-emu.org>
167 lines
3.7 KiB
XML
167 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SetupWizard</class>
|
|
<widget class="QDialog" name="SetupWizard">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>700</width>
|
|
<height>500</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>citron Setup Wizard</string>
|
|
</property>
|
|
<property name="templateStyleSheet" stdset="0">
|
|
<string>QDialog {
|
|
background-color: %%BACKGROUND_COLOR%%;
|
|
}
|
|
|
|
/* Sidebar List */
|
|
QListWidget {
|
|
background-color: %%SECONDARY_BG_COLOR%%;
|
|
border: none;
|
|
}
|
|
QListWidget::item {
|
|
color: %%TEXT_COLOR%%;
|
|
padding: 10px;
|
|
}
|
|
QListWidget::item:selected {
|
|
background-color: %%TERTIARY_BG_COLOR%%;
|
|
font-weight: bold;
|
|
}
|
|
QListWidget::item:hover {
|
|
background-color: %%HOVER_BG_COLOR%%;
|
|
}
|
|
|
|
/* Content Stack & General Widgets */
|
|
QStackedWidget, QGroupBox {
|
|
background-color: %%BACKGROUND_COLOR%%;
|
|
}
|
|
QLabel, QRadioButton, QCheckBox {
|
|
color: %%TEXT_COLOR%%;
|
|
background-color: transparent;
|
|
}
|
|
QLabel[class="wizard-title"] {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
QLabel[class="wizard-status-success"] {
|
|
color: #4caf50;
|
|
}
|
|
QLabel[class="wizard-status-default"] {
|
|
color: %%DISABLED_TEXT_COLOR%%;
|
|
}
|
|
|
|
|
|
/* Buttons */
|
|
QPushButton {
|
|
background-color: %%BUTTON_BG_COLOR%%;
|
|
color: %%TEXT_COLOR%%;
|
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
}
|
|
QPushButton:hover {
|
|
background-color: %%HOVER_BG_COLOR%%;
|
|
}
|
|
QPushButton:disabled {
|
|
background-color: %%SECONDARY_BG_COLOR%%;
|
|
color: %%DISABLED_TEXT_COLOR%%;
|
|
}
|
|
|
|
/* Inputs */
|
|
QLineEdit {
|
|
color: %%TEXT_COLOR%%;
|
|
background-color: %%SECONDARY_BG_COLOR%%;
|
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
|
padding: 5px;
|
|
border-radius: 4px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mainLayout">
|
|
<item>
|
|
<widget class="QListWidget" name="sidebarList">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="contentStack">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="buttonLayout">
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="backButton">
|
|
<property name="text">
|
|
<string>Back</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="nextButton">
|
|
<property name="text">
|
|
<string>Next</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|