20 lines
476 B
C++
20 lines
476 B
C++
|
#include "main.h"
|
||
|
#include "main_window.h"
|
||
|
#include <QMainWindow>
|
||
|
#include <QWindow>
|
||
|
#include <QGuiApplication>
|
||
|
#include <QApplication>
|
||
|
std::string QtUIBackend::get_id() {
|
||
|
return "qt";
|
||
|
}
|
||
|
std::string QtUIBackend::get_name() {
|
||
|
return "QT";
|
||
|
}
|
||
|
int QtUIBackend::run(std::vector<std::string> args, int argc, char **argv) {
|
||
|
UIBackend::run(args, argc, argv);
|
||
|
QApplication app(argc, argv);
|
||
|
LooperWindow window(this->playback);
|
||
|
window.show();
|
||
|
return app.exec();
|
||
|
}
|