A widget used to build a basic fill element. More...
#include <BasicFillWidget.h>
  
 Signals | |
| void | fillChanged () | 
Public Member Functions | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| BasicFillWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic fill widget which is a child of parent, with widget flags set to f.  More... | |
| ~BasicFillWidget () | |
| Destructor.  More... | |
Re-implementation of Pure Virtual Method  | |
AbstractFillWidget methods.  | |
| bool | setFill (const te::se::Fill *fill) | 
| Sets a fill element to this widget.  More... | |
| te::se::Fill * | getFill () const | 
| Gets the configured fill element.  More... | |
| QString | getFillType () const | 
| Pure virtual method that should return a "user friendly" string that informs the fill type that can be built by the widget.  More... | |
Protected Slots | |
| void | onColorChanged (const QColor &color) | 
| void | onFillOpacitySliderValueChanged (int value) | 
Protected Member Functions | |
| void | initialize () | 
| Internal method to initialize the widget (e.g.: color, combos, icons, etc.)  More... | |
| void | updateUi () | 
| Updates the widget form based on internal fill element.  More... | |
| void | updateUiFillColor () | 
| Updates the widget form element used to visualize the fill color.  More... | |
Private Attributes | |
| QColor | m_color | 
| Auxiliary color attribute.  More... | |
| ColorPickerToolButton * | m_colorPicker | 
| Widget used to pick a color.  More... | |
| te::se::Fill * | m_fill | 
| Fill element that will be configured by this widget.  More... | |
| std::auto_ptr < Ui::BasicFillWidgetForm >  | m_ui | 
| Widget form.  More... | |
A widget used to build a basic fill element.
Definition at line 61 of file BasicFillWidget.h.
| te::qt::widgets::BasicFillWidget::BasicFillWidget | ( | QWidget * | parent = 0,  | 
        
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructs a basic fill widget which is a child of parent, with widget flags set to f.
Definition at line 36 of file BasicFillWidget.cpp.
References initialize(), m_colorPicker, m_ui, onColorChanged(), and onFillOpacitySliderValueChanged().
| te::qt::widgets::BasicFillWidget::~BasicFillWidget | ( | ) | 
Destructor.
Definition at line 60 of file BasicFillWidget.cpp.
      
  | 
  signal | 
This signal is emitted when the internal fill element is changed.
      
  | 
  virtual | 
Gets the configured fill element.
Implements te::qt::widgets::AbstractFillWidget.
Definition at line 83 of file BasicFillWidget.cpp.
References te::se::Fill::clone().
Referenced by te::qt::widgets::GlyphMarkWidget::GlyphMarkWidget(), and te::qt::widgets::WellKnownMarkWidget::WellKnownMarkWidget().
      
  | 
  virtual | 
Pure virtual method that should return a "user friendly" string that informs the fill type that can be built by the widget.
Implements te::qt::widgets::AbstractFillWidget.
Definition at line 88 of file BasicFillWidget.cpp.
      
  | 
  protected | 
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
Definition at line 93 of file BasicFillWidget.cpp.
References TE_SE_DEFAULT_FILL_BASIC_COLOR.
Referenced by BasicFillWidget().
      
  | 
  protectedslot | 
Definition at line 118 of file BasicFillWidget.cpp.
Referenced by BasicFillWidget().
      
  | 
  protectedslot | 
Definition at line 130 of file BasicFillWidget.cpp.
Referenced by BasicFillWidget().
      
  | 
  virtual | 
Sets a fill element to this widget.
| fill | A valid fill element. | 
Implements te::qt::widgets::AbstractFillWidget.
Definition at line 65 of file BasicFillWidget.cpp.
References te::se::Fill::clone(), and te::se::Fill::getGraphicFill().
Referenced by te::qt::widgets::BasicFillDialog::getFill().
      
  | 
  protected | 
Updates the widget form based on internal fill element.
Definition at line 100 of file BasicFillWidget.cpp.
References te::color::RGBAColor::getAlpha(), te::se::GetColor(), te::color::RGBAColor::getRgba(), TE_OPAQUE, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
      
  | 
  protected | 
Updates the widget form element used to visualize the fill color.
Definition at line 113 of file BasicFillWidget.cpp.
      
  | 
  private | 
Auxiliary color attribute.
Definition at line 121 of file BasicFillWidget.h.
      
  | 
  private | 
Widget used to pick a color.
Definition at line 120 of file BasicFillWidget.h.
Referenced by BasicFillWidget().
      
  | 
  private | 
Fill element that will be configured by this widget.
Definition at line 122 of file BasicFillWidget.h.
      
  | 
  private |