A dialog used to build a basic stroke element. If you want to use this dialog, you can use commands like: te::se::Stroke* s = te::qt::widgets::BasicStrokeDialog::getStroke(0, parent, "Title"); te::se::Stroke* s = te::qt::widgets::BasicStrokeDialog::getStroke(initialStroke, parent, "Title"); ... delete s;
More...
#include <BasicStrokeDialog.h>
Public Member Functions | |
| te::se::Stroke * | getStroke () const |
| Gets the configured stroke element. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| 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. More... | |
| ~BasicStrokeDialog () | |
| Destructor. More... | |
Static Public Member Functions | |
| 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, and returns that stroke. The stroke is initially set to initial. The dialog is a child of parent. More... | |
Private Attributes | |
| te::qt::widgets::BasicStrokeWidget * | m_strokeWidget |
| Basic Stroke Widget used to configure the stroke element. More... | |
| std::unique_ptr< Ui::BasicStrokeDialogForm > | m_ui |
| Dialog form. More... | |
A dialog used to build a basic stroke element. If you want to use this dialog, you can use commands like: te::se::Stroke* s = te::qt::widgets::BasicStrokeDialog::getStroke(0, parent, "Title"); te::se::Stroke* s = te::qt::widgets::BasicStrokeDialog::getStroke(initialStroke, parent, "Title"); ... delete s;
Definition at line 68 of file BasicStrokeDialog.h.
| te::qt::widgets::BasicStrokeDialog::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.
| te::qt::widgets::BasicStrokeDialog::~BasicStrokeDialog | ( | ) |
Destructor.
|
static |
Pops up a modal basic stroke dialog with the given window title, lets the user configure the stroke, and returns that stroke. The stroke is initially set to initial. The dialog is a child of parent.
| initial | A initial stroke element that will be used. The dialog form will be update based on stroke element parameters. It can be NULL. |
| parent | Dialog parent. |
| title | Dialog title. |
| te::se::Stroke* te::qt::widgets::BasicStrokeDialog::getStroke | ( | ) | const |
Gets the configured stroke element.
|
private |
Basic Stroke Widget used to configure the stroke element.
Definition at line 114 of file BasicStrokeDialog.h.
|
private |
Dialog form.
Definition at line 113 of file BasicStrokeDialog.h.