A widget used to show and setup feature attributes. More...
#include <FeatureAttributesDialog.h>
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 | |
Feature * | m_feature |
The owner feature of the attributes. More... | |
te::da::DataSetType * | m_type |
The attributes dataset type. More... | |
std::auto_ptr < Ui::FeatureAttributesDialogForm > | m_ui |
Dialog form. More... | |
A widget used to show and setup feature attributes.
Definition at line 60 of file FeatureAttributesDialog.h.
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.
|
private |
Internal method to initialize the dialog.
Definition at line 70 of file FeatureAttributesDialog.cpp.
References te::dt::Property::getName().
|
privateslot |
Definition at line 92 of file FeatureAttributesDialog.cpp.
Referenced by FeatureAttributesDialog().
|
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.
|
private |
The owner feature of the attributes.
Definition at line 96 of file FeatureAttributesDialog.h.
|
private |
The attributes dataset type.
Definition at line 95 of file FeatureAttributesDialog.h.
|
private |
Dialog form.
Definition at line 94 of file FeatureAttributesDialog.h.
Referenced by FeatureAttributesDialog().