Gui::ContainerDialog Class Reference

The ContainerDialog class acts as a container to embed any kinds of widgets that do not inherit from QDialog. More...

#include <WidgetFactory.h>

List of all members.

Public Member Functions

 ContainerDialog (QWidget *templChild)
 Constructs a ContainerDialog which embeds the child templChild.
 ~ContainerDialog ()
 Destroys the object and frees any allocated resources.

Public Attributes

QPushButton * buttonCancel
 The cancel button.
QPushButton * buttonOk
 The Ok button.

Detailed Description

The ContainerDialog class acts as a container to embed any kinds of widgets that do not inherit from QDialog.

This class also provides an "Ok" and a "Cancel" button. At most this class is used to embed widgets which are created from .ui files.

Author:
Werner Mayer

Definition at line 257 of file WidgetFactory.h.


Constructor & Destructor Documentation

ContainerDialog::ContainerDialog ( QWidget *  templChild  ) 

Constructs a ContainerDialog which embeds the child templChild.

The dialog will be modal.

Definition at line 242 of file WidgetFactory.cpp.

References buttonCancel, buttonOk, and draftlibs::fcgeo::connect().

ContainerDialog::~ContainerDialog (  ) 

Destroys the object and frees any allocated resources.

Definition at line 280 of file WidgetFactory.cpp.


Member Data Documentation

The cancel button.

Definition at line 266 of file WidgetFactory.h.

Referenced by ContainerDialog().

The Ok button.

Definition at line 265 of file WidgetFactory.h.

Referenced by ContainerDialog().


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

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1