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::CheckboxStylePropertyItem te::qt::widgets::StylePropertyItem te::qt::widgets::AbstractPropertyItem

Public Slots

virtual void valueChanged (QtProperty *p, int value)
 
virtual void valueChanged (QtProperty *p, double 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)
 
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)
 
void setPropertyColor (QtProperty *property, QColor c)
 
Initializer Methods

Methods related to instantiation and destruction.

 BasicFillPropertyItem (QtProperty *parent, QtTreePropertyBrowser *propertyBrowser, StylePropertyItemListener *listener, QColor color=QColor())
 Constructor. More...
 
 ~BasicFillPropertyItem ()
 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

QColor m_colorParent
 
bool m_enableListeners
 
QtProperty * m_itemProperty
 
StylePropertyItemListenerm_listener
 
QtTreePropertyBrowser * m_propertyBrowser
 
std::vector< QtProperty * > m_vecProperties
 

Re-implementation of Pure Virtual Method

AbstractFillWidget methods.

QtProperty * m_colorProperty
 
QtProperty * m_opacityProperty
 
bool setFill (const te::se::Fill *fill)
 
te::se::FillgetFill () const
 
void valueChanged (QtProperty *p, const QVariant &qVariant) override
 

Initializer Methods

Methods related to instantiation and destruction.

bool isChecked () const
 
void setChecked (bool checked)
 
virtual void valueChanged (QtProperty *p, bool value)
 
void checkedStateChanged (CheckboxStylePropertyItem *stylePropertyItem)
 

Detailed Description

A widget used to define the basic fill se object.

Definition at line 55 of file BasicFillPropertyItem.h.

Constructor & Destructor Documentation

◆ BasicFillPropertyItem()

te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem ( QtProperty *  parent,
QtTreePropertyBrowser *  propertyBrowser,
StylePropertyItemListener listener,
QColor  color = QColor() 
)

Constructor.

◆ ~BasicFillPropertyItem()

te::qt::widgets::BasicFillPropertyItem::~BasicFillPropertyItem ( )

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

◆ checkedStateChanged

void te::qt::widgets::CheckboxStylePropertyItem::checkedStateChanged ( CheckboxStylePropertyItem stylePropertyItem)
signalinherited

◆ getFill()

te::se::Fill* te::qt::widgets::BasicFillPropertyItem::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

◆ isChecked()

bool te::qt::widgets::CheckboxStylePropertyItem::isChecked ( ) const
inherited

◆ propertyHasListener()

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

◆ setChecked()

void te::qt::widgets::CheckboxStylePropertyItem::setChecked ( bool  checked)
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::BasicFillPropertyItem::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::CheckboxStylePropertyItem::valueChanged ( QtProperty *  p,
bool  value 
)
virtualslotinherited

◆ valueChanged [2/10]

void te::qt::widgets::BasicFillPropertyItem::valueChanged ( QtProperty *  p,
const QVariant &  qVariant 
)
overrideslot

◆ valueChanged [3/10]

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

◆ valueChanged [4/10]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
double  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_colorParent

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

Definition at line 123 of file AbstractPropertyItem.h.

◆ m_colorProperty

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

Definition at line 87 of file BasicFillPropertyItem.h.

◆ m_enableListeners

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

Definition at line 124 of file AbstractPropertyItem.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_opacityProperty

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

Definition at line 88 of file BasicFillPropertyItem.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: