Skip to content

Commit

Permalink
Added SNES Classic prerequis in the first time dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarsnik committed Feb 23, 2019
1 parent f91fbcf commit 12579fd
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 3 deletions.
5 changes: 5 additions & 0 deletions firsttimedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ void FirstTimeDialog::on_versionsCheckBox_toggled(bool checked)
{
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(checked);
}

void FirstTimeDialog::on_classicCheckBox_toggled(bool checked)
{
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(checked);
}
2 changes: 2 additions & 0 deletions firsttimedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ private slots:

void on_versionsCheckBox_toggled(bool checked);

void on_classicCheckBox_toggled(bool checked);

private:
Ui::FirstTimeDialog *ui;
bool pathChanged;
Expand Down
80 changes: 77 additions & 3 deletions firsttimedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>408</width>
<height>330</height>
<width>484</width>
<height>397</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -20,7 +20,7 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<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>
<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>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
Expand Down Expand Up @@ -63,6 +63,16 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<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>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
Expand Down Expand Up @@ -113,6 +123,63 @@
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<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>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_5">
<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="QCheckBox" name="classicCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<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>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
Expand All @@ -126,6 +193,13 @@
</property>
</spacer>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
Expand Down

0 comments on commit 12579fd

Please sign in to comment.