]> Shamusworld >> Repos - architektonas/blob - src/baseunittab.cpp
00bcc9b7aca6f787f51aa93262118ab1680a2313
[architektonas] / src / baseunittab.cpp
1 //
2 // baseunittab.cpp: "Base Unit" tab on the settings dialog
3 //
4 // Part of the Architektonas Project
5 // (C) 2011 Underground Software
6 // See the README and GPLv3 files for licensing and warranty information
7 //
8 // JLH = James Hammons <jlhamm@acm.org>
9 //
10 // WHO  WHEN        WHAT
11 // ---  ----------  ------------------------------------------------------------
12 // JLH  08/15/2011  Created this file
13 //
14
15 #include "baseunittab.h"
16
17
18 BaseUnitTab::BaseUnitTab(QWidget * parent/*= 0*/): QWidget(parent)
19 {
20         unitInch = new QRadioButton(tr("Inches"));
21         unitFoot = new QRadioButton(tr("Feet"));
22         unitYard = new QRadioButton(tr("Yards"));
23
24         QVBoxLayout * layout = new QVBoxLayout;
25         layout->addWidget(unitInch);
26         layout->addWidget(unitFoot);
27         layout->addWidget(unitYard);
28         setLayout(layout);
29 }
30
31
32 BaseUnitTab::~BaseUnitTab()
33 {
34 }
35