41 #ifndef __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__
42 #define __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__
47 #include <QPushButton>
52 namespace Ui {
class WareExplorerDialog;
55 namespace openfluid {
namespace ui {
namespace waresdev {
64 Ui::WareExplorerDialog* ui;
68 QPushButton* mp_AcceptButton;
70 QString m_DefaulMessage;
74 WareExplorerDialog(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath,
75 const QString& Title,
const QString& DefaultMessage,
const QString& AcceptButtonLabel);
77 void setStatus(
const QString WarningMsg);
83 static QString getOpenWarePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& Title,
84 const QString& CurrentPath =
"");
86 static QString getOpenFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
88 static QString getSaveFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
90 static QString getCreateFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
92 static QString getCreateFolderPath(QWidget* Parent,
const QString& TopDirectoryPath,
93 const QString& CurrentPath =
"");
95 void setOpenWareMode();
96 void setOpenFileMode();
97 void setSaveFileMode();
98 void setCreateFileMode();
99 void setCreateFolderMode();
104 QString getSelectedPath();
109 QString getCompleteFilePath();
113 void onCurrentChangedOpenWareMode(
const QString& Path);
114 void onCurrentChangedOpenFileMode(
const QString& Path);
115 void onCurrentChangedSaveCreateMode(
const QString& Path);
117 void onTextChangedSaveMode(
const QString& Text);
118 void onTextChangedCreateFileMode(
const QString& Text);
119 void onTextChangedCreateFolderMode(
const QString& Text);
121 void onDoubleClickedFileMode();
Definition: WareSrcManager.hpp:53
Definition: WareExplorerDialog.hpp:58
#define OPENFLUID_API
Definition: dllexport.hpp:87