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
23
pglab/EditTableWidget.h
Normal file
23
pglab/EditTableWidget.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef EDITTABLEWIDGET_H
|
||||
#define EDITTABLEWIDGET_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <memory>
|
||||
|
||||
class OpenDatabase;
|
||||
|
||||
class EditTableWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EditTableWidget(std::shared_ptr<OpenDatabase> database, QWidget *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
std::shared_ptr<OpenDatabase> m_database;
|
||||
};
|
||||
|
||||
#endif // EDITTABLEWIDGET_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue