29 #include "ui_BasicStrokeDialogForm.h"
33 m_ui(new Ui::BasicStrokeDialogForm)
41 QGridLayout* layout =
new QGridLayout(
m_ui->m_strokeWidgetFrame);
54 dlg.setWindowTitle(title);
59 if(dlg.exec() == QDialog::Accepted)
67 return m_strokeWidget->getStroke();
A dialog used to build a basic stroke element. If you want to use this dialog, you can use commands l...
A widget used to build a basic stroke element.
~BasicStrokeDialog()
Destructor.
std::auto_ptr< Ui::BasicStrokeDialogForm > m_ui
Dialog form.
A dialog used to build a basic stroke element.
A Stroke specifies the appearance of a linear geometry.
void setStroke(const te::se::Stroke *stroke)
Sets a stroke element to this widget.
te::se::Stroke * getStroke() const
Gets the configured stroke element.
A widget used to build a basic stroke element.
te::qt::widgets::BasicStrokeWidget * m_strokeWidget
Basic Stroke Widget used to configure the stroke element.
static te::se::Stroke * getStroke(const te::se::Stroke *initial, QWidget *parent=0, const QString &title="")
Pops up a modal basic stroke dialog with the given window title, lets the user configure the stroke...
BasicStrokeDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Constructs a basic stroke dialog which is a child of parent, with widget flags set to f...