Type selection for parameters is now sorted and limited to non array and non composite types.

This commit is contained in:
eelke 2017-02-20 06:44:15 +01:00
parent dd19077281
commit 0a809a7288
2 changed files with 15 additions and 5 deletions

View file

@ -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