40 #ifndef __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__ 41 #define __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__ 45 #include <QContextMenuEvent> 51 namespace openfluid {
namespace ui {
namespace waresdev {
54 class WareSrcExplorerModel;
64 void onDoubleClicked(
const QModelIndex& Index);
66 void onClicked(
const QModelIndex& Index);
68 void onCurrentChanged(
const QModelIndex& Current);
70 void onOpenExplorerAsked();
72 void onOpenTerminalAsked();
74 void onOpenExternalToolAsked();
76 void onCopyFullPathAsked();
78 void onCopyRelativePathAsked();
80 void scrollToCurrent();
82 void onCustomContextMenuRequested(
const QPoint& Point);
84 void onNewFileAsked();
86 void onNewFolderAsked();
88 void onDeleteFileAsked();
90 void onGitStatusAsked();
99 QString m_TopDirectoryPath;
101 QString getCurrentDir();
106 void doubleClicked(
const QString& FilePath);
108 void clicked(
const QString& FilePath);
110 void currentChanged(
const QString& FilePath);
112 void openExplorerAsked(
const QString& FilePath);
114 void openTerminalAsked(
const QString& FilePath);
116 void openExternalToolAsked(
const QString& FilePath,
const QString& Command);
118 void openPathAsked(
const QString& FilePath);
120 void deleteWareAsked();
122 void fileDeleted(
const QString& Path);
131 void configure(
const QString& TopDirectoryPath,
bool WithContextMenu);
133 bool setCurrentPath(
const QString& Path);
135 QString getCurrentPath();
137 void updateExplorerModel(
const QString& Path);
Definition: ApplicationException.hpp:47
Definition: WareSrcExplorerModel.hpp:56
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: WareSrcExplorer.hpp:57