Skip to content

Commit 12579fd

Browse files
committed
Added SNES Classic prerequis in the first time dialog
1 parent f91fbcf commit 12579fd

File tree

3 files changed

+84
-3
lines changed

3 files changed

+84
-3
lines changed

firsttimedialog.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ void FirstTimeDialog::on_versionsCheckBox_toggled(bool checked)
4242
{
4343
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(checked);
4444
}
45+
46+
void FirstTimeDialog::on_classicCheckBox_toggled(bool checked)
47+
{
48+
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(checked);
49+
}

firsttimedialog.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ private slots:
2323

2424
void on_versionsCheckBox_toggled(bool checked);
2525

26+
void on_classicCheckBox_toggled(bool checked);
27+
2628
private:
2729
Ui::FirstTimeDialog *ui;
2830
bool pathChanged;

firsttimedialog.ui

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>408</width>
10-
<height>330</height>
9+
<width>484</width>
10+
<height>397</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -20,7 +20,7 @@
2020
<item>
2121
<widget class="QLabel" name="label">
2222
<property name="text">
23-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;Welcome to savestate2snes first launch dialog&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
23+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;Welcome to Savestate2Snes first launch dialog&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2424
</property>
2525
<property name="alignment">
2626
<set>Qt::AlignCenter</set>
@@ -63,6 +63,16 @@
6363
</property>
6464
</spacer>
6565
</item>
66+
<item>
67+
<widget class="QLabel" name="label_5">
68+
<property name="text">
69+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Regular console&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
70+
</property>
71+
<property name="alignment">
72+
<set>Qt::AlignCenter</set>
73+
</property>
74+
</widget>
75+
</item>
6676
<item>
6777
<layout class="QHBoxLayout" name="horizontalLayout">
6878
<item>
@@ -113,6 +123,63 @@
113123
</item>
114124
</layout>
115125
</item>
126+
<item>
127+
<widget class="QLabel" name="label_6">
128+
<property name="text">
129+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;SNES Classic&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
130+
</property>
131+
<property name="alignment">
132+
<set>Qt::AlignCenter</set>
133+
</property>
134+
</widget>
135+
</item>
136+
<item>
137+
<layout class="QHBoxLayout" name="horizontalLayout_3">
138+
<item>
139+
<spacer name="horizontalSpacer_5">
140+
<property name="orientation">
141+
<enum>Qt::Horizontal</enum>
142+
</property>
143+
<property name="sizeHint" stdset="0">
144+
<size>
145+
<width>40</width>
146+
<height>20</height>
147+
</size>
148+
</property>
149+
</spacer>
150+
</item>
151+
<item>
152+
<widget class="QCheckBox" name="classicCheckBox">
153+
<property name="text">
154+
<string/>
155+
</property>
156+
</widget>
157+
</item>
158+
<item>
159+
<widget class="QLabel" name="label_7">
160+
<property name="text">
161+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;I have hacked my SNES Classic with Hakchi2 CE&lt;br/&gt;Removed the CloverShell Daemon module and installed the serverstuff module.&lt;br/&gt;You can find the serverstuff.hmod file in SaveState2Snes directory&lt;br/&gt;You can find Hakchi2 CE at &lt;a href=&quot;https://github.com/TeamShinkansen/hakchi2/releases&quot;&gt;Hakchi2CE last release&lt;/a&gt; &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
162+
</property>
163+
<property name="wordWrap">
164+
<bool>false</bool>
165+
</property>
166+
</widget>
167+
</item>
168+
<item>
169+
<spacer name="horizontalSpacer_6">
170+
<property name="orientation">
171+
<enum>Qt::Horizontal</enum>
172+
</property>
173+
<property name="sizeHint" stdset="0">
174+
<size>
175+
<width>40</width>
176+
<height>20</height>
177+
</size>
178+
</property>
179+
</spacer>
180+
</item>
181+
</layout>
182+
</item>
116183
<item>
117184
<spacer name="verticalSpacer_2">
118185
<property name="orientation">
@@ -126,6 +193,13 @@
126193
</property>
127194
</spacer>
128195
</item>
196+
<item>
197+
<widget class="Line" name="line">
198+
<property name="orientation">
199+
<enum>Qt::Horizontal</enum>
200+
</property>
201+
</widget>
202+
</item>
129203
<item>
130204
<widget class="QLabel" name="label_3">
131205
<property name="text">

0 commit comments

Comments
 (0)