YSTest: About.h 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

About.h
浏览该文件的文档.
1 /*
2 © 2012-2013, 2015-2016 FrankHB.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
28 #ifndef INC_YReader_About_h_
29 #define INC_YReader_About_h_ 1
30
31 #include "Shells.h"
32
33 namespace YReader
34 {
35
40 class AboutPanel : public DialogPanel
41 {
42 public:
44 enum class Command
45 {
46 SystemInfo
47 };
49 GEvent<void(Command)> OnCommand{};
50
51 protected:
53 DynamicWidget dynWgts;
54
55 public:
56 AboutPanel();
61 ~AboutPanel() override;
62 };
63
64
69 class SystemInformationPanel : public DialogPanel
70 {
71 private:
72 TreeView view;
74 Label lbl_title;
75
76 public:
77 SystemInformationPanel();
79 ~SystemInformationPanel() override;
80
82 void
83 UpdateContents();
84 };
85
86 } // namespace YReader;
87
88 #endif
89
YSLib::UI::DynamicWidget
动态部件。
Definition: Loader.h:279
YSLib::GEvent< void(Command)>
YReader::SystemInformationPanel
系统信息面板。
Definition: About.h:69
YSLib::UI::DialogPanel
对话面板。
Definition: UIContainerEx.h:78
YReader
Definition: About.h:33
YReader::AboutPanel::Command::SystemInfo
YReader::AboutPanel::~AboutPanel
~AboutPanel() override
虚析构：类定义外默认实现。
YReader::SystemInformationPanel::UpdateContents
void UpdateContents()
更新内容。
YReader::AboutPanel::OnCommand
GEvent< void(Command)> OnCommand
Definition: About.h:49
YReader::SystemInformationPanel::view
TreeView view
Definition: About.h:72
YReader::SystemInformationPanel::lbl_title
Label lbl_title
Definition: About.h:74
YReader::AboutPanel::AboutPanel
AboutPanel()
Definition: About.cpp:53
YReader::AboutPanel::Command
Command
Definition: About.h:44
Shells.h
Shell 框架逻辑。
YReader::SystemInformationPanel::SystemInformationPanel
SystemInformationPanel()
YSLib::UI::TreeView
带滚动条的树形视图。
Definition: TreeView.h:219
YReader::SystemInformationPanel::~SystemInformationPanel
~SystemInformationPanel() override
虚析构：类定义外默认实现。
YReader::AboutPanel::dynWgts
DynamicWidget dynWgts
Definition: About.h:53
YReader::AboutPanel
关于窗体。
Definition: About.h:40