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

+30
View File
@@ -0,0 +1,30 @@
/**
* @RDE_HEADER@
* Abstract Display Widget is an Abstract class to create Custom Display Widgets for the Custom View
* $Id$
* $HeadURL$
* $Author$
*
* Created by Mike Wille, SLSE, 2016-06-15
*/
#pragma once
#include "lts_data_view_export.h"
#include <QWidget>
class QModelIndex;
namespace LtsDataView
{
class LTSDATAVIEW_EXPORT AbstractDisplayWidget : public QWidget
{
Q_OBJECT
public:
explicit AbstractDisplayWidget(QWidget *parent = nullptr);
virtual bool init(const QModelIndex &idx) = 0;
protected:
QVariant rowData(const QModelIndex &idx, int column, int role = Qt::DisplayRole) const;
};
} // namespace LtsDataView