Added CollationModel + factory for editing and added to EditTableWidget
This commit is contained in:
parent
f0c1035378
commit
e75b0f1a71
7 changed files with 107 additions and 19 deletions
|
|
@ -1,11 +1,19 @@
|
|||
#ifndef COLLATIONMODELFACTORY_H
|
||||
#ifndef COLLATIONMODELFACTORY_H
|
||||
#define COLLATIONMODELFACTORY_H
|
||||
|
||||
#include "AbstractModelFactory.h"
|
||||
|
||||
class CollationModelFactory
|
||||
{
|
||||
class PgCollationContainer;
|
||||
|
||||
class CollationModelFactory: public AbstractModelFactory {
|
||||
Q_OBJECT
|
||||
public:
|
||||
CollationModelFactory();
|
||||
CollationModelFactory(QObject *parent, std::shared_ptr<const PgCollationContainer> collations);
|
||||
|
||||
virtual QAbstractItemModel* createModel(QObject *parent = nullptr) const override;
|
||||
|
||||
private:
|
||||
std::shared_ptr<const PgCollationContainer> m_collations;
|
||||
};
|
||||
|
||||
#endif // COLLATIONMODELFACTORY_H
|
||||
#endif // COLLATIONMODELFACTORY_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue