🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
UiEventDetectorEditor.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include <QStackedWidget>
25
26
AST_NAMESPACE_BEGIN
27
28
class
EventDetector;
29
class
UiEventDetector;
30
32
class
AST_GUI_API
UiEventDetectorEditor
:
public
QStackedWidget
33
{
34
Q_OBJECT
35
public
:
36
explicit
UiEventDetectorEditor
(QWidget* parent =
nullptr
);
37
~UiEventDetectorEditor
()
override
;
38
39
void
setDetector(
EventDetector
* det);
40
EventDetector
* getDetector()
const
;
41
void
clear();
42
43
signals:
44
void
detectorChanged(
EventDetector
* det);
45
46
private
:
47
void
setupUi();
48
49
UiEventDetector
* basePage_ =
nullptr
;
50
int
baseIdx_ = -1;
51
};
52
53
AST_NAMESPACE_END
ast::EventDetector
事件检测基类 事件检测基类,用于检测事件是否发生。 参考orekit的EventDetector类
定义
EventDetector.hpp:39
ast::UiEventDetectorEditor
事件检测器编辑器 — 根据 RTTI 类型切换编辑页面
定义
UiEventDetectorEditor.hpp:33
ast::UiEventDetector
定义
UiEventDetector.hpp:38
src
AstGUI
Propagator
UiEventDetectorEditor.hpp
制作者
1.12.0