This file defines the abstract class for a form item. More...
#include <AbstractFormItem.h>
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 |
This file defines the abstract class for a form item.
Definition at line 63 of file AbstractFormItem.h.
| te::qt::plugins::terramobile::AbstractFormItem::AbstractFormItem | ( | ) |
Definition at line 29 of file AbstractFormItem.cpp.
|
virtual |
Definition at line 39 of file AbstractFormItem.cpp.
References m_values.
|
inline |
Definition at line 75 of file AbstractFormItem.h.
References m_key.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::listSectionMap(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onRemoveFormItemToolButtonPressed(), and te::qt::plugins::terramobile::Write().
|
inline |
Definition at line 79 of file AbstractFormItem.h.
References m_label.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked(), and te::qt::plugins::terramobile::Write().
| std::string te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue | ( | ) |
Definition at line 44 of file AbstractFormItem.cpp.
References m_defaultValue, m_hasDefaultValue, and toString().
Referenced by hasDefaultValue(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked(), and te::qt::plugins::terramobile::Write().
|
inline |
Definition at line 83 of file AbstractFormItem.h.
References m_type.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::listSectionMap(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onSaveFormItemToolButton(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked(), and te::qt::plugins::terramobile::Write().
| std::vector< std::string > te::qt::plugins::terramobile::AbstractFormItem::getValues | ( | ) |
Definition at line 53 of file AbstractFormItem.cpp.
References m_values, and toString().
Referenced by hasDefaultValue(), and te::qt::plugins::terramobile::Write().
|
inline |
Definition at line 85 of file AbstractFormItem.h.
References getStrDefaultValue(), getValues(), m_hasDefaultValue, and toString().
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked().
|
inline |
Definition at line 77 of file AbstractFormItem.h.
References m_key.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), and te::qt::plugins::terramobile::BuilderFormsWizardPage::setLayerList().
|
inline |
Definition at line 81 of file AbstractFormItem.h.
References m_label.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onSaveFormItemToolButton(), and te::qt::plugins::terramobile::BuilderFormsWizardPage::setLayerList().
|
protectedpure virtual |
Implemented in te::qt::plugins::terramobile::StringComboFormItem, te::qt::plugins::terramobile::DateFormItem, te::qt::plugins::terramobile::TimeFormItem, te::qt::plugins::terramobile::BoolFormItem, te::qt::plugins::terramobile::DoubleFormItem, te::qt::plugins::terramobile::IntFormItem, te::qt::plugins::terramobile::LabelFormItem, te::qt::plugins::terramobile::StringFormItem, and te::qt::plugins::terramobile::PictureFormItem.
Referenced by getStrDefaultValue(), getValues(), and hasDefaultValue().
|
protected |
Definition at line 101 of file AbstractFormItem.h.
Referenced by getStrDefaultValue(), te::qt::plugins::terramobile::BoolFormItem::toString(), te::qt::plugins::terramobile::DoubleFormItem::toString(), te::qt::plugins::terramobile::StringFormItem::toString(), te::qt::plugins::terramobile::IntFormItem::toString(), te::qt::plugins::terramobile::LabelFormItem::toString(), te::qt::plugins::terramobile::TimeFormItem::toString(), te::qt::plugins::terramobile::DateFormItem::toString(), and te::qt::plugins::terramobile::StringComboFormItem::toString().
|
protected |
Definition at line 104 of file AbstractFormItem.h.
Referenced by getStrDefaultValue(), hasDefaultValue(), te::qt::plugins::terramobile::StringFormItem::setValue(), te::qt::plugins::terramobile::LabelFormItem::setValue(), te::qt::plugins::terramobile::IntFormItem::setValue(), te::qt::plugins::terramobile::DoubleFormItem::setValue(), te::qt::plugins::terramobile::StringComboFormItem::setValue(), te::qt::plugins::terramobile::BoolFormItem::setValue(), and te::qt::plugins::terramobile::DateFormItem::setValue().
|
protected |
Definition at line 97 of file AbstractFormItem.h.
|
protected |
Definition at line 98 of file AbstractFormItem.h.
Referenced by getLabel(), and setLabel().
|
protected |
Definition at line 99 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::BoolFormItem::BoolFormItem(), te::qt::plugins::terramobile::DateFormItem::DateFormItem(), te::qt::plugins::terramobile::DoubleFormItem::DoubleFormItem(), getType(), te::qt::plugins::terramobile::IntFormItem::IntFormItem(), te::qt::plugins::terramobile::LabelFormItem::LabelFormItem(), te::qt::plugins::terramobile::PictureFormItem::PictureFormItem(), te::qt::plugins::terramobile::StringComboFormItem::StringComboFormItem(), te::qt::plugins::terramobile::StringFormItem::StringFormItem(), and te::qt::plugins::terramobile::TimeFormItem::TimeFormItem().
|
protected |
Definition at line 102 of file AbstractFormItem.h.
Referenced by getValues(), te::qt::plugins::terramobile::StringComboFormItem::toString(), and ~AbstractFormItem().