28 VFileSelector(
const std::string &buttonText,
const std::string &defaultPath,
const std::string &filter);
37 virtual std::string _launchFileDialog() = 0;
38 virtual bool _isFileOperable(
const std::string &file)
const = 0;
56 VFileReader(
const std::string &buttonText =
"Select",
const std::string &defaultPath = QDir::homePath().toStdString(),
const std::string &filter =
"");
59 virtual std::string _launchFileDialog();
60 virtual bool _isFileOperable(
const std::string &file)
const;
71 VFileWriter(
const std::string &buttonText =
"Select",
const std::string &defaultPath = QDir::homePath().toStdString(),
const std::string &filter =
"");
74 virtual std::string _launchFileDialog();
75 virtual bool _isFileOperable(
const std::string &file)
const;
86 VDirSelector(
const std::string &buttonText =
"Select",
const std::string &defaultPath = QDir::homePath().toStdString());
89 virtual std::string _launchFileDialog();
90 virtual bool _isFileOperable(
const std::string &file)
const;
VDirSelector(const std::string &buttonText="Select", const std::string &defaultPath=QDir::homePath().toStdString())
VFileReader(const std::string &buttonText="Select", const std::string &defaultPath=QDir::homePath().toStdString(), const std::string &filter="")
VLineEdit_Deprecated * _lineEdit
std::string GetValue() const
void SetPathFromLineEdit(const std::string &value)
VPushButton * _pushButton
bool SetValue(const std::string &file)
VFileSelector(const std::string &buttonText, const std::string &defaultPath, const std::string &filter)
void ValueChanged(const std::string &path)
void HideLineEdit(bool hide)
VFileWriter(const std::string &buttonText="Select", const std::string &defaultPath=QDir::homePath().toStdString(), const std::string &filter="")