X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fgeneraltab.cpp;h=d3b3cf295b183f0355421686c0a36f56a80baa3c;hb=29525b808574d009a74c9af2a84fa32649bbd4d6;hp=8cc7441dde0835f1bee2e39057ca306e46a460cc;hpb=e0a3f430ecbda85e5f0903011bf8ffeb01f10fe0;p=virtualjaguar diff --git a/src/gui/generaltab.cpp b/src/gui/generaltab.cpp index 8cc7441..d3b3cf2 100644 --- a/src/gui/generaltab.cpp +++ b/src/gui/generaltab.cpp @@ -5,7 +5,7 @@ // (C) 2011 Underground Software // See the README and GPLv3 files for licensing and warranty information // -// JLH = James L. Hammons +// JLH = James Hammons // // WHO WHEN WHAT // --- ---------- ------------------------------------------------------------ @@ -16,33 +16,32 @@ GeneralTab::GeneralTab(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("Boot ROM:"); - QLabel * label2 = new QLabel("CD Boot ROM:"); +// (BIOS is built-in now...) +// QLabel * label1 = new QLabel("Boot ROM:"); +// QLabel * label2 = new QLabel("CD Boot ROM:"); QLabel * label3 = new QLabel("EEPROMs:"); QLabel * label4 = new QLabel("Software:"); - edit1 = new QLineEdit(""); - edit2 = new QLineEdit(""); +// edit1 = new QLineEdit(""); +// edit2 = new QLineEdit(""); edit3 = new QLineEdit(""); edit4 = new QLineEdit(""); - edit1->setPlaceholderText("Boot ROM location"); - edit2->setPlaceholderText("CD Boot ROM location"); +// edit1->setPlaceholderText("Boot ROM location"); +// 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(label1); +// layout1->addWidget(label2); layout1->addWidget(label3); layout1->addWidget(label4); QVBoxLayout * layout2 = new QVBoxLayout; - layout2->addWidget(edit1); - layout2->addWidget(edit2); +// layout2->addWidget(edit1); +// layout2->addWidget(edit2); layout2->addWidget(edit3); layout2->addWidget(edit4); @@ -50,7 +49,25 @@ GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent) layout3->addLayout(layout1); layout3->addLayout(layout2); - setLayout(layout3); + QVBoxLayout * layout4 = new QVBoxLayout; + layout4->addLayout(layout3); + + // Checkboxes... + useBIOS = new QCheckBox(tr("Enable Jaguar BIOS")); + useGPU = new QCheckBox(tr("Enable GPU")); + useDSP = new QCheckBox(tr("Enable DSP")); + useFullScreen = new QCheckBox(tr("Start Virtual Jaguar in full screen")); +// useHostAudio = new QCheckBox(tr("Enable audio playback (requires DSP)")); + useUnknownSoftware = new QCheckBox(tr("Show all files in file chooser")); + + layout4->addWidget(useBIOS); + layout4->addWidget(useGPU); + layout4->addWidget(useDSP); + layout4->addWidget(useFullScreen); +// layout4->addWidget(useHostAudio); + layout4->addWidget(useUnknownSoftware); + + setLayout(layout4); } GeneralTab::~GeneralTab()