te::qt::widgets::LineInitialGapPropertyItem Class Reference

A widget used to define the Initial Gap to draw marks in a line. More...

#include <LineInitialGapPropertyItem.h>

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

Public Slots

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

Signals

void lineInitialGapChanged ()
 

Public Member Functions

void addProperty (QtProperty *qProperty, const QColor &qColor)
 
void addSubProperty (QtProperty *qPropertyParent, QtProperty *qProperty, const QColor &qColor)
 
QtProperty * getItemProperty () const
 
double getLineInitialGap () const
 Get internal initial gap element value. More...
 
void setChildrenEnabled (bool enabled)
 
void setExpandedStatus (QtBrowserItem *item, bool status, bool applyToChildren)
 
void setExpandedStatus (bool status, bool applyToChildren)
 
void setLineInitialGap (double initialGap)
 Updates the widget form based on internal initial gap element. More...
 
void setPropertyColor (QtProperty *property, QColor c)
 
void updateUi ()
 Updates the widget form based on internal initial gap element. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 LineInitialGapPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~LineInitialGapPropertyItem ()
 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_initialGap
 
QtProperty * m_itemProperty
 
double m_lineInitialGap
 
QtTreePropertyBrowser * m_propertyBrowser
 
bool m_update
 

Detailed Description

A widget used to define the Initial Gap to draw marks in a line.

Definition at line 46 of file LineInitialGapPropertyItem.h.

Constructor & Destructor Documentation

◆ LineInitialGapPropertyItem()

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

Constructor.

◆ ~LineInitialGapPropertyItem()

te::qt::widgets::LineInitialGapPropertyItem::~LineInitialGapPropertyItem ( )

Destructor.

Member Function Documentation

◆ 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

◆ getItemProperty()

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

◆ getLineInitialGap()

double te::qt::widgets::LineInitialGapPropertyItem::getLineInitialGap ( ) const

Get internal initial gap element value.

Returns
The initial gap to draw marks in a line.

◆ getValueFromEnumProperty()

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

◆ init()

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

◆ lineInitialGapChanged

void te::qt::widgets::LineInitialGapPropertyItem::lineInitialGapChanged ( )
signal

This signal is emitted when the internal initial gap element is changed.

◆ 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

◆ setLineInitialGap()

void te::qt::widgets::LineInitialGapPropertyItem::setLineInitialGap ( double  initialGap)

Updates the widget form based on internal initial gap element.

Parameters
initialGapThe initial gap to draw marks in a line.

◆ 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

◆ updateUi()

void te::qt::widgets::LineInitialGapPropertyItem::updateUi ( )

Updates the widget form based on internal initial gap element.

◆ valueChanged [1/10]

virtual void te::qt::widgets::LineInitialGapPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslot

◆ valueChanged [2/10]

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

◆ 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,
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_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_initialGap

QtProperty* te::qt::widgets::LineInitialGapPropertyItem::m_initialGap
protected

Definition at line 92 of file LineInitialGapPropertyItem.h.

◆ m_itemProperty

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

Definition at line 125 of file AbstractPropertyItem.h.

◆ m_lineInitialGap

double te::qt::widgets::LineInitialGapPropertyItem::m_lineInitialGap
protected

Definition at line 94 of file LineInitialGapPropertyItem.h.

◆ m_propertyBrowser

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

Definition at line 121 of file AbstractPropertyItem.h.

◆ m_update

bool te::qt::widgets::LineInitialGapPropertyItem::m_update
protected

Definition at line 96 of file LineInitialGapPropertyItem.h.


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