All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::NewPropertyWidget Class Reference

#include <NewPropertyWidget.h>

Inheritance diagram for te::qt::widgets::NewPropertyWidget:

Public Slots

void onDataTypeComboBoxActivated (int index)
 

Public Member Functions

bool buildProperty ()
 
te::dt::SimplePropertygetProperty ()
 It returns a simple property class object. More...
 
 NewPropertyWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
void setDataSourceId (std::string id)
 Used to get all data types supported by this data source. More...
 
 ~NewPropertyWidget ()
 

Private Attributes

QGridLayout * m_layout
 Qt Layout object. More...
 
te::dt::SimplePropertym_simpleProperty
 
te::qt::widgets::SimplePropertyWidgetm_spWidget
 
std::auto_ptr
< Ui::NewPropertyWidgetForm > 
m_ui
 

Detailed Description

Definition at line 56 of file NewPropertyWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::NewPropertyWidget::NewPropertyWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 43 of file NewPropertyWidget.cpp.

References m_layout, m_ui, and onDataTypeComboBoxActivated().

te::qt::widgets::NewPropertyWidget::~NewPropertyWidget ( )

Definition at line 59 of file NewPropertyWidget.cpp.

Member Function Documentation

te::dt::SimpleProperty * te::qt::widgets::NewPropertyWidget::getProperty ( )

It returns a simple property class object.

Returns
The caller of this method will TAKE the ownership of the returned SimpleProperty pointer.

Definition at line 144 of file NewPropertyWidget.cpp.

References te::dt::SimpleProperty::clone().

void te::qt::widgets::NewPropertyWidget::onDataTypeComboBoxActivated ( int  index)
slot

Member Data Documentation

QGridLayout* te::qt::widgets::NewPropertyWidget::m_layout
private

Qt Layout object.

Definition at line 94 of file NewPropertyWidget.h.

Referenced by NewPropertyWidget().

te::dt::SimpleProperty* te::qt::widgets::NewPropertyWidget::m_simpleProperty
private

Definition at line 92 of file NewPropertyWidget.h.

te::qt::widgets::SimplePropertyWidget* te::qt::widgets::NewPropertyWidget::m_spWidget
private

Definition at line 91 of file NewPropertyWidget.h.

std::auto_ptr<Ui::NewPropertyWidgetForm> te::qt::widgets::NewPropertyWidget::m_ui
private

Definition at line 90 of file NewPropertyWidget.h.

Referenced by NewPropertyWidget().


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