Reorganization of pgLab project
This commit is contained in:
parent
7300865c77
commit
c71fdc4af7
78 changed files with 204 additions and 148 deletions
|
|
@ -1,30 +0,0 @@
|
|||
#ifndef QUERYPARAMLISTCONTROLLER_H
|
||||
#define QUERYPARAMLISTCONTROLLER_H
|
||||
|
||||
#include <QObject>
|
||||
#include "ParamListModel.h"
|
||||
#include "ParamTypeDelegate.h"
|
||||
#include "Pgsql_Params.h"
|
||||
#include <memory>
|
||||
|
||||
class QTableView;
|
||||
class OpenDatabase;
|
||||
|
||||
class QueryParamListController : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QueryParamListController(QTableView *tv, std::shared_ptr<OpenDatabase> opendb, QWidget *parent);
|
||||
|
||||
Pgsql::Params params() const;
|
||||
bool empty() const;
|
||||
public slots:
|
||||
void on_addParam();
|
||||
void on_removeParam();
|
||||
private:
|
||||
QTableView *paramTableView;
|
||||
std::shared_ptr<OpenDatabase> m_openDatabase;
|
||||
ParamListModel m_paramList;
|
||||
ParamTypeDelegate m_typeDelegate;
|
||||
};
|
||||
|
||||
#endif // QUERYPARAMLISTCONTROLLER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue