This file defines the class for a time form item. More...
#include <TimeFormItem.h>
Public Member Functions | |
| std::string | getKey () |
| std::string | getLabel () |
| std::string | getStrDefaultValue () |
| std::string | getType () |
| te::dt::DateTime * | getValue () |
| std::vector< std::string > | getValues () |
| bool | hasDefaultValue () |
| void | setKey (std::string key) |
| void | setLabel (std::string label) |
| void | setValue (te::dt::DateTime *value) |
| TimeFormItem () | |
| ~TimeFormItem () | |
Protected Member Functions | |
| virtual void | toString () |
Protected Attributes | |
| std::string | m_defaultValue |
| bool | m_hasDefaultValue |
| std::string | m_key |
| std::string | m_label |
| std::string | m_type |
| te::dt::DateTime * | m_value |
| std::vector< std::string > | m_values |
This file defines the class for a time form item.
Definition at line 49 of file TimeFormItem.h.
| te::qt::plugins::terramobile::TimeFormItem::TimeFormItem | ( | ) |
Definition at line 29 of file TimeFormItem.cpp.
References te::qt::plugins::terramobile::AbstractFormItem::m_type, and TIMEFORMITEMTYPE.
| te::qt::plugins::terramobile::TimeFormItem::~TimeFormItem | ( | ) |
Definition at line 34 of file TimeFormItem.cpp.
References m_value.
|
inlineinherited |
Definition at line 75 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::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().
|
inlineinherited |
Definition at line 79 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::m_label.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked(), and te::qt::plugins::terramobile::Write().
|
inherited |
Definition at line 44 of file AbstractFormItem.cpp.
References te::qt::plugins::terramobile::AbstractFormItem::m_defaultValue, te::qt::plugins::terramobile::AbstractFormItem::m_hasDefaultValue, and te::qt::plugins::terramobile::AbstractFormItem::toString().
Referenced by te::qt::plugins::terramobile::AbstractFormItem::hasDefaultValue(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked(), and te::qt::plugins::terramobile::Write().
|
inlineinherited |
Definition at line 83 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::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().
| te::dt::DateTime * te::qt::plugins::terramobile::TimeFormItem::getValue | ( | ) |
Definition at line 44 of file TimeFormItem.cpp.
References m_value.
|
inherited |
Definition at line 53 of file AbstractFormItem.cpp.
References te::qt::plugins::terramobile::AbstractFormItem::m_values, and te::qt::plugins::terramobile::AbstractFormItem::toString().
Referenced by te::qt::plugins::terramobile::AbstractFormItem::hasDefaultValue(), and te::qt::plugins::terramobile::Write().
|
inlineinherited |
Definition at line 85 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue(), te::qt::plugins::terramobile::AbstractFormItem::getValues(), te::qt::plugins::terramobile::AbstractFormItem::m_hasDefaultValue, and te::qt::plugins::terramobile::AbstractFormItem::toString().
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onTreeItemClicked().
|
inlineinherited |
Definition at line 77 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::m_key.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), and te::qt::plugins::terramobile::BuilderFormsWizardPage::setLayerList().
|
inlineinherited |
Definition at line 81 of file AbstractFormItem.h.
References te::qt::plugins::terramobile::AbstractFormItem::m_label.
Referenced by te::qt::plugins::terramobile::BuilderFormsWizardPage::onItemTypeChanged(), te::qt::plugins::terramobile::BuilderFormsWizardPage::onSaveFormItemToolButton(), and te::qt::plugins::terramobile::BuilderFormsWizardPage::setLayerList().
| void te::qt::plugins::terramobile::TimeFormItem::setValue | ( | te::dt::DateTime * | value | ) |
Definition at line 39 of file TimeFormItem.cpp.
References m_value.
|
protectedvirtual |
Implements te::qt::plugins::terramobile::AbstractFormItem.
Definition at line 49 of file TimeFormItem.cpp.
References te::qt::plugins::terramobile::AbstractFormItem::m_defaultValue, m_value, and te::dt::AbstractData::toString().
|
protectedinherited |
Definition at line 101 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue(), te::qt::plugins::terramobile::BoolFormItem::toString(), te::qt::plugins::terramobile::StringFormItem::toString(), te::qt::plugins::terramobile::IntFormItem::toString(), te::qt::plugins::terramobile::LabelFormItem::toString(), te::qt::plugins::terramobile::DoubleFormItem::toString(), te::qt::plugins::terramobile::DateFormItem::toString(), toString(), and te::qt::plugins::terramobile::StringComboFormItem::toString().
|
protectedinherited |
Definition at line 104 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue(), te::qt::plugins::terramobile::AbstractFormItem::hasDefaultValue(), te::qt::plugins::terramobile::LabelFormItem::setValue(), te::qt::plugins::terramobile::StringComboFormItem::setValue(), te::qt::plugins::terramobile::DoubleFormItem::setValue(), te::qt::plugins::terramobile::IntFormItem::setValue(), te::qt::plugins::terramobile::BoolFormItem::setValue(), te::qt::plugins::terramobile::StringFormItem::setValue(), and te::qt::plugins::terramobile::DateFormItem::setValue().
|
protectedinherited |
Definition at line 97 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::AbstractFormItem::getKey(), and te::qt::plugins::terramobile::AbstractFormItem::setKey().
|
protectedinherited |
Definition at line 98 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::AbstractFormItem::getLabel(), and te::qt::plugins::terramobile::AbstractFormItem::setLabel().
|
protectedinherited |
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(), te::qt::plugins::terramobile::AbstractFormItem::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 TimeFormItem().
|
protected |
Definition at line 71 of file TimeFormItem.h.
Referenced by getValue(), setValue(), toString(), and ~TimeFormItem().
|
protectedinherited |
Definition at line 102 of file AbstractFormItem.h.
Referenced by te::qt::plugins::terramobile::AbstractFormItem::getValues(), te::qt::plugins::terramobile::StringComboFormItem::toString(), and te::qt::plugins::terramobile::AbstractFormItem::~AbstractFormItem().