#include <VFileSelector.h>
class VFileSelector
An abstract class for reading and writing files, or selecting directory paths. This class wraps a VLineEdit_Deprecated to display the current selection, and a VPushButton to open file dialogs. It also provides vaporgui's standard setter/getter functions and signals.
Definition at line 18 of file VFileSelector.h.
◆ VFileSelector()
VFileSelector::VFileSelector |
( |
const std::string & |
buttonText, |
|
|
const std::string & |
defaultPath, |
|
|
const std::string & |
filter |
|
) |
| |
|
protected |
◆ GetValue()
std::string VFileSelector::GetValue |
( |
| ) |
const |
◆ HideLineEdit()
void VFileSelector::HideLineEdit |
( |
bool |
hide | ) |
|
◆ OpenFileDialog
void VFileSelector::OpenFileDialog |
( |
| ) |
|
|
slot |
◆ SetPathFromLineEdit
void VFileSelector::SetPathFromLineEdit |
( |
const std::string & |
value | ) |
|
|
slot |
◆ SetValue()
bool VFileSelector::SetValue |
( |
const std::string & |
file | ) |
|
◆ ValueChanged
void VFileSelector::ValueChanged |
( |
const std::string & |
path | ) |
|
|
signal |
◆ _filePath
std::string VFileSelector::_filePath |
|
protected |
◆ _filter
std::string VFileSelector::_filter |
|
protected |
◆ _lineEdit
◆ _pushButton
The documentation for this class was generated from the following file: