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 scrollToCurrent();
76 void onCustomContextMenuRequested(
const QPoint& Point);
78 void onNewFileAsked();
80 void onNewFolderAsked();
82 void onDeleteFileAsked();
84 void onGitStatusAsked();
93 QString m_TopDirectoryPath;
95 QString getCurrentDir();
100 void doubleClicked(
const QString& FilePath);
102 void clicked(
const QString& FilePath);
104 void currentChanged(
const QString& FilePath);
106 void openExplorerAsked(
const QString& FilePath);
108 void openTerminalAsked(
const QString& FilePath);
110 void openPathAsked(
const QString& FilePath);
112 void deleteWareAsked();
114 void fileDeleted(
const QString& Path);
123 void configure(
const QString& TopDirectoryPath,
bool WithContextMenu);
125 bool setCurrentPath(
const QString& Path);
127 QString getCurrentPath();
129 void updateExplorerModel(
const QString& Path);
Definition: WareSrcExplorerModel.hpp:56
Definition: ApplicationException.hpp:47
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: WareSrcExplorer.hpp:57