QtHPConnect/hp_infodialog.cpp
2019-02-10 15:43:00 +02:00

17 lines
375 B
C++

#include "hp_infodialog.h"
#include "ui_hp_infodialog.h"
hp_infoDialog::hp_infoDialog(hp_Information info, QWidget *parent) :
QFrame(parent),
ui(new Ui::hp_infoDialog)
{
ui->setupUi(this);
ui->serialnum->setText(info.serialnum);
ui->appver->setText(info.appver);
ui->oppver->setText(info.osver);
}
hp_infoDialog::~hp_infoDialog()
{
delete ui;
}