initial port for Cevo game in C++ (libs)
This commit is contained in:
commit
8436242032
375 files changed
+46282
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
#include "Cevo/ApplicationInfo.h"
|
||||
#include "Cevo/FormBase.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class FormAbout;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Cevo {
|
||||
|
||||
// Equivalent of FormAbout.pas's TFormAbout.
|
||||
class FormAbout : public FormBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FormAbout(QWidget *parent = nullptr);
|
||||
~FormAbout() override;
|
||||
|
||||
const ApplicationInfo *applicationInfo() const { return m_applicationInfo; }
|
||||
void setApplicationInfo(const ApplicationInfo *value) { m_applicationInfo = value; }
|
||||
|
||||
void updateInterface();
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void onHomePageClicked();
|
||||
|
||||
private:
|
||||
Ui::FormAbout *ui;
|
||||
const ApplicationInfo *m_applicationInfo = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Cevo
|
||||
Reference in new issue
Block a user