1 #ifndef TreeViewHeader_H
2 #define TreeViewHeader_H
21 class TreeViewContent;
39 QSize minimumSizeHint()
const;
41 void setText(QString text);
44 QSize sizeHint()
const {
45 return minimumSizeHint();
53 void handleFilterCountsChanged(
int visibleTopLevelItemCount,
54 int topLevelItemCount);
62 void mouseReleaseEvent(QMouseEvent *event);
63 void paintEvent(QPaintEvent *event);
68 void paintHeader(QPainter *painter,
int rowheight);
69 void paintProgress(QPainter *painter,
const QRect &rect,
int min,
74 void updateFilterProgress(
int newProgress);
75 void updateFilterProgressRange(
int min,
int max);
76 void updateRebuildProgress(
int newProgress);
77 void updateRebuildProgressRange(
int min,
int max);
82 QString *m_headerText;
84 int m_filterProgressMin;
85 int m_filterProgressMax;
86 int m_rebuildProgress;
87 int m_rebuildProgressMin;
88 int m_rebuildProgressMax;