qt_demoe/widget/screenwidget/frmscreenwidget.cpp

19 lines
370 B
C++
Raw Normal View History

2021-03-08 01:04:13 +00:00
#include "frmscreenwidget.h"
#include "ui_frmscreenwidget.h"
#include "screenwidget.h"
frmScreenWidget::frmScreenWidget(QWidget *parent) : QWidget(parent), ui(new Ui::frmScreenWidget)
{
ui->setupUi(this);
}
frmScreenWidget::~frmScreenWidget()
{
delete ui;
}
void frmScreenWidget::on_pushButton_clicked()
{
ScreenWidget::Instance()->showFullScreen();
}