X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Falpinetab.cpp;fp=src%2Fgui%2Falpinetab.cpp;h=861141852ac76cf9089ef397674285e0daa1b3a8;hb=786e438a8bcaf738b84ab79733015ea2b1f4bbb9;hp=0000000000000000000000000000000000000000;hpb=2f21d8ee63902b160acbaf4c26caaaa0e23ca62f;p=virtualjaguar diff --git a/src/gui/alpinetab.cpp b/src/gui/alpinetab.cpp new file mode 100644 index 0000000..8611418 --- /dev/null +++ b/src/gui/alpinetab.cpp @@ -0,0 +1,72 @@ +// +// alpinetab.cpp: "Alpine" tab on the settings dialog +// +// Part of the Virtual Jaguar Project +// (C) 2011 Underground Software +// See the README and GPLv3 files for licensing and warranty information +// +// JLH = James L. Hammons +// +// WHO WHEN WHAT +// --- ---------- ------------------------------------------------------------ +// JLH 07/15/2011 Created this file + +#include "alpinetab.h" + + +AlpineTab::AlpineTab(QWidget * parent/*= 0*/): QWidget(parent) +{ +// antialiasChk = new QCheckBox(tr("Use Qt's built-in antialiasing")); + +// I'm thinking we should scan the bios folder for the 5 known BIOSes, and +// just present a radio button to choose between them... + QLabel * label1 = new QLabel("ROM to load:"); +// QLabel * label2 = new QLabel("CD Boot ROM:"); +// QLabel * label3 = new QLabel("EEPROMs:"); +// QLabel * label4 = new QLabel("Software:"); + + edit1 = new QLineEdit(""); +// edit2 = new QLineEdit(""); +// edit3 = new QLineEdit(""); +// edit4 = new QLineEdit(""); + edit1->setPlaceholderText("ROM to load when Virtual Jaguar loads"); +// edit2->setPlaceholderText("CD Boot ROM location"); +// edit3->setPlaceholderText("EEPROM path"); +// edit4->setPlaceholderText("Software path"); + + QVBoxLayout * layout1 = new QVBoxLayout; + layout1->addWidget(label1); +// layout1->addWidget(label2); +// layout1->addWidget(label3); +// layout1->addWidget(label4); + + QVBoxLayout * layout2 = new QVBoxLayout; + layout2->addWidget(edit1); +// layout2->addWidget(edit2); +// layout2->addWidget(edit3); +// layout2->addWidget(edit4); + + QHBoxLayout * layout3 = new QHBoxLayout; + layout3->addLayout(layout1); + layout3->addLayout(layout2); + + QVBoxLayout * layout4 = new QVBoxLayout; + layout4->addLayout(layout3); + + // Checkboxes... + writeROM = new QCheckBox(tr("Allow writes to cartridge ROM")); +// useDSP = new QCheckBox(tr("Enable DSP")); +// useHostAudio = new QCheckBox(tr("Enable audio playback")); +// useUnknownSoftware = new QCheckBox(tr("Allow unknown software in file chooser")); + + layout4->addWidget(writeROM); +// layout4->addWidget(useDSP); +// layout4->addWidget(useHostAudio); +// layout4->addWidget(useUnknownSoftware); + + setLayout(layout4); +} + +AlpineTab::~AlpineTab() +{ +}