12345678910111213141516171819202122232425262728 |
- #include "iconhint.h"
- #include "ui_iconhint.h"
- #include <QDebug>
- 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;
- }
|