mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-06-24 05:29:31 +00:00
30 lines
597 B
C++
30 lines
597 B
C++
#include "LocationInfoDialog.h"
|
|
#include "ui_LocationInfoDialog.h"
|
|
|
|
LocationInfoDialog::LocationInfoDialog(QWidget *parent) :
|
|
QDialog(parent, Qt::CustomizeWindowHint | Qt::WindowTitleHint ),
|
|
ui(new Ui::LocationInfoDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
LocationInfoDialog::~LocationInfoDialog()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void LocationInfoDialog::setInfoLabelString(QString label)
|
|
{
|
|
ui->infoLabel->setText(label);
|
|
}
|
|
|
|
quint16 LocationInfoDialog::getAddress()
|
|
{
|
|
return ui->addressEdit->text().toInt(Q_NULLPTR,16);
|
|
}
|
|
|
|
QString LocationInfoDialog::getInfo()
|
|
{
|
|
return ui->infoEdit->text();
|
|
}
|