Switching to linux for development of pglab.

Switched from qmake to cmake. Code changes to make it compile.
This commit is contained in:
Eelke Klein 2017-08-23 08:10:01 +02:00
parent dd9906dbd8
commit 04723a289b
142 changed files with 124 additions and 83 deletions

View 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