VAPOR3 3.9.4
|
#include <VFileSelector.h>
Public Member Functions | |
VFileReader (const std::string &buttonText="Select", const std::string &defaultPath=QDir::homePath().toStdString(), const std::string &filter="") | |
Public Member Functions inherited from VFileSelector | |
std::string | GetValue () const |
bool | SetValue (const std::string &file) |
void | HideLineEdit (bool hide) |
Additional Inherited Members | |
Public Slots inherited from VFileSelector | |
void | OpenFileDialog () |
void | SetPathFromLineEdit (const std::string &value) |
Signals inherited from VFileSelector | |
void | ValueChanged (const std::string &path) |
Protected Member Functions inherited from VFileSelector | |
VFileSelector (const std::string &buttonText, const std::string &defaultPath, const std::string &filter) | |
Protected Member Functions inherited from VHBoxWidget | |
VHBoxWidget () | |
Protected Attributes inherited from VFileSelector | |
VLineEdit_Deprecated * | _lineEdit |
VPushButton * | _pushButton |
std::string | _filePath |
std::string | _filter |
class VFileReader
A class for opening a file-dialog and selecting a file for reading. This class provides vaporgui's standard setter/getter functions, and signals.
Definition at line 52 of file VFileSelector.h.
VFileReader::VFileReader | ( | const std::string & | buttonText = "Select" , |
const std::string & | defaultPath = QDir::homePath().toStdString() , |
||
const std::string & | filter = "" |
||
) |