41 #ifndef __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__ 42 #define __OPENFLUID_UIWARESDEV_WAREEXPLORERDIALOG_HPP__ 45 #include <QPushButton> 54 class WareExplorerDialog;
58 namespace openfluid {
namespace ui {
namespace waresdev {
68 void onCurrentChangedOpenWareMode(
const QString& Path);
70 void onCurrentChangedOpenFileMode(
const QString& Path);
72 void onCurrentChangedSaveCreateMode(
const QString& Path);
74 void onTextChangedSaveMode(
const QString& Text);
76 void onTextChangedCreateFileMode(
const QString& Text);
78 void onTextChangedCreateFolderMode(
const QString& Text);
80 void onDoubleClickedFileMode();
85 Ui::WareExplorerDialog* ui;
89 QPushButton* mp_AcceptButton;
91 QString m_DefaulMessage;
95 WareExplorerDialog(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath,
96 const QString& Title,
const QString& DefaultMessage,
const QString& AcceptButtonLabel);
98 void setStatus(
const QString WarningMsg);
105 static QString getOpenWarePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& Title,
106 const QString& CurrentPath =
"");
108 static QString getOpenFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
110 static QString getSaveFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
112 static QString getCreateFilePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath =
"");
114 static QString getCreateFolderPath(QWidget* Parent,
const QString& TopDirectoryPath,
115 const QString& CurrentPath =
"");
117 void setOpenWareMode();
119 void setOpenFileMode();
121 void setSaveFileMode();
123 void setCreateFileMode(
const QString& CurrentPath);
125 void setCreateFolderMode();
130 QString getSelectedPath();
135 QString getCompleteFilePath();
Definition: OpenFLUIDDialog.hpp:51
Definition: WareExplorerDialog.hpp:61
#define OPENFLUID_API
Definition: dllexport.hpp:87
Definition: WareSrcManager.hpp:57
Definition: AboutDialog.hpp:50
Definition: ApplicationException.hpp:47