forked from fpoussin/qtcreator-doxygen
-
Notifications
You must be signed in to change notification settings - Fork 10
/
doxygenfilesdialog.h
37 lines (28 loc) · 891 Bytes
/
doxygenfilesdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef DOXYGENFILESDIALOG_H
#define DOXYGENFILESDIALOG_H
#include <QDialog>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <projectexplorer/projectnodes.h>
namespace Ui {
class DoxygenFilesDialog;
}
class DoxygenFilesDialog : public QDialog
{
Q_OBJECT
public:
explicit DoxygenFilesDialog(QWidget *parent = 0);
~DoxygenFilesDialog();
uint getFilesList(QStringList *out);
void initFileTree(ProjectExplorer::Node *rootNode);
private:
Ui::DoxygenFilesDialog *ui;
void createLeaf(ProjectExplorer::Node *parentNode, QTreeWidgetItem *parentItem);
uint getFilesList(QTreeWidgetItem* parent, QStringList *out, int count);
void changeCheckState(QTreeWidgetItem* parent, Qt::CheckState state);
private slots:
void checkAll();
void checkNone();
void updateChecks(QTreeWidgetItem* item, int column);
};
#endif // DOXYGENFILESDIALOG_H