CustomWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include <QTreeWidgetItem>
4#include <QWidget>
5
6namespace armarx
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
void elemChanged(QTreeWidgetItem *elem, int col)
virtual void setSupressSignals(bool doSupress)
static CustomWidget * DynamicCastAndCheck(QWidget *)
QTreeWidgetItem * overlayingItem
CustomWidget(QTreeWidgetItem *overlayingItem)
static CustomWidget * DynamicCast(QWidget *)
This file offers overloads of toIce() and fromIce() functions for STL container types.