]> Shamusworld >> Repos - wozmaker/blobdiff - src/settingsdialog.cpp
Add "settings" dialog, fixes to work with MXE cross-compilation.
[wozmaker] / src / settingsdialog.cpp
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp
new file mode 100644 (file)
index 0000000..3321f30
--- /dev/null
@@ -0,0 +1,44 @@
+//
+// settingsdialog.cpp: Dialog for changing Architektonas settings
+//
+// Part of the Architektonas Project
+// (C) 2011 Underground Software
+// See the README and GPLv3 files for licensing and warranty information
+//
+// JLH = James Hammons <jlhamm@acm.org>
+//
+// WHO  WHEN        WHAT
+// ---  ----------  ------------------------------------------------------------
+// JLH  06/04/2011  Created this file
+
+#include "settingsdialog.h"
+//#include "baseunittab.h"
+//#include "generaltab.h"
+
+
+SettingsDialog::SettingsDialog(QWidget * parent/*= 0*/): QDialog(parent)
+{
+//     tabWidget = new QTabWidget;
+//     generalTab = new GeneralTab(this);
+//     baseunitTab = new BaseUnitTab(this);
+//     tabWidget->addTab(generalTab, tr("General"));
+//     tabWidget->addTab(baseunitTab, tr("Base Unit"));
+
+       buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
+
+       connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
+       connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
+
+       QVBoxLayout * mainLayout = new QVBoxLayout;
+//     mainLayout->addWidget(tabWidget);
+       mainLayout->addWidget(buttonBox);
+       setLayout(mainLayout);
+
+       setWindowTitle(tr("WOZ Maker Disk Settings"));
+}
+
+
+SettingsDialog::~SettingsDialog()
+{
+}
+