35 lines
515 B
C++
35 lines
515 B
C++
#include "mainwindow.h"
|
|
#include "ui_mainwindow.h"
|
|
|
|
MainWindow::MainWindow(QWidget *parent) :
|
|
QMainWindow(parent),
|
|
ui(new Ui::MainWindow)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
QTextBrowser* MainWindow::getConsole()
|
|
{
|
|
return this->ui->monitoringConsole;
|
|
}
|
|
|
|
QSlider* MainWindow::getSwitch()
|
|
{
|
|
return this->ui->connectSwitch;
|
|
}
|
|
|
|
QProgressBar* MainWindow::getLed()
|
|
{
|
|
return this->ui->statusLed;
|
|
}
|
|
|
|
Prompt* MainWindow::getPrompt()
|
|
{
|
|
return this->ui->prompt;
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{
|
|
delete ui;
|
|
}
|