mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-16 23:18:12 +08:00
42 lines
1018 B
C++
42 lines
1018 B
C++
#pragma once
|
|
|
|
#include <qwidget.h>
|
|
#include <qlabel.h>
|
|
#include <qboxlayout.h>
|
|
|
|
#include "pagewidget.h"
|
|
#include "lineeditwidget.h"
|
|
|
|
class AboutPage : public PageWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AboutPage(QWidget* parent = 0);
|
|
~AboutPage();
|
|
|
|
private:
|
|
// Push button icons
|
|
QLabel* _iconButtonLabel = nullptr;
|
|
QWidget* _textButtonWidget = nullptr;
|
|
QHBoxLayout* _textButtonLayout = nullptr;
|
|
QLabel* _textButtonIcon = nullptr;
|
|
QLabel* _textButtonLabel = nullptr;
|
|
|
|
// UI elements
|
|
QVBoxLayout* _titleLayout = nullptr;
|
|
const QFont _titleFont = QFont("DengXian", 26, QFont::ExtraLight);
|
|
QLabel* _titleLabel = nullptr;
|
|
|
|
QWidget* _mainWidget = nullptr;
|
|
QVBoxLayout* _mainLayout = nullptr;
|
|
|
|
LineEditWidget* _authorLabel = nullptr;
|
|
LineEditWidget* _versionLabel = nullptr;
|
|
LineEditWidget* _dateLabel = nullptr;
|
|
|
|
public:
|
|
virtual PushButton* getPageIconButton(QWidget* context) override;
|
|
virtual PushButton* getPageTextButton(QWidget* context) override;
|
|
};
|