mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
Implement first-run setup wizard for PC with DuckStation-style UI. Includes installation type selection, keys/firmware installation, game directory configuration, and platform-aware path detection for Windows, Linux, and macOS. Signed-off-by: Zephyron <zephyron@citron-emu.org>
117 lines
2.6 KiB
XML
117 lines
2.6 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>
|
|
<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>QListWidget {
|
|
background-color: #2b2b2b;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
QListWidget::item {
|
|
padding: 8px;
|
|
border: none;
|
|
color: #cccccc;
|
|
}
|
|
QListWidget::item:selected {
|
|
background-color: #3d3d3d;
|
|
color: #ffffff;
|
|
}
|
|
QListWidget::item:hover {
|
|
background-color: #353535;
|
|
}</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="contentStack">
|
|
<property name="styleSheet">
|
|
<string>QStackedWidget {
|
|
background-color: #1e1e1e;
|
|
}</string>
|
|
</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>
|