PeriDyno 1.0.0
Loading...
Searching...
No Matches
WFileWidget Class Reference

#include <WFileWidget.h>

Inheritance diagram for WFileWidget:
Collaboration diagram for WFileWidget:

Public Member Functions

 WFileWidget (dyno::FBase *)
 
 ~WFileWidget ()
 
void setValue (dyno::FBase *)
 
void updateField ()
 
Wt::Signal< int > & changeValue ()
 

Static Public Member Functions

static Wt::WContainerWidget * WFileWidgetConstructor (dyno::FBase *field)
 

Private Member Functions

void uploadFile ()
 
void fileTooLarge ()
 
bool hasFile (std::string)
 
std::string shortFilePath (std::string str)
 

Private Attributes

dyno::FBasemfield
 
Wt::WVBoxLayout * layout
 
Wt::WLineEdit * mfilename
 
Wt::WFileUpload * upload
 
Wt::Signal< int > changeValue_
 

Detailed Description

Definition at line 15 of file WFileWidget.h.

Constructor & Destructor Documentation

◆ WFileWidget()

WFileWidget::WFileWidget ( dyno::FBase * field)

Definition at line 3 of file WFileWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~WFileWidget()

WFileWidget::~WFileWidget ( )

Definition at line 25 of file WFileWidget.cpp.

Member Function Documentation

◆ changeValue()

Wt::Signal< int > & WFileWidget::changeValue ( )
inline

Definition at line 30 of file WFileWidget.h.

◆ fileTooLarge()

void WFileWidget::fileTooLarge ( )
private

Definition at line 58 of file WFileWidget.cpp.

Here is the caller graph for this function:

◆ hasFile()

bool WFileWidget::hasFile ( std::string path)
private

Definition at line 75 of file WFileWidget.cpp.

Here is the caller graph for this function:

◆ setValue()

void WFileWidget::setValue ( dyno::FBase * field)

Definition at line 88 of file WFileWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shortFilePath()

std::string WFileWidget::shortFilePath ( std::string str)
private

Definition at line 63 of file WFileWidget.cpp.

Here is the caller graph for this function:

◆ updateField()

void WFileWidget::updateField ( )

Definition at line 99 of file WFileWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uploadFile()

void WFileWidget::uploadFile ( )
private

Definition at line 29 of file WFileWidget.cpp.

Here is the caller graph for this function:

◆ WFileWidgetConstructor()

static Wt::WContainerWidget * WFileWidget::WFileWidgetConstructor ( dyno::FBase * field)
inlinestatic

Definition at line 21 of file WFileWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ changeValue_

Wt::Signal<int> WFileWidget::changeValue_
private

Definition at line 41 of file WFileWidget.h.

◆ layout

Wt::WVBoxLayout* WFileWidget::layout
private

Definition at line 37 of file WFileWidget.h.

◆ mfield

dyno::FBase* WFileWidget::mfield
private

Definition at line 36 of file WFileWidget.h.

◆ mfilename

Wt::WLineEdit* WFileWidget::mfilename
private

Definition at line 38 of file WFileWidget.h.

◆ upload

Wt::WFileUpload* WFileWidget::upload
private

Definition at line 40 of file WFileWidget.h.


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