All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::edit::FeatureAttributesDialog Class Reference

A widget used to show and setup feature attributes. More...

#include <FeatureAttributesDialog.h>

Inheritance diagram for te::edit::FeatureAttributesDialog:

Public Member Functions

void set (te::da::DataSetType *type, Feature *f)
 
Initializer Methods

Methods related to instantiation and destruction.

 FeatureAttributesDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructs the feature attributes dialog which is a child of parent, with widget flags set to f. More...
 
 ~FeatureAttributesDialog ()
 Destructor. More...
 

Private Slots

void onAttributesTreeWidgetItemDoubleClicked (QTreeWidgetItem *item, int column)
 
void onOkPushButtonPressed ()
 

Private Member Functions

void initialize ()
 Internal method to initialize the dialog. More...
 

Private Attributes

Featurem_feature
 The owner feature of the attributes. More...
 
te::da::DataSetTypem_type
 The attributes dataset type. More...
 
std::auto_ptr
< Ui::FeatureAttributesDialogForm > 
m_ui
 Dialog form. More...
 

Detailed Description

A widget used to show and setup feature attributes.

Definition at line 60 of file FeatureAttributesDialog.h.

Constructor & Destructor Documentation

te::edit::FeatureAttributesDialog::FeatureAttributesDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructs the feature attributes dialog which is a child of parent, with widget flags set to f.

Definition at line 37 of file FeatureAttributesDialog.cpp.

References m_ui, onAttributesTreeWidgetItemDoubleClicked(), and onOkPushButtonPressed().

te::edit::FeatureAttributesDialog::~FeatureAttributesDialog ( )

Destructor.

Definition at line 58 of file FeatureAttributesDialog.cpp.

Member Function Documentation

void te::edit::FeatureAttributesDialog::initialize ( )
private

Internal method to initialize the dialog.

Definition at line 70 of file FeatureAttributesDialog.cpp.

References te::dt::Property::getName().

void te::edit::FeatureAttributesDialog::onAttributesTreeWidgetItemDoubleClicked ( QTreeWidgetItem *  item,
int  column 
)
privateslot

Definition at line 92 of file FeatureAttributesDialog.cpp.

Referenced by FeatureAttributesDialog().

void te::edit::FeatureAttributesDialog::onOkPushButtonPressed ( )
privateslot

Definition at line 86 of file FeatureAttributesDialog.cpp.

Referenced by FeatureAttributesDialog().

void te::edit::FeatureAttributesDialog::set ( te::da::DataSetType type,
Feature f 
)

Definition at line 62 of file FeatureAttributesDialog.cpp.

Member Data Documentation

Feature* te::edit::FeatureAttributesDialog::m_feature
private

The owner feature of the attributes.

Definition at line 96 of file FeatureAttributesDialog.h.

te::da::DataSetType* te::edit::FeatureAttributesDialog::m_type
private

The attributes dataset type.

Definition at line 95 of file FeatureAttributesDialog.h.

std::auto_ptr<Ui::FeatureAttributesDialogForm> te::edit::FeatureAttributesDialog::m_ui
private

Dialog form.

Definition at line 94 of file FeatureAttributesDialog.h.

Referenced by FeatureAttributesDialog().


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