Query tab will now show multiple data tabs if it get's multiple results

with tuples.
This commit is contained in:
Eelke Klein 2017-01-25 06:54:21 +01:00
parent 424cbc9e2e
commit b6d986051b
21 changed files with 349 additions and 113 deletions

26
tuplesresultwidget.h Normal file
View file

@ -0,0 +1,26 @@
#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);
private:
Ui::TuplesResultWidget *ui;
std::shared_ptr<QueryResultModel> resultModel;
};
#endif // TUPLESRESULTWIDGET_H