te::qt::widgets::GlyphMarkDialog Class Reference

A dialog used to build a glyph mark element. If you want to use this dialog, you can use commands like: te::se::Mark* m = te::qt::widgets::GlyphMarkWidget::getMark(0, parent, "Title"); te::se::Mark* m = te::qt::widgets::GlyphMarkWidget::getMark(initialMark, parent, "Title"); ... delete m; More...

#include <GlyphMarkDialog.h>

Inheritance diagram for te::qt::widgets::GlyphMarkDialog:

Public Member Functions

te::se::MarkgetMark () const
 Gets the configured mark element. More...
 
Initializer Methods

Methods related to instantiation and destruction.

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

Static Public Member Functions

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

Private Attributes

te::qt::widgets::GlyphMarkWidgetm_glyphMarkWidget
 Glyph Mark Widget used to configure the mak element. More...
 
std::auto_ptr< Ui::GlyphMarkDialogForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a glyph mark element. If you want to use this dialog, you can use commands like: te::se::Mark* m = te::qt::widgets::GlyphMarkWidget::getMark(0, parent, "Title"); te::se::Mark* m = te::qt::widgets::GlyphMarkWidget::getMark(initialMark, parent, "Title"); ... delete m;

Definition at line 70 of file GlyphMarkDialog.h.

Constructor & Destructor Documentation

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

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

te::qt::widgets::GlyphMarkDialog::~GlyphMarkDialog ( )

Destructor.

Member Function Documentation

static te::se::Mark* te::qt::widgets::GlyphMarkDialog::getMark ( const te::se::Mark initial,
QWidget *  parent = 0,
const QString &  title = "" 
)
static

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

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

Gets the configured mark element.

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

Member Data Documentation

te::qt::widgets::GlyphMarkWidget* te::qt::widgets::GlyphMarkDialog::m_glyphMarkWidget
private

Glyph Mark Widget used to configure the mak element.

Definition at line 116 of file GlyphMarkDialog.h.

std::auto_ptr<Ui::GlyphMarkDialogForm> te::qt::widgets::GlyphMarkDialog::m_ui
private

Dialog form.

Definition at line 115 of file GlyphMarkDialog.h.


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