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