33 #ifndef _pqTreeWidget_h 34 #define _pqTreeWidget_h 36 #include "pqWidgetsModule.h" 37 #include <QTreeWidget> 39 class vtkPVXMLElement;
41 class vtkSMPropertyGroup;
52 typedef QTreeWidget Superclass;
59 bool event(QEvent* e);
62 QSize sizeHint()
const;
63 QSize minimumSizeHint()
const;
65 void setMaximumRowCountBeforeScrolling(vtkSMPropertyGroup *smpropertygroup);
66 void setMaximumRowCountBeforeScrolling(vtkSMProperty *smproperty);
67 void setMaximumRowCountBeforeScrolling(vtkPVXMLElement* hints);
69 { this->MaximumRowCountBeforeScrolling = val; }
71 {
return this->MaximumRowCountBeforeScrolling; }
79 void navigatedPastEnd();
82 void doToggle(
int col);
83 void updateCheckState();
84 void invalidateLayout();
87 void updateCheckStateInternal();
91 QPixmap pixmap(Qt::CheckState state,
bool active);
95 virtual QModelIndex moveCursor(CursorAction cursorAction,
96 Qt::KeyboardModifiers modifiers);
100 int itemCount(QTreeWidgetItem* item)
const;
104 #endif // !_pqTreeWidget_h