20 lines
456 B
C++
20 lines
456 B
C++
#include "mainwindow.h"
|
|
#include "./ui_mainwindow.h"
|
|
|
|
#include "../../libs/GenericCore/genericcore.h"
|
|
|
|
MainWindow::MainWindow(QWidget* parent)
|
|
: QMainWindow(parent)
|
|
, ui(new Ui::MainWindow) {
|
|
ui->setupUi(this);
|
|
|
|
m_core = std::make_shared<GenericCore>();
|
|
}
|
|
|
|
MainWindow::~MainWindow() { delete ui; }
|
|
|
|
void MainWindow::on_pushButton_clicked() {
|
|
const QString prefix("Backend provided by: ");
|
|
ui->label->setText(prefix + m_core->toString());
|
|
}
|