Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* ExerciseManangement - Exercise Overview Dialog Model
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_abstract_table_model.h>
|
||||
|
||||
|
||||
namespace DeveloperTools
|
||||
{
|
||||
struct DebugFlag
|
||||
{
|
||||
public:
|
||||
QString name;
|
||||
QVariant value;
|
||||
};
|
||||
|
||||
class DebugFlagsDialogModel : public LtsWidgets::LtsAbstractTableModel<DebugFlag>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum Columns
|
||||
{
|
||||
Name,
|
||||
Value,
|
||||
};
|
||||
|
||||
explicit DebugFlagsDialogModel(QObject *parent = nullptr);
|
||||
|
||||
QVariant data(const QModelIndex &, int) const override final;
|
||||
void refresh();
|
||||
|
||||
private:
|
||||
QVector<DebugFlag> m_debugFlags;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user