29 #include "ui_GlyphMarkDialogForm.h"
33 m_ui(new Ui::GlyphMarkDialogForm)
41 QGridLayout* layout =
new QGridLayout(
m_ui->m_glyphMarkWidgetFrame);
54 dlg.setWindowTitle(title);
59 if(dlg.exec() == QDialog::Accepted)
67 return m_glyphMarkWidget->getMark();
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...
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...
A widget used to build a mark element represented by a glyph.
~GlyphMarkDialog()
Destructor.
A dialog used to build a glyph mark element.
A dialog used to build a glyph mark element. If you want to use this dialog, you can use commands lik...
A widget used to build a mark element represented by a glyph.
te::se::Mark * getMark() const
Gets the configured mark element.
std::auto_ptr< Ui::GlyphMarkDialogForm > m_ui
Dialog form.
void setMark(const te::se::Mark *mark)
Sets a mark element to this widget.
te::qt::widgets::GlyphMarkWidget * m_glyphMarkWidget
Glyph Mark Widget used to configure the mak element.
A Mark specifies a geometric shape and applies coloring to it.