mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Add the Amiga to Qt's UI.
This commit is contained in:
parent
1c3935eb40
commit
849e48f519
@ -952,6 +952,7 @@ void MainWindow::setButtonPressed(int index, bool isPressed) {
|
||||
// MARK: - New Machine Creation
|
||||
|
||||
#include "../../Analyser/Static/Acorn/Target.hpp"
|
||||
#include "../../Analyser/Static/Amiga/Target.hpp"
|
||||
#include "../../Analyser/Static/AmstradCPC/Target.hpp"
|
||||
#include "../../Analyser/Static/AppleII/Target.hpp"
|
||||
#include "../../Analyser/Static/AppleIIgs/Target.hpp"
|
||||
@ -973,6 +974,7 @@ void MainWindow::startMachine() {
|
||||
return; \
|
||||
}
|
||||
|
||||
TEST(amiga);
|
||||
TEST(appleII);
|
||||
TEST(appleIIgs);
|
||||
TEST(amstradCPC);
|
||||
@ -1010,6 +1012,15 @@ void MainWindow::start_appleII() {
|
||||
launchTarget(std::move(target));
|
||||
}
|
||||
|
||||
void MainWindow::start_amiga() {
|
||||
using Target = Analyser::Static::Amiga::Target;
|
||||
auto target = std::make_unique<Target>();
|
||||
|
||||
/* There are no options yet for an Amiga. */
|
||||
|
||||
launchTarget(std::move(target));
|
||||
}
|
||||
|
||||
void MainWindow::start_appleIIgs() {
|
||||
using Target = Analyser::Static::AppleIIgs::Target;
|
||||
auto target = std::make_unique<Target>();
|
||||
|
@ -86,6 +86,7 @@ class MainWindow : public QMainWindow, public Outputs::Speaker::Speaker::Delegat
|
||||
void updateStatusBarText();
|
||||
|
||||
private:
|
||||
void start_amiga();
|
||||
void start_appleII();
|
||||
void start_appleIIgs();
|
||||
void start_amstradCPC();
|
||||
|
@ -27,8 +27,22 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="machineSelectionTabs">
|
||||
<property name="currentIndex">
|
||||
<number>5</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="amigaTab">
|
||||
<attribute name="title">
|
||||
<string>Amiga</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="amigaLayout">
|
||||
<item alignment="Qt::AlignTop">
|
||||
<widget class="QLabel" name="amigaLabel">
|
||||
<property name="text">
|
||||
<string>At present only a 1mb Amiga 500 is supported.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="appleIITab">
|
||||
<attribute name="title">
|
||||
<string>Apple II</string>
|
||||
@ -1011,7 +1025,7 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="plainText">
|
||||
<string>Clock Signal requires you to provide images of the system ROMs for this machine. They will be stored permanently; you need do this only once.
|
||||
<string>Clock Signal requires you to provide images of the system ROMs for this machine. They will be stored permanently; you need do this only once.
|
||||
|
||||
Please drag and drop over this window</string>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user