Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e90b39bebb
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.625 kB
#include "FactoryWidget.h"
#include "ui_FactoryWidget.h"
#include "Device.h"
#include "NumpadDialog.h"
#include "RootController.h"
FactoryWidget::FactoryWidget(Device *device, QWidget *parent)
: QWidget(parent),
m_device(device),
m_serialNumpad(new NumpadDialog(tr("Serial Number"), NumpadDialog::Integer)),
ui(new Ui::FactoryWidget)
{
ui->setupUi(this);
ui->serialNumber->setInputProvider(m_serialNumpad);
connect(ui->confirm, SIGNAL(clicked()), SLOT(confirm()));
}
FactoryWidget::~FactoryWidget()
{
delete m_serialNumpad;
delete ui;
}
void FactoryWidget::confirm()
{
RootController::ref().dismissWidget();
}
Jump to Line
Something went wrong with that request. Please try again.