add project actions Clean and Rebuild
now watch for all directories and update tree immediately
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <extensionsystem/iplugin.h>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QFileSystemModel>
|
||||
#include <QFileSystemWatcher>
|
||||
#include <QElapsedTimer>
|
||||
#include <QMenu>
|
||||
|
||||
@@ -45,14 +46,17 @@ protected:
|
||||
FilterDialog filter_dialog;
|
||||
FilterDialog::Filter cur_filter;
|
||||
QElapsedTimer tm;
|
||||
QFileSystemWatcher fs_watcher;
|
||||
QTreeWidgetItem * item_target;
|
||||
|
||||
public slots:
|
||||
void projectsChanged();
|
||||
void filterClicked();
|
||||
|
||||
private slots:
|
||||
void fileChanged();
|
||||
void currentFileChanged();
|
||||
void startupProjectChanged();
|
||||
void directoryChanged(const QString & path);
|
||||
|
||||
void on_tree_itemDoubleClicked(QTreeWidgetItem * item, int );
|
||||
void on_lineFilter_textChanged(const QString &);
|
||||
@@ -66,6 +70,8 @@ private slots:
|
||||
void on_actionCopy_path_triggered();
|
||||
void on_actionSet_as_startup_triggered();
|
||||
void on_actionBuild_triggered();
|
||||
void on_actionRebuild_triggered();
|
||||
void on_actionClean_triggered();
|
||||
void on_actionRun_triggered();
|
||||
void on_actionClose_project_triggered();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user