12345678910111213141516171819202122232425262728293031323334353637 |
- #include "OriginalWnd.h"
- #include "ui_OriginalWnd.h"
- OriginalWnd::OriginalWnd(QWidget *parent)
- : QMainWindow(parent)
- , ui(new Ui::OriginalWnd)
- {
- ui->setupUi(this);
- initForm();
- }
- OriginalWnd::~OriginalWnd()
- {
- delete ui;
- }
- void OriginalWnd::initForm()
- {
- ui->toolButton->setIcon(QIcon(":/images/light/stop.png"));
- ui->toolButton_2->setIcon(QIcon(":/images/light/start.png"));
- ui->toolButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
- ui->toolButton_2->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
- ui->label_6->setPixmap(QPixmap(":/images/light/user.png").scaled(20, 20, Qt::KeepAspectRatio));
- }
- void OriginalWnd::on_pushButton_19_clicked()
- {
- baseDisplay_wgt = new BaseDisplay_wgt(ui->widget_2);
- baseDisplay_wgt->move(10,70);
- baseDisplay_wgt->show();
- }
|