#include "iconhint.h" #include "ui_iconhint.h" #include IconHint::IconHint(QWidget *parent) : QWidget(parent), ui(new Ui::IconHint) { setObjectName("hint"); ui->setupUi(this); show(); } void IconHint::setTitle(QString title) { ui->title->setText(title); } void IconHint::setText(QString text) { ui->text->setText(text); } IconHint::~IconHint() { delete ui; }