qt_demoe/colorwidget/frmcolorwidget.cpp

19 lines
350 B
C++
Raw Normal View History

2021-03-08 01:04:13 +00:00
#include "frmcolorwidget.h"
#include "ui_frmcolorwidget.h"
#include "colorwidget.h"
frmColorWidget::frmColorWidget(QWidget *parent) : QWidget(parent), ui(new Ui::frmColorWidget)
{
ui->setupUi(this);
}
frmColorWidget::~frmColorWidget()
{
delete ui;
}
void frmColorWidget::on_pushButton_clicked()
{
ColorWidget::Instance()->show();
}