CustomWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include <QTreeWidgetItem>
4#include <QWidget>
5
7{
8
9 class CustomWidget : public QWidget
10 {
11 Q_OBJECT
12
13 public:
14 CustomWidget(QTreeWidgetItem* overlayingItem);
15 static CustomWidget* DynamicCast(QWidget*);
16 static CustomWidget* DynamicCastAndCheck(QWidget*);
17
18 virtual void setSupressSignals(bool doSupress);
19
20 protected:
21 QTreeWidgetItem* overlayingItem;
22
23 signals:
24 void elemChanged(QTreeWidgetItem* elem, int col);
25 };
26} // namespace armarx::skills::gui
void elemChanged(QTreeWidgetItem *elem, int col)
virtual void setSupressSignals(bool doSupress)
static CustomWidget * DynamicCastAndCheck(QWidget *)
CustomWidget(QTreeWidgetItem *overlayingItem)
static CustomWidget * DynamicCast(QWidget *)