All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::BasicFillPropertyItem Class Reference

A widget used to define the basic fill se object. More...

#include <BasicFillPropertyItem.h>

Inheritance diagram for te::qt::widgets::BasicFillPropertyItem:
te::qt::widgets::AbstractPropertyItem

Public Slots

virtual void valueChanged (QtProperty *p, double value)
 
virtual void valueChanged (QtProperty *p, const QString &value)
 
virtual void valueChanged (QtProperty *p, const QFont &value)
 
virtual void valueChanged (QtProperty *p, const QSize &value)
 
virtual void valueChanged (QtProperty *p, const QPointF &value)
 

Public Member Functions

Initializer Methods

Methods related to instantiation and destruction.

 BasicFillPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~BasicFillPropertyItem ()
 Destructor. More...
 

Protected Member Functions

void addProperty (QtProperty *property, const QString &id, QColor c)
 
void setExpandedStatus (QtBrowserItem *item, bool status)
 

Protected Attributes

QColor m_colorParent
 
QMap< QString, QtProperty * > m_idToProperty
 
QtTreePropertyBrowser * m_propertyBrowser
 
QMap< QtProperty *, QString > m_propertyToId
 

Re-implementation of Pure Virtual Method

AbstractFillWidget methods.

QtProperty * m_colorProperty
 
QtProperty * m_opacityProperty
 
QColor m_color
 
te::se::Fillm_fill
 Fill element that will be configured by this widget. More...
 
bool m_update
 
bool setFill (const te::se::Fill *fill)
 
te::se::FillgetFill () const
 
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...
 
virtual void valueChanged (QtProperty *p, int value)
 
virtual void valueChanged (QtProperty *p, const QColor &value)
 
void fillChanged ()
 

Detailed Description

A widget used to define the basic fill se object.

Definition at line 52 of file BasicFillPropertyItem.h.

Constructor & Destructor Documentation

te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem ( QtTreePropertyBrowser *  pb,
QColor  c = QColor() 
)
te::qt::widgets::BasicFillPropertyItem::~BasicFillPropertyItem ( )

Destructor.

Definition at line 62 of file BasicFillPropertyItem.cpp.

Member Function Documentation

void te::qt::widgets::BasicFillPropertyItem::fillChanged ( )
signal

This signal is emitted when the internal fill element is changed.

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited

Definition at line 70 of file AbstractPropertyItem.cpp.

bool te::qt::widgets::BasicFillPropertyItem::setFill ( const te::se::Fill fill)
void te::qt::widgets::BasicFillPropertyItem::updateUiFillColor ( )

Updates the widget form element used to visualize the fill color.

Definition at line 150 of file BasicFillPropertyItem.cpp.

References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_colorManager.

void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslotinherited

Definition at line 86 of file AbstractPropertyItem.cpp.

void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QString &  value 
)
virtualslotinherited

Definition at line 90 of file AbstractPropertyItem.cpp.

void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QFont &  value 
)
virtualslotinherited

Definition at line 98 of file AbstractPropertyItem.cpp.

void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSize &  value 
)
virtualslotinherited

Definition at line 102 of file AbstractPropertyItem.cpp.

void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QPointF &  value 
)
virtualslotinherited

Definition at line 106 of file AbstractPropertyItem.cpp.

void te::qt::widgets::BasicFillPropertyItem::valueChanged ( QtProperty *  p,
int  value 
)
virtualslot

Definition at line 67 of file BasicFillPropertyItem.cpp.

void te::qt::widgets::BasicFillPropertyItem::valueChanged ( QtProperty *  p,
const QColor &  value 
)
virtualslot

Member Data Documentation

QColor te::qt::widgets::BasicFillPropertyItem::m_color
protected

Definition at line 100 of file BasicFillPropertyItem.h.

QColor te::qt::widgets::AbstractPropertyItem::m_colorParent
protectedinherited

Definition at line 95 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::BasicFillPropertyItem::m_colorProperty
protected

Definition at line 97 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem().

te::se::Fill* te::qt::widgets::BasicFillPropertyItem::m_fill
protected

Fill element that will be configured by this widget.

Definition at line 102 of file BasicFillPropertyItem.h.

QMap<QString, QtProperty *> te::qt::widgets::AbstractPropertyItem::m_idToProperty
protectedinherited

Definition at line 93 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::BasicFillPropertyItem::m_opacityProperty
protected

Definition at line 98 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem().

QtTreePropertyBrowser* te::qt::widgets::AbstractPropertyItem::m_propertyBrowser
protectedinherited
QMap<QtProperty *, QString> te::qt::widgets::AbstractPropertyItem::m_propertyToId
protectedinherited

Definition at line 92 of file AbstractPropertyItem.h.

bool te::qt::widgets::BasicFillPropertyItem::m_update
protected

Definition at line 104 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem().


The documentation for this class was generated from the following files: