A dialog used to build a well known mark element. If you want to use this dialog, you can use commands like: te::se::Mark* m = te::qt::widgets::MarkDialog::getMark(0, parent, "Title"); te::se::Mark* m = te::qt::widgets::MarkDialog::getMark(initialMark, parent, "Title"); ... delete m;
More...
#include <WellKnownMarkDialog.h>
Public Member Functions | |
te::se::Mark * | getMark () const |
Gets the configured mark element. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
WellKnownMarkDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructs a well known mark dialog which is a child of parent, with widget flags set to f. More... | |
~WellKnownMarkDialog () | |
Destructor. More... | |
Static Public Member Functions | |
static te::se::Mark * | getMark (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::WellKnownMarkWidget * | m_markWidget |
Well Known Mark Widget used to configure the mak element. More... | |
std::auto_ptr< Ui::WellKnownMarkDialogForm > | m_ui |
Dialog form. More... | |
A dialog used to build a well known mark element. If you want to use this dialog, you can use commands like: te::se::Mark* m = te::qt::widgets::MarkDialog::getMark(0, parent, "Title"); te::se::Mark* m = te::qt::widgets::MarkDialog::getMark(initialMark, parent, "Title"); ... delete m;
Definition at line 70 of file WellKnownMarkDialog.h.
te::qt::widgets::WellKnownMarkDialog::WellKnownMarkDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs a well known mark dialog which is a child of parent, with widget flags set to f.
te::qt::widgets::WellKnownMarkDialog::~WellKnownMarkDialog | ( | ) |
Destructor.
|
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.
initial | A initial mark element that will be used. The dialog form will be update based on mark element parameters. It can be NULL. |
parent | Dialog parent. |
title | Dialog title. |
te::se::Mark* te::qt::widgets::WellKnownMarkDialog::getMark | ( | ) | const |
Gets the configured mark element.
|
private |
Well Known Mark Widget used to configure the mak element.
Definition at line 116 of file WellKnownMarkDialog.h.
|
private |
Dialog form.
Definition at line 115 of file WellKnownMarkDialog.h.