Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkTableItemThumbnailDelegate.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkTableItemThumbnailDelegate_h
14 #define QmitkTableItemThumbnailDelegate_h
15 
16 #include <QStyledItemDelegate>
17 
18 /*
19 * @brief The QmitkTableItemThumbnailDelegate is a subclass of the QmitkAbstractSemanticRelationsStorageModel
20 */
21 class QmitkTableItemThumbnailDelegate : public QStyledItemDelegate
22 {
23  Q_OBJECT
24 
25 public:
26 
27  QmitkTableItemThumbnailDelegate(QObject* parent = nullptr);
28 
29  void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
30 };
31 
32 #endif
QmitkTableItemThumbnailDelegate::QmitkTableItemThumbnailDelegate
QmitkTableItemThumbnailDelegate(QObject *parent=nullptr)
QmitkTableItemThumbnailDelegate
Definition: QmitkTableItemThumbnailDelegate.h:21
QmitkTableItemThumbnailDelegate::paint
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override