42 #ifndef __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__ 43 #define __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__ 46 #include <QPushButton> 55 class WareExplorerDialog;
59 namespace openfluid {
namespace ui {
namespace waresdev {
69 void onCurrentChangedOpenWareMode(
const QString& Path);
71 void onCurrentChangedOpenFileMode(
const QString& Path);
73 void onCurrentChangedSaveCreateMode(
const QString& Path);
75 void onTextChangedSaveMode(
const QString& Text);
77 void onTextChangedCreateFileMode(
const QString& Text);
79 void onTextChangedCreateFolderMode(
const QString& Text);
81 void onDoubleClickedFileMode();
86 Ui::WareExplorerDialog* ui;
90 QPushButton* mp_AcceptButton;
94 WareExplorerDialog(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath,
95 const QString& Title,
const QString& DefaultMessage,
const QString& AcceptButtonLabel);
97 void setStatus(
const QString WarningMsg);
104 static QString getOpenWarePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& Title,
105 const QString& CurrentPath =
"");
107 static QString getOpenFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
108 const QString& CurrentPath =
"");
110 static QString getSaveFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
111 const QString& CurrentPath =
"");
113 static QString getCreateFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
114 const QString& CurrentPath =
"");
116 static QString getCreateFolderPath(QWidget* Parent,
const QString& TopDirectoryPath,
117 const QString& CurrentPath =
"");
119 void setOpenWareMode();
121 void setOpenFileMode();
123 void setSaveFileMode();
125 void setCreateFileMode(
const QString& CurrentPath);
127 void setCreateFolderMode();
132 QString getSelectedPath();
137 QString getCompleteFilePath();
Definition: WareExplorerDialog.hpp:62
Definition: MessageDialog.hpp:55
Definition: ApplicationException.hpp:47
Definition: AboutDialog.hpp:50
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: WareSrcManager.hpp:57