27 #include "ui_WellKnownMarkDialogForm.h"
33 m_ui(new Ui::WellKnownMarkDialogForm)
41 QGridLayout* layout =
new QGridLayout(
m_ui->m_markWidgetFrame);
54 dlg.setWindowTitle(title);
59 if(dlg.exec() == QDialog::Accepted)
67 return m_markWidget->getMark();
~WellKnownMarkDialog()
Destructor.
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...
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...
A widget used to build a well known mark element.
A dialog used to build a well known mark element. If you want to use this dialog, you can use command...
void setMark(const te::se::Mark *mark)
Sets a mark element to this widget.
A widget used to build a well known mark element.
A dialog used to build a well known mark element.
te::qt::widgets::WellKnownMarkWidget * m_markWidget
Well Known Mark Widget used to configure the mak element.
std::auto_ptr< Ui::WellKnownMarkDialogForm > m_ui
Dialog form.
te::se::Mark * getMark() const
Gets the configured mark element.
A Mark specifies a geometric shape and applies coloring to it.