16 lines
914 B
C++
16 lines
914 B
C++
#ifndef __VISITORRECORDTABLEMODEL_H__
|
|
#define __VISITORRECORDTABLEMODEL_H__
|
|
|
|
#include <Wt/WAbstractTableModel.h>
|
|
|
|
class VisitorRecordTableModel : public Wt::WAbstractTableModel {
|
|
public:
|
|
Wt::cpp17::any data(const Wt::WModelIndex &index, Wt::ItemDataRole role = Wt::ItemDataRole::Display) const final;
|
|
int columnCount(const Wt::WModelIndex &parent = Wt::WModelIndex()) const final;
|
|
int rowCount(const Wt::WModelIndex &parent = Wt::WModelIndex()) const final;
|
|
Wt::WFlags<Wt::ItemFlag> flags(const Wt::WModelIndex &index) const final;
|
|
Wt::WFlags<Wt::HeaderFlag> headerFlags(int section, Wt::Orientation orientation = Wt::Orientation::Horizontal) const final;
|
|
Wt::cpp17::any headerData(int section, Wt::Orientation orientation = Wt::Orientation::Horizontal,
|
|
Wt::ItemDataRole role = Wt::ItemDataRole::Display) const final;
|
|
};
|
|
#endif // __VISITORRECORDTABLEMODEL_H__
|