Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
This commit is contained in:
parent
dd9906dbd8
commit
04723a289b
142 changed files with 124 additions and 83 deletions
27
pglab/tuplesresultwidget.h
Normal file
27
pglab/tuplesresultwidget.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#ifndef TUPLESRESULTWIDGET_H
|
||||
#define TUPLESRESULTWIDGET_H
|
||||
|
||||
#include "queryresultmodel.h"
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class TuplesResultWidget;
|
||||
}
|
||||
|
||||
class TuplesResultWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TuplesResultWidget(QWidget *parent = 0);
|
||||
~TuplesResultWidget();
|
||||
|
||||
void setResult(std::shared_ptr<QueryResultModel> res, float ms);
|
||||
void exportData(const QString &file_name) const;
|
||||
private:
|
||||
Ui::TuplesResultWidget *ui;
|
||||
|
||||
std::shared_ptr<QueryResultModel> resultModel;
|
||||
};
|
||||
|
||||
#endif // TUPLESRESULTWIDGET_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue