QtHPConnect/hp_infodialog.cpp

18 lines
375 B
C++
Raw Normal View History

2019-02-10 14:32:15 +01:00
#include "hp_infodialog.h"
#include "ui_hp_infodialog.h"
2019-02-10 14:43:00 +01:00
hp_infoDialog::hp_infoDialog(hp_Information info, QWidget *parent) :
2019-02-10 14:32:15 +01:00
QFrame(parent),
ui(new Ui::hp_infoDialog)
{
ui->setupUi(this);
2019-02-10 14:43:00 +01:00
ui->serialnum->setText(info.serialnum);
ui->appver->setText(info.appver);
ui->oppver->setText(info.osver);
2019-02-10 14:32:15 +01:00
}
hp_infoDialog::~hp_infoDialog()
{
delete ui;
}