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

A dialog for creating a new property. More...

#include <NewPropertyDialog.h>

Inheritance diagram for te::qt::widgets::NewPropertyDialog:

Public Slots

void onOkPushButtonClicked ()
 

Public Member Functions

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

Private Attributes

te::qt::widgets::NewPropertyWidgetm_propWidget
 
std::auto_ptr
< Ui::NewPropertyDialogForm > 
m_ui
 

Detailed Description

A dialog for creating a new property.

Definition at line 55 of file NewPropertyDialog.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file NewPropertyDialog.cpp.

References m_propWidget, m_ui, and onOkPushButtonClicked().

te::qt::widgets::NewPropertyDialog::~NewPropertyDialog ( )

Definition at line 56 of file NewPropertyDialog.cpp.

Member Function Documentation

te::dt::SimpleProperty * te::qt::widgets::NewPropertyDialog::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 65 of file NewPropertyDialog.cpp.

void te::qt::widgets::NewPropertyDialog::onOkPushButtonClicked ( )
slot

Definition at line 70 of file NewPropertyDialog.cpp.

Referenced by NewPropertyDialog().

void te::qt::widgets::NewPropertyDialog::setDataSourceId ( std::string  id)

Used to get all data types supported by this data source.

Parameters
idString used to define the data source id

Definition at line 60 of file NewPropertyDialog.cpp.

Member Data Documentation

te::qt::widgets::NewPropertyWidget* te::qt::widgets::NewPropertyDialog::m_propWidget
private

Definition at line 88 of file NewPropertyDialog.h.

Referenced by NewPropertyDialog().

std::auto_ptr<Ui::NewPropertyDialogForm> te::qt::widgets::NewPropertyDialog::m_ui
private

Definition at line 87 of file NewPropertyDialog.h.

Referenced by NewPropertyDialog().


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