Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+30
@@ -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
|
||||
Reference in new issue
Block a user