40 #ifndef __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__ 41 #define __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__ 44 #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 onOpenExplorerAsked();
71 void onOpenTerminalAsked();
73 void scrollToCurrent();
75 void onCustomContextMenuRequested(
const QPoint& Point);
77 void onNewFileAsked();
79 void onNewFolderAsked();
81 void onDeleteFileAsked();
83 void onGitStatusAsked();
92 QString m_TopDirectoryPath;
94 QString getCurrentDir();
99 void doubleClicked(
const QString& FilePath);
101 void clicked(
const QString& FilePath);
103 void currentChanged(
const QString& FilePath);
105 void openExplorerAsked(
const QString& FilePath);
107 void openTerminalAsked(
const QString& FilePath);
109 void openPathAsked(
const QString& FilePath);
111 void deleteWareAsked();
113 void fileDeleted(
const QString& Path);
122 void configure(
const QString& TopDirectoryPath,
bool WithContextMenu);
124 bool setCurrentPath(
const QString& Path);
126 QString getCurrentPath();
128 void updateExplorerModel(
const QString& Path);
Definition: WareSrcExplorer.hpp:56
Definition: ApplicationException.hpp:47
#define OPENFLUID_API
Definition: dllexport.hpp:87
Definition: WareSrcExplorerModel.hpp:56