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;
78 QMap<QString, openfluid::waresdev::WareSrcEnquirer::WarePathInfo> m_PathInfos;
80 std::map<GitUIProxy::FileStatus, QString> m_IconByGitStatus =
91 QMap<QString, QString> m_GitBranchByWarePath;
93 QMap<QString, QString> m_GitIconByWareFilePath;
95 QList<QString> m_GitDirties;
97 QFileSystemWatcher m_Watcher;
99 void applyIconRecursively(
const QString& CurrDir,
const QString& IconPath);
111 QVariant
data(
const QModelIndex& Index,
int Role)
const;
Definition: WareSrcExplorerModel.hpp:57
WareSrcExplorerModel(const QString &Path)
void updateGitStatusInfo(const QString &WarePath)
QVariant data(const QModelIndex &Index, int Role) const
bool isFragment(const QModelIndex &Index)
void onDirectoryLoaded(const QString &Path)
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47