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,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "Cevo/FormBase.h"
|
||||
#include "Cevo/TestCase.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class FormTest;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Cevo {
|
||||
|
||||
// Equivalent of FormTest.pas's TFormTest.
|
||||
class FormTest : public FormBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FormTest(QWidget *parent = nullptr);
|
||||
~FormTest() override;
|
||||
|
||||
TestCase *testCase() const { return m_testCase; }
|
||||
void setTestCase(TestCase *value) { m_testCase = value; }
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void onRunClicked();
|
||||
|
||||
private:
|
||||
Ui::FormTest *ui;
|
||||
TestCase *m_testCase = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Cevo
|
||||
Reference in new issue
Block a user