DAWorkbench
0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DADialogInsertNewColumn.h
1
#ifndef DADIALOGINSERTNEWCOLUMN_H
2
#define DADIALOGINSERTNEWCOLUMN_H
3
4
#include <QDialog>
5
#include "DAGuiAPI.h"
6
#include "numpy/DAPyDType.h"
7
namespace
Ui
8
{
9
class
DADialogInsertNewColumn;
10
}
11
namespace
DA
12
{
13
class
DAGUI_API
DADialogInsertNewColumn
:
public
QDialog
14
{
15
Q_OBJECT
16
17
public
:
18
explicit
DADialogInsertNewColumn
(QWidget* parent =
nullptr
);
19
~DADialogInsertNewColumn
();
20
DAPyDType
getDType()
const
;
21
//是否是填充模式
22
bool
isFullValueMode()
const
;
23
//是否是范围模式
24
bool
isRangeMode()
const
;
25
//获取列名
26
QString getName()
const
;
27
//获取默认值
28
QVariant getDefaultValue()
const
;
29
//获取start值
30
QVariant getStartValue()
const
;
31
//获取stop值
32
QVariant getStopValue()
const
;
33
34
private
:
35
//从字符串获取值
36
QVariant fromString(
const
QString& str,
const
DAPyDType
& dt)
const
;
37
private
slots:
38
//当前类型变化
39
void
onCurrentDtypeChanged(
const
DAPyDType
& dt);
40
41
private
:
42
Ui::DADialogInsertNewColumn* ui;
43
};
44
}
// end of namespace DA
45
#endif
// DADIALOGINSERTNEWCOLUMN_H
DA::DADialogInsertNewColumn
Definition
DADialogInsertNewColumn.h:14
DA::DAPyDType
对numpy.dtype的封装
Definition
DAPyDType.h:37
DA
序列化类都是带异常的,使用中需要处理异常
Definition
AppMainWindow.cpp:44
src
DAGui
Dialog
DADialogInsertNewColumn.h
制作者
1.9.8