39 #ifndef __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__
40 #define __OPENFLUID_UIWARESDEV_WARESRCEXPLORER_HPP__
43 #include <QContextMenuEvent>
49 namespace openfluid {
namespace ui {
namespace waresdev {
52 class WareSrcExplorerModel;
63 QString m_TopDirectoryPath;
65 QString getCurrentDir();
69 void onDoubleClicked(
const QModelIndex& Index);
71 void onClicked(
const QModelIndex& Index);
73 void onCurrentChanged(
const QModelIndex& Current);
75 void onOpenExplorerAsked();
77 void onOpenTerminalAsked();
79 void scrollToCurrent();
81 void onCustomContextMenuRequested(
const QPoint& Point);
83 void onNewFileAsked();
85 void onNewFolderAsked();
87 void onDeleteFileAsked();
95 void configure(
const QString& TopDirectoryPath,
bool WithContextMenu);
97 bool setCurrentPath(
const QString& Path);
99 QString getCurrentPath();
103 void doubleClicked(
const QString& FilePath);
105 void clicked(
const QString& FilePath);
107 void currentChanged(
const QString& FilePath);
109 void openExplorerAsked(
const QString& FilePath);
111 void openTerminalAsked(
const QString& FilePath);
113 void openPathAsked(
const QString& FilePath);
115 void deleteWareAsked();
117 void fileDeleted(
const QString& Path);
121 void emitDataChanged();
Definition: WareSrcExplorerModel.hpp:54
Definition: WareSrcExplorer.hpp:55
#define OPENFLUID_API
Definition: dllexport.hpp:87