40 #ifndef __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__
41 #define __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__
45 #include <QContextMenuEvent>
50 namespace openfluid {
namespace ui {
namespace waresdev {
53 class WareSrcExplorerModel;
63 void onDoubleClicked(
const QModelIndex& Index);
65 void onClicked(
const QModelIndex& Index);
67 void onCurrentChanged(
const QModelIndex& Current);
69 void createFragment(std::string WarePath, std::string FragmentID,
bool IsFileCreation);
71 void onOpenExplorerAsked();
73 void onOpenTerminalAsked();
75 void onOpenExternalToolAsked();
77 void onCopyFullPathAsked();
79 void onCopyRelativePathAsked();
81 void scrollToCurrent();
83 void onCustomContextMenuRequested(
const QPoint& Point);
85 void onNewFileAsked();
87 void onNewFolderAsked();
89 void onNewFragmentAsked();
91 void onRemoteFragmentAsked();
93 void onFragmentRemovalAsked();
95 void onDeleteFolderAsked();
97 void onDeleteFileAsked();
99 void onGitInitAsked();
101 void onGitStatusAsked();
103 void onGitLogAsked();
110 QString m_TopDirectoryPath;
112 QString getCurrentDir();
137 void folderDeleted(
const QString& WarePath,
const QString& FolderPath,
const bool Confirm);
148 void configure(
const QString& TopDirectoryPath,
bool WithContextMenu);
Definition: WareSrcExplorerModel.hpp:57
Definition: WareSrcExplorer.hpp:57
void openExternalToolAsked(const QString &FilePath, const QString &Command)
void clicked(const QString &FilePath)
void updateExplorerModel(const QString &Path)
void configure(const QString &TopDirectoryPath, bool WithContextMenu)
void fileOpeningAsked(const QString &FilePath)
bool setCurrentPath(const QString &Path)
WareSrcExplorer(QWidget *Parent=nullptr)
void openExplorerAsked(const QString &FilePath)
void folderDeleted(const QString &WarePath, const QString &FolderPath, const bool Confirm)
void wareChanged(const QString &WarePath)
void currentChanged(const QString &FilePath)
void openTerminalAsked(const QString &FilePath)
void fileDeleted(const QString &Path)
void doubleClicked(const QString &FilePath)
void openPathAsked(const QString &FilePath)
virtual ~WareSrcExplorer()
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47