#include <QString>
#include <QStringList>
-class QWidget;
+class QFileDialog;
class QLineEdit;
+class QWidget;
/**
* \ingroup GUI
/// exists and has supported format
bool isCurrentPathValid();
- public slots:
+public slots:
/// Processing of path selection button press
void onPathSelectionBtn();
void onPathChanged();
protected:
+ /// Reject the current editor dialog if it is shown and returns true.
+ virtual bool processEscape();
+
/// Saves the internal parameters to the given feature
/// \return True in success
virtual bool storeValueCustom();
protected:
/// A control for path input
QLineEdit* myPathField;
+ QFileDialog* myFileDialog; ///< started dialog
/// A title of open file dialog box
QString myTitle;
WFS_OPEN, ///< open file
WFS_SAVE ///< save file
} myType; ///< type of dialog
-
- /// Default path
- QString myDefaultPath;
};
#endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */