te::qt::widgets::BasicFillDialog Class Reference

A dialog used to build a basic fill element. If you want to use this dialog, you can use commands like: te::se::Fill* f = te::qt::widgets::BasicFillDialog::getFill(0, parent, "Title"); te::se::Fill* f = te::qt::widgets::BasicFillDialog::getFill(initialFill, parent, "Title"); ... delete f; More...

#include <BasicFillDialog.h>

Inheritance diagram for te::qt::widgets::BasicFillDialog:

Public Member Functions

te::se::FillgetFill () const
 Gets the configured fill element. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 BasicFillDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructs a basic fill dialog which is a child of parent, with widget flags set to f. More...
 
 ~BasicFillDialog ()
 Destructor. More...
 

Static Public Member Functions

static te::se::FillgetFill (const te::se::Fill *initial, QWidget *parent=0, const QString &title="")
 Pops up a modal basic fill dialog with the given window title, lets the user configure the fill, and returns that fill. The fill is initially set to initial. The dialog is a child of parent. More...
 

Private Attributes

te::qt::widgets::BasicFillWidgetm_fillWidget
 Basic Fill Widget used to configure the fill element. More...
 
std::auto_ptr< Ui::BasicFillDialogForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a basic fill element. If you want to use this dialog, you can use commands like: te::se::Fill* f = te::qt::widgets::BasicFillDialog::getFill(0, parent, "Title"); te::se::Fill* f = te::qt::widgets::BasicFillDialog::getFill(initialFill, parent, "Title"); ... delete f;

Definition at line 68 of file BasicFillDialog.h.

Constructor & Destructor Documentation

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

Constructs a basic fill dialog which is a child of parent, with widget flags set to f.

te::qt::widgets::BasicFillDialog::~BasicFillDialog ( )

Destructor.

Member Function Documentation

static te::se::Fill* te::qt::widgets::BasicFillDialog::getFill ( const te::se::Fill initial,
QWidget *  parent = 0,
const QString &  title = "" 
)
static

Pops up a modal basic fill dialog with the given window title, lets the user configure the fill, and returns that fill. The fill is initially set to initial. The dialog is a child of parent.

Parameters
initialA initial fill element that will be used. The dialog form will be update based on fill element parameters. It can be NULL.
parentDialog parent.
titleDialog title.
Note
The dialog will NOT take the ownership of the given initial fill.
The caller will take the ownership of the returned fill.
It returns a NULL fill element if the user cancels the dialog.
te::se::Fill* te::qt::widgets::BasicFillDialog::getFill ( ) const

Gets the configured fill element.

Returns
The configured fill element.
Note
The caller will take the ownership of the returned fill.

Member Data Documentation

te::qt::widgets::BasicFillWidget* te::qt::widgets::BasicFillDialog::m_fillWidget
private

Basic Fill Widget used to configure the fill element.

Definition at line 114 of file BasicFillDialog.h.

std::auto_ptr<Ui::BasicFillDialogForm> te::qt::widgets::BasicFillDialog::m_ui
private

Dialog form.

Definition at line 113 of file BasicFillDialog.h.


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