1 #ifndef STATISTICSDIALOG_H
2 #define STATISTICSDIALOG_H
12 namespace DB
{ class ImageSearchInfo
; }
13 namespace MainWindow
{
15 class StatisticsDialog
:public KDialog
20 StatisticsDialog( QWidget
* parent
);
21 OVERRIDE QSize
sizeHint() const;
25 QTreeWidgetItem
* addRow( const QString
& title
, int noOfTags
, int tagCount
, int imageCount
, QTreeWidgetItem
* parent
);
26 void highlightTotalRow( QTreeWidgetItem
* item
);
27 QGroupBox
* createAnnotatedGroupBox();
28 void populateSubTree( const DB::ImageSearchInfo
& info
, int imageCount
, QTreeWidgetItem
* top
);
31 void categoryChanged(int);
35 QTreeWidget
* m_treeWidget
;
36 QComboBox
* m_category
;
39 QGridLayout
* m_boxLayout
;
44 #endif /* STATISTICSDIALOG_H */