mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2025-02-10 17:30:41 +00:00
25 lines
453 B
C++
25 lines
453 B
C++
#include "applesoftfileviewer.h"
|
|
#include "ui_applesoftfileviewer.h"
|
|
|
|
ApplesoftFileViewer::ApplesoftFileViewer(QWidget *parent) :
|
|
QWidget(parent),
|
|
ui(new Ui::ApplesoftFileViewer)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
ApplesoftFileViewer::~ApplesoftFileViewer()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void ApplesoftFileViewer::setData(QByteArray data)
|
|
{
|
|
ui->textArea->setText(data);
|
|
}
|
|
|
|
void ApplesoftFileViewer::setText(QString text)
|
|
{
|
|
ui->textArea->setHtml(text);
|
|
}
|