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 QWidget

Public Slots

virtual void valueChanged (QtProperty *p, double value)
 
virtual void valueChanged (QtProperty *p, bool 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 QSizeF &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...
 
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 64 of file BasicFillPropertyItem.cpp.

References m_fill.

Member Function Documentation

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  property,
const QString &  id,
QColor  c 
)
protectedinherited
void te::qt::widgets::BasicFillPropertyItem::fillChanged ( )
signal

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

Referenced by valueChanged().

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited
void te::qt::widgets::BasicFillPropertyItem::updateUi ( )
void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslotinherited

Definition at line 88 of file AbstractPropertyItem.cpp.

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

Definition at line 93 of file AbstractPropertyItem.cpp.

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

Definition at line 98 of file AbstractPropertyItem.cpp.

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

Definition at line 108 of file AbstractPropertyItem.cpp.

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

Definition at line 113 of file AbstractPropertyItem.cpp.

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

Definition at line 118 of file AbstractPropertyItem.cpp.

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

Definition at line 123 of file AbstractPropertyItem.cpp.

Member Data Documentation

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

Definition at line 97 of file BasicFillPropertyItem.h.

Referenced by valueChanged().

QColor te::qt::widgets::AbstractPropertyItem::m_colorParent
protectedinherited
QtProperty* te::qt::widgets::BasicFillPropertyItem::m_colorProperty
protected

Definition at line 94 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem(), updateUi(), and valueChanged().

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

Fill element that will be configured by this widget.

Definition at line 99 of file BasicFillPropertyItem.h.

Referenced by getFill(), setFill(), updateUi(), valueChanged(), and ~BasicFillPropertyItem().

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

Definition at line 95 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem(), updateUi(), and valueChanged().

QMap<QtProperty *, QString> te::qt::widgets::AbstractPropertyItem::m_propertyToId
protectedinherited
bool te::qt::widgets::BasicFillPropertyItem::m_update
protected

Definition at line 101 of file BasicFillPropertyItem.h.

Referenced by BasicFillPropertyItem(), and valueChanged().


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