VAPOR3 3.9.4
Public Member Functions | List of all members
VFileReader Class Reference

#include <VFileSelector.h>

Inheritance diagram for VFileReader:
VFileSelector VHBoxWidget

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ VFileReader()

VFileReader::VFileReader ( const std::string &  buttonText = "Select",
const std::string &  defaultPath = QDir::homePath().toStdString(),
const std::string &  filter = "" 
)

The documentation for this class was generated from the following file: