te::qt::widgets::FillPropertyItem Class Reference

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

#include <FillPropertyItem.h>

Inheritance diagram for te::qt::widgets::FillPropertyItem:
te::qt::widgets::StylePropertyItem te::qt::widgets::AbstractPropertyItem

Public Slots

virtual void valueChanged (QtProperty *p, const QVariant &qVariant) override
 
virtual void valueChanged (QtProperty *p, int value)
 
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 QColor &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

void addListenerToProperty (QtProperty *p)
 
void addProperty (QtProperty *qProperty, const QColor &qColor)
 
void addSubProperty (QtProperty *qPropertyParent, QtProperty *qProperty, const QColor &qColor)
 
te::se::FillgetFill () const
 
QtProperty * getItemProperty () const
 
bool propertyHasListener (QtProperty *p)
 
void setChildrenEnabled (bool enabled)
 
void setExpandedStatus (QtBrowserItem *item, bool status, bool applyToChildren)
 
void setExpandedStatus (bool status, bool applyToChildren)
 
bool setFill (const te::se::Fill *fill)
 
void setPropertyColor (QtProperty *property, QColor c)
 
Initializer Methods

Methods related to instantiation and destruction.

 FillPropertyItem (QtTreePropertyBrowser *propertyBrowser, StylePropertyItemListener *listener, QColor c=QColor())
 Constructor. More...
 
 ~FillPropertyItem ()
 Destructor. More...
 

Static Public Member Functions

static QString getValueFromEnumProperty (QtProperty *enumPropertyItem)
 
static void setValueToEnumProperty (QtProperty *enumPropertyItem, const QString &value)
 

Protected Member Functions

void init (QtProperty *property)
 

Protected Attributes

te::qt::widgets::BasicFillPropertyItemm_basicFillProperty
 
QColor m_colorParent
 
bool m_enableListeners
 
te::qt::widgets::GraphicFillPropertyItemm_graphicFillProperty
 
GroupPropertyItemHandlerm_groupHandler
 
QtProperty * m_itemProperty
 
StylePropertyItemListenerm_listener
 
QtTreePropertyBrowser * m_propertyBrowser
 
std::vector< QtProperty * > m_vecProperties
 

Detailed Description

A widget used to define the fill se object.

  • Basic
    • Color
    • Opacity
  • Graphic

Definition at line 69 of file FillPropertyItem.h.

Constructor & Destructor Documentation

◆ FillPropertyItem()

te::qt::widgets::FillPropertyItem::FillPropertyItem ( QtTreePropertyBrowser *  propertyBrowser,
StylePropertyItemListener listener,
QColor  c = QColor() 
)

Constructor.

◆ ~FillPropertyItem()

te::qt::widgets::FillPropertyItem::~FillPropertyItem ( )

Destructor.

Member Function Documentation

◆ addListenerToProperty()

void te::qt::widgets::StylePropertyItem::addListenerToProperty ( QtProperty *  p)
inherited

◆ addProperty()

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  qProperty,
const QColor &  qColor 
)
inherited

◆ addSubProperty()

void te::qt::widgets::AbstractPropertyItem::addSubProperty ( QtProperty *  qPropertyParent,
QtProperty *  qProperty,
const QColor &  qColor 
)
inherited

◆ getFill()

te::se::Fill* te::qt::widgets::FillPropertyItem::getFill ( ) const

◆ getItemProperty()

QtProperty* te::qt::widgets::AbstractPropertyItem::getItemProperty ( ) const
inherited

◆ getValueFromEnumProperty()

static QString te::qt::widgets::AbstractPropertyItem::getValueFromEnumProperty ( QtProperty *  enumPropertyItem)
staticinherited

◆ init()

void te::qt::widgets::AbstractPropertyItem::init ( QtProperty *  property)
protectedinherited

◆ propertyHasListener()

bool te::qt::widgets::StylePropertyItem::propertyHasListener ( QtProperty *  p)
inherited

◆ setChildrenEnabled()

void te::qt::widgets::AbstractPropertyItem::setChildrenEnabled ( bool  enabled)
inherited

◆ setExpandedStatus() [1/2]

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

◆ setExpandedStatus() [2/2]

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( bool  status,
bool  applyToChildren 
)
inherited

◆ setFill()

bool te::qt::widgets::FillPropertyItem::setFill ( const te::se::Fill fill)

◆ setPropertyColor()

void te::qt::widgets::AbstractPropertyItem::setPropertyColor ( QtProperty *  property,
QColor  c 
)
inherited

◆ setValueToEnumProperty()

static void te::qt::widgets::AbstractPropertyItem::setValueToEnumProperty ( QtProperty *  enumPropertyItem,
const QString &  value 
)
staticinherited

◆ valueChanged [1/10]

virtual void te::qt::widgets::StylePropertyItem::valueChanged ( QtProperty *  p,
const QVariant &  qVariant 
)
overridevirtualslotinherited

◆ valueChanged [2/10]

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

◆ valueChanged [3/10]

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

◆ valueChanged [4/10]

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

◆ valueChanged [5/10]

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

◆ valueChanged [6/10]

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

◆ valueChanged [7/10]

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

◆ valueChanged [8/10]

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

◆ valueChanged [9/10]

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

◆ valueChanged [10/10]

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

Member Data Documentation

◆ m_basicFillProperty

te::qt::widgets::BasicFillPropertyItem* te::qt::widgets::FillPropertyItem::m_basicFillProperty
protected

Definition at line 95 of file FillPropertyItem.h.

◆ m_colorParent

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

Definition at line 123 of file AbstractPropertyItem.h.

◆ m_enableListeners

bool te::qt::widgets::AbstractPropertyItem::m_enableListeners
protectedinherited

Definition at line 124 of file AbstractPropertyItem.h.

◆ m_graphicFillProperty

te::qt::widgets::GraphicFillPropertyItem* te::qt::widgets::FillPropertyItem::m_graphicFillProperty
protected

Definition at line 96 of file FillPropertyItem.h.

◆ m_groupHandler

GroupPropertyItemHandler* te::qt::widgets::FillPropertyItem::m_groupHandler
protected

Definition at line 93 of file FillPropertyItem.h.

◆ m_itemProperty

QtProperty* te::qt::widgets::AbstractPropertyItem::m_itemProperty
protectedinherited

Definition at line 125 of file AbstractPropertyItem.h.

◆ m_listener

StylePropertyItemListener* te::qt::widgets::StylePropertyItem::m_listener
protectedinherited

Definition at line 90 of file StylePropertyItem.h.

◆ m_propertyBrowser

QtTreePropertyBrowser* te::qt::widgets::AbstractPropertyItem::m_propertyBrowser
protectedinherited

Definition at line 121 of file AbstractPropertyItem.h.

◆ m_vecProperties

std::vector<QtProperty*> te::qt::widgets::StylePropertyItem::m_vecProperties
protectedinherited

Definition at line 91 of file StylePropertyItem.h.


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