mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 13:22:04 +08:00
beta3更新
This commit is contained in:
24
outputwindow.cpp
Normal file
24
outputwindow.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "outputwindow.h"
|
||||
#include "ui_outputwindow.h"
|
||||
#include <QDebug>
|
||||
#include <QDesktopWidget>
|
||||
outputwindow::outputwindow(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::outputwindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowTitle("安装详情");
|
||||
QDesktopWidget *desktop = QApplication::desktop();
|
||||
move((desktop->width() - width())/ 2, (desktop->height() - height()) /2);
|
||||
}
|
||||
|
||||
outputwindow::~outputwindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void outputwindow::setoutput(QString output)
|
||||
{
|
||||
qDebug()<<output;
|
||||
ui->textBrowser->setText(output);
|
||||
}
|
||||
Reference in New Issue
Block a user