DAWorkbench
0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DADialogDataFrameSort.h
1
#ifndef DADIALOGDATAFRAMESORT_H
2
#define DADIALOGDATAFRAMESORT_H
3
4
#include <QDialog>
5
#include "DAGuiAPI.h"
6
#include "pandas/DAPyDataFrame.h"
7
8
namespace
Ui
9
{
10
class
DADialogDataFrameSort;
11
}
12
13
namespace
DA
14
{
15
class
DAGUI_API
DADialogDataFrameSort
:
public
QDialog
16
{
17
Q_OBJECT
18
19
public
:
20
explicit
DADialogDataFrameSort
(QWidget* parent =
nullptr
);
21
~DADialogDataFrameSort
();
22
23
// 获取选中的dataframe
24
void
setDataframe(
const
DAPyDataFrame
& df);
25
26
//获取排序依据,列名
27
void
setSortBy(
const
int
index);
28
QString getSortBy()
const
;
29
// 获取排序方式,升序or降序
30
bool
getSortType()
const
;
31
32
private
slots:
33
void
onAccepted();
34
35
private
:
36
Ui::DADialogDataFrameSort* ui;
37
};
38
}
39
40
#endif
// DADIALOGDATAFRAMESORT_H
DA::DADialogDataFrameSort
Definition
DADialogDataFrameSort.h:16
DA::DAPyDataFrame
非模板类的DataFrame
Definition
DAPyDataFrame.h:19
DA
序列化类都是带异常的,使用中需要处理异常
Definition
AppMainWindow.cpp:44
src
DAGui
Dialog
DADialogDataFrameSort.h
制作者
1.9.8