Type selection for parameters is now sorted and limited to non array and non composite types.
This commit is contained in:
parent
dd19077281
commit
0a809a7288
2 changed files with 15 additions and 5 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define TYPESELECTIONITEMMODEL_H
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <vector>
|
||||
|
||||
class PgTypeContainer;
|
||||
|
||||
|
|
@ -19,7 +20,8 @@ public:
|
|||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
private:
|
||||
const PgTypeContainer* m_types;
|
||||
// const PgTypeContainer* m_types;
|
||||
std::vector<QString> m_types;
|
||||
};
|
||||
|
||||
#endif // TYPESELECTIONITEMMODEL_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue