Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,44 @@
/**
* @RDE_HEADER@
* List of topics of selected thp
* $Id: tpm_exported_scripts_model.h 53111 2021-03-22 08:21:29Z wille_m $
* $HeadURL: svn://slssvn/TDS/branches/product/iterations/21_03_salted_caramel/Lts/Plugins/TakeHomePackageManager/tpm_exported_scripts_model.h $
* $Author: wille_m $
*
* Created by Mike Wille, SLTE, 2024-02-09
*/
#pragma once
#include <logger.h>
#include <Common2/thp2common_export.h>
#include <Common2Core/tpm_js_parser.h>
#include <LtsWidgets/lts_abstract_table_model.h>
namespace TakeHomePackageManager
{
class THP2COMMON_EXPORT TopicsModel : public LtsWidgets::LtsAbstractTableModel<Topic>
{
Q_OBJECT
public:
enum Columns
{
ColId,
ColChannel,
ColFilter,
ColDescription,
ColType,
ColStart,
ColDuration,
};
explicit TopicsModel(QObject *parent = nullptr);
void addTopic(const Topic &topic);
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
private:
NGL::INGLLogger &m_logger;
};
}