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::auto_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.
Definition at line 31 of file BasicStrokeDialog.cpp.
References m_strokeWidget, and m_ui.
| te::qt::widgets::BasicStrokeDialog::~BasicStrokeDialog | ( | ) | 
Destructor.
Definition at line 45 of file BasicStrokeDialog.cpp.
      
  | 
  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. | 
Definition at line 49 of file BasicStrokeDialog.cpp.
References getStroke(), m_strokeWidget, and te::qt::widgets::BasicStrokeWidget::setStroke().
Referenced by getStroke().
| te::se::Stroke * te::qt::widgets::BasicStrokeDialog::getStroke | ( | ) | const | 
Gets the configured stroke element.
Definition at line 65 of file BasicStrokeDialog.cpp.
Referenced by te::qt::widgets::HistogramStyleWidget::onStrokePushButtonClicked().
      
  | 
  private | 
Basic Stroke Widget used to configure the stroke element.
Definition at line 114 of file BasicStrokeDialog.h.
Referenced by BasicStrokeDialog(), and getStroke().
      
  | 
  private |