🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
UiInteger.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "UiValueEdit.hpp"
25
26AST_NAMESPACE_BEGIN
27
35class AST_GUI_API UiInteger: public UiValueEdit
36{
37 Q_OBJECT
38
39public:
40 UiInteger(QWidget* parent = nullptr);
41
44 void setValue(int value);
45
48 int value() const;
49
50signals:
51 void valueChanged(int value);
52private slots:
53 void updateValue();
54private:
55 int currentValue_{0};
56};
57
60AST_NAMESPACE_END
整数输入框
定义 UiInteger.hpp:36
数值输入框基类
定义 UiValueEdit.hpp:36