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
8namespace Ui
9{
10class DADialogDataFrameSort;
11}
12
13namespace DA
14{
15class DAGUI_API DADialogDataFrameSort : public QDialog
16{
17 Q_OBJECT
18
19public:
20 explicit DADialogDataFrameSort(QWidget* parent = nullptr);
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
32private slots:
33 void onAccepted();
34
35private:
36 Ui::DADialogDataFrameSort* ui;
37};
38}
39
40#endif // DADIALOGDATAFRAMESORT_H
Definition DADialogDataFrameSort.h:16
非模板类的DataFrame
Definition DAPyDataFrame.h:19
序列化类都是带异常的,使用中需要处理异常
Definition AppMainWindow.cpp:44