te::qt::plugins::terramobile::AbstractFormItem Class Referenceabstract

This file defines the abstract class for a form item. More...

#include <AbstractFormItem.h>

Inheritance diagram for te::qt::plugins::terramobile::AbstractFormItem:
te::qt::plugins::terramobile::BoolFormItem te::qt::plugins::terramobile::DateFormItem te::qt::plugins::terramobile::DoubleFormItem te::qt::plugins::terramobile::IntFormItem te::qt::plugins::terramobile::LabelFormItem te::qt::plugins::terramobile::PictureFormItem te::qt::plugins::terramobile::StringComboFormItem te::qt::plugins::terramobile::StringFormItem te::qt::plugins::terramobile::TimeFormItem

Public Member Functions

 AbstractFormItem ()
 
std::string getKey ()
 
std::string getLabel ()
 
std::string getStrDefaultValue ()
 
std::string getType ()
 
std::vector< std::string > getValues ()
 
bool hasDefaultValue ()
 
void setKey (std::string key)
 
void setLabel (std::string label)
 
virtual ~AbstractFormItem ()
 

Protected Member Functions

virtual void toString ()=0
 

Protected Attributes

std::string m_defaultValue
 
bool m_hasDefaultValue
 
std::string m_key
 
std::string m_label
 
std::string m_type
 
std::vector< std::string > m_values
 

Detailed Description

This file defines the abstract class for a form item.

Definition at line 63 of file AbstractFormItem.h.

Constructor & Destructor Documentation

te::qt::plugins::terramobile::AbstractFormItem::AbstractFormItem ( )
virtual te::qt::plugins::terramobile::AbstractFormItem::~AbstractFormItem ( )
virtual

Member Function Documentation

std::string te::qt::plugins::terramobile::AbstractFormItem::getKey ( )
inline

Definition at line 75 of file AbstractFormItem.h.

References m_key.

std::string te::qt::plugins::terramobile::AbstractFormItem::getLabel ( )
inline

Definition at line 79 of file AbstractFormItem.h.

References m_label.

std::string te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue ( )
std::string te::qt::plugins::terramobile::AbstractFormItem::getType ( )
inline

Definition at line 83 of file AbstractFormItem.h.

References m_type.

std::vector<std::string> te::qt::plugins::terramobile::AbstractFormItem::getValues ( )
bool te::qt::plugins::terramobile::AbstractFormItem::hasDefaultValue ( )
inline

Definition at line 85 of file AbstractFormItem.h.

References m_hasDefaultValue.

void te::qt::plugins::terramobile::AbstractFormItem::setKey ( std::string  key)
inline

Definition at line 77 of file AbstractFormItem.h.

References m_key.

void te::qt::plugins::terramobile::AbstractFormItem::setLabel ( std::string  label)
inline

Definition at line 81 of file AbstractFormItem.h.

References m_label.

Member Data Documentation

std::string te::qt::plugins::terramobile::AbstractFormItem::m_defaultValue
protected

Definition at line 101 of file AbstractFormItem.h.

bool te::qt::plugins::terramobile::AbstractFormItem::m_hasDefaultValue
protected

Definition at line 104 of file AbstractFormItem.h.

Referenced by hasDefaultValue().

std::string te::qt::plugins::terramobile::AbstractFormItem::m_key
protected

Definition at line 97 of file AbstractFormItem.h.

Referenced by getKey(), and setKey().

std::string te::qt::plugins::terramobile::AbstractFormItem::m_label
protected

Definition at line 98 of file AbstractFormItem.h.

Referenced by getLabel(), and setLabel().

std::string te::qt::plugins::terramobile::AbstractFormItem::m_type
protected

Definition at line 99 of file AbstractFormItem.h.

Referenced by getType().

std::vector<std::string> te::qt::plugins::terramobile::AbstractFormItem::m_values
protected

Definition at line 102 of file AbstractFormItem.h.


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