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;
88 QPushButton* mp_AcceptButton;
92 WareExplorerDialog(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& CurrentPath,
93 const QString& Title,
const QString& DefaultMessage,
const QString& AcceptButtonLabel);
95 void setStatus(
const QString WarningMsg);
102 static QString
getOpenWarePath(QWidget* Parent,
const QString& TopDirectoryPath,
const QString& Title,
103 const QString& CurrentPath =
"");
106 const QString& CurrentPath =
"");
109 const QString& CurrentPath =
"");
112 const QString& CurrentPath =
"");
115 const QString& CurrentPath =
"");
Definition: MessageDialog.hpp:56
Definition: WareExplorerDialog.hpp:63
QString getSelectedPath()
static QString getCreateFolderPath(QWidget *Parent, const QString &TopDirectoryPath, const QString &CurrentPath="")
static QString getOpenWarePath(QWidget *Parent, const QString &TopDirectoryPath, const QString &Title, const QString &CurrentPath="")
QString getCompleteFilePath()
void setCreateFolderMode()
virtual ~WareExplorerDialog()
static QString getCreateFilePath(QWidget *Parent, const QString &TopDirectoryPath, const QString &CurrentPath="")
static QString getSaveFilePath(QWidget *Parent, const QString &TopDirectoryPath, const QString &CurrentPath="")
static QString getOpenFilePath(QWidget *Parent, const QString &TopDirectoryPath, const QString &CurrentPath="")
void setCreateFileMode(const QString &CurrentPath)
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: AboutDialog.hpp:51
Definition: ApplicationException.hpp:47