Browse Source

Move column enum public

basic-view
Ali Hatami Tajik 6 months ago
parent
commit
936d506780
  1. 26
      gui/viewmodel/table/LogTableModel.h

26
gui/viewmodel/table/LogTableModel.h

@ -15,6 +15,19 @@ class LogTableModel : public QAbstractTableModel
Q_OBJECT
public:
enum ELogColumn : int
{
id,
level,
timestamp,
file,
func,
lineno,
msg,
scope,
threadId,
};
LogTableModel(LogWarehouse_ptr warehouse);
~LogTableModel() override;
@ -29,19 +42,6 @@ public:
int role = Qt::DisplayRole) const override;
private:
enum ELogColumn : int
{
id,
level,
timestamp,
file,
func,
lineno,
msg,
scope,
threadId,
};
QMap<int, QString> _columnMap;
LogWarehouse_ptr _warehouse;

Loading…
Cancel
Save