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>

Public Member Functions

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

Public Attributes

QPushButtonbuttonCancel
 The cancel button. More...
 
QPushButtonbuttonOk
 The Ok button. More...
 

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

Constructor & Destructor Documentation

◆ ContainerDialog()

ContainerDialog::ContainerDialog ( QWidget templChild)

Constructs a ContainerDialog which embeds the child templChild.

The dialog will be modal.

References buttonCancel, buttonOk, and draftgeoutils.intersections::connect().

◆ ~ContainerDialog()

ContainerDialog::~ContainerDialog ( )

Destroys the object and frees any allocated resources.

Member Data Documentation

◆ buttonCancel

QPushButton* Gui::ContainerDialog::buttonCancel

The cancel button.

Referenced by ContainerDialog().

◆ buttonOk

QPushButton* Gui::ContainerDialog::buttonOk

The Ok button.

Referenced by ContainerDialog().


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