Files
BloomPatched/src/Insight/UserInterfaces/InsightWindow/AboutWindow.hpp
Nav 6edfb7376a Tidied structure of all classes within the entire code base
Also some other small bits of tidying
2021-10-31 11:36:28 +00:00

30 lines
623 B
C++

#pragma once
#include <QtCore>
#include <QMainWindow>
#include <QtUiTools/QtUiTools>
#include <memory>
namespace Bloom
{
class AboutWindow: public QObject
{
Q_OBJECT
public:
explicit AboutWindow(QWidget* parent);
void show() {
if (this->windowWidget != nullptr) {
this->windowWidget->move(
this->windowWidget->parentWidget()->geometry().center() - this->windowWidget->rect().center()
);
this->windowWidget->show();
}
}
private:
QWidget* windowWidget = nullptr;
};
}