3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 05/12/2010 Created this file. :-)
15 #include "selectionwidget.h"
19 SelectionWidget::SelectionWidget(QWidget * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
20 QWidget(parent, flags)
24 ui.lEntities->setText("0");
33 settings.beginGroup("Appearance");
34 fsize = settings.value("StatusBarFontSize", fsize).toInt();
37 ui.lEntities->setFont(QFont("Helvetica", fsize));
38 ui.lLabel->setFont(QFont("Helvetica", fsize));
41 SelectionWidget::~SelectionWidget()
45 void SelectionWidget::setNumber(int n)
49 ui.lEntities->setText(str);