🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
UiTimePoint.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/TimePoint.hpp"
25#include "UiValueEdit.hpp"
26#include <QLineEdit>
27
28AST_NAMESPACE_BEGIN
29
35class AST_GUI_API UiTimePoint : public UiValueEdit
36{
37 Q_OBJECT
38public:
39 explicit UiTimePoint(QWidget* parent = nullptr);
40 ~UiTimePoint() = default;
41 const TimePoint& getTimePoint() const { return timePoint_; }
42 void setTimePoint(const TimePoint& timePoint);
43signals:
44 void timePointChanged(const TimePoint& timePoint);
45private:
46 void updateTimePoint();
47private:
48 TimePoint timePoint_{};
49};
50
53AST_NAMESPACE_END
绝对时间点
定义 TimePoint.hpp:107
定义 UiTimePoint.hpp:36
数值输入框基类
定义 UiValueEdit.hpp:36