SelectionEditorFactory + ItemModel + ItemModelFactory combination is working
in new EditTableWidget (EditTableWidget is very much WIP)
This commit is contained in:
parent
e44f73166f
commit
742fd0a4d3
19 changed files with 419 additions and 80 deletions
|
|
@ -1,20 +0,0 @@
|
|||
#ifndef TYPESELECTIONITEMMODELFACTORY_H
|
||||
#define TYPESELECTIONITEMMODELFACTORY_H
|
||||
|
||||
#include "AbstractModelFactory.h"
|
||||
|
||||
class PgTypeContainer;
|
||||
void setTypeList();
|
||||
|
||||
class TypeSelectionItemModelFactory: public AbstractModelFactory {
|
||||
Q_OBJECT
|
||||
public:
|
||||
TypeSelectionItemModelFactory(QObject *parent, std::shared_ptr<const PgTypeContainer> types);
|
||||
|
||||
virtual QAbstractItemModel* createModel(QObject *parent = nullptr) const override;
|
||||
|
||||
private:
|
||||
std::shared_ptr<const PgTypeContainer> m_types;
|
||||
};
|
||||
|
||||
#endif // TYPESELECTIONITEMMODELFACTORY_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue