12 #ifndef DTTREEWIDGET_H_
13 #define DTTREEWIDGET_H_
18 #include <QtGui/QTreeWidget>
19 #include <QtGui/QKeyEvent>
42 return QTreeWidget::indexFromItem(item, column);
55 void setAllowEmptySelection(
bool);
58 bool allowEmptySelection()
const;
70 void contentsMoving(
int,
int);
75 virtual void mousePressEvent(QMouseEvent *event);
78 virtual void mouseReleaseEvent(QMouseEvent *event);
81 virtual void scrollContentsBy(
int,
int);
84 virtual QSize sizeHint()
const;
87 virtual QItemSelectionModel::SelectionFlags selectionCommand(
const QModelIndex &index,
88 const QEvent *event = 0)
const;
91 virtual QItemSelectionModel::SelectionFlags selectionBehaviorFlags()
const;
109 #endif //OverlayListView_H