41 #ifndef __OPENFLUID_UIWARESDEV_WARESRCEXPLORERMODEL_HPP__
42 #define __OPENFLUID_UIWARESDEV_WARESRCEXPLORERMODEL_HPP__
45 #include <QFileSystemModel>
46 #include <QFileSystemWatcher>
53 namespace openfluid {
namespace ui {
namespace waresdev {
63 void onGitIndexFileChanged(
const QString& Path);
65 void onGitDirObjectsChanged(
const QString& Path);
71 QMap<QString, QString> m_UserIcons;
80 QMap<QString, openfluid::waresdev::WareSrcManager::PathInfo> m_PathInfos;
82 std::map<openfluid::utils::GitProxy::FileStatus, QString> m_IconByGitStatus =
93 QMap<QString, QString> m_GitBranchByWarePath;
95 QMap<QString, QString> m_GitIconByWareFilePath;
97 QList<QString> m_GitDirties;
99 QFileSystemWatcher m_Watcher;
101 void applyIconRecursively(
const QString& CurrDir,
const QString& IconPath);
106 void onDirectoryLoaded(
const QString& Path);
113 QVariant data(
const QModelIndex& Index,
int Role)
const;
115 void updateGitStatusInfo(
const QString& WarePath);