A dialog used to build a graphic element. If you want to use this dialog, you can use commands like:  te::se::Graphic* g = te::qt::widgets::GraphicDialog::getGraphic(0, parent, "Title"); ... delete g;   
 More...
#include <GraphicDialog.h>
  
 Public Member Functions | |
| te::se::Graphic * | getGraphic () const | 
| Gets the configured graphic element.  More... | |
| QIcon | getGraphicIcon (const QSize &size) | 
| Gets the current graphic icon.  More... | |
| void | setGraphic (const te::se::Graphic *graphic) | 
| Sets the graphic element.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| GraphicDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a graphic dialog which is a child of parent, with widget flags set to f.  More... | |
| ~GraphicDialog () | |
| Destructor.  More... | |
Static Public Member Functions | |
| static te::se::Graphic * | getGraphic (const te::se::Graphic *initial, QWidget *parent=0, const QString &title="") | 
| Pops up a modal graphic dialog with the given window title, lets the user configure the graphic, and returns that graphic. The graphic is initially set to initial. The dialog is a child of parent.  More... | |
Private Attributes | |
| GraphicSelectorWidget * | m_graphicSelector | 
| Graphic selector widget used to select the graphic.  More... | |
| std::auto_ptr < Ui::GraphicDialogForm >  | m_ui | 
| Dialog form.  More... | |
A dialog used to build a graphic element. If you want to use this dialog, you can use commands like:  te::se::Graphic* g = te::qt::widgets::GraphicDialog::getGraphic(0, parent, "Title"); ... delete g;  
Definition at line 69 of file GraphicDialog.h.
| te::qt::widgets::GraphicDialog::GraphicDialog | ( | QWidget * | parent = 0,  | 
        
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructs a graphic dialog which is a child of parent, with widget flags set to f.
Definition at line 31 of file GraphicDialog.cpp.
References m_graphicSelector, and m_ui.
| te::qt::widgets::GraphicDialog::~GraphicDialog | ( | ) | 
Destructor.
Definition at line 46 of file GraphicDialog.cpp.
      
  | 
  static | 
Pops up a modal graphic dialog with the given window title, lets the user configure the graphic, and returns that graphic. The graphic is initially set to initial. The dialog is a child of parent.
| initial | A initial graphic element that will be used. The dialog form will be update based on graphic element parameters. It can be NULL. | 
| parent | Dialog parent. | 
| title | Dialog title. | 
Definition at line 50 of file GraphicDialog.cpp.
References getGraphic(), m_graphicSelector, and te::qt::widgets::GraphicSelectorWidget::setGraphic().
Referenced by getGraphic().
| te::se::Graphic * te::qt::widgets::GraphicDialog::getGraphic | ( | ) | const | 
Gets the configured graphic element.
Definition at line 71 of file GraphicDialog.cpp.
Referenced by te::qt::widgets::ScatterStyleWidget::onPlotStylePushButtonClicked().
| QIcon te::qt::widgets::GraphicDialog::getGraphicIcon | ( | const QSize & | size | ) | 
Gets the current graphic icon.
| size | The icon size that will be generated. | 
Definition at line 76 of file GraphicDialog.cpp.
| void te::qt::widgets::GraphicDialog::setGraphic | ( | const te::se::Graphic * | graphic | ) | 
Sets the graphic element.
Definition at line 66 of file GraphicDialog.cpp.
      
  | 
  private | 
Graphic selector widget used to select the graphic.
Definition at line 133 of file GraphicDialog.h.
Referenced by getGraphic(), and GraphicDialog().
      
  | 
  private |