te::qt::widgets::LineGapPropertyItem Class Reference

A widget used to define the gap between marks. More...

#include <LineGapPropertyItem.h>

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

Public Slots

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)
 

Public Member Functions

void addProperty (QtProperty *qProperty, const QColor &qColor)
 
void addSubProperty (QtProperty *qPropertyParent, QtProperty *qProperty, const QColor &qColor)
 
QtProperty * getItemProperty () const
 
void setChildrenEnabled (bool enabled)
 
void setExpandedStatus (QtBrowserItem *item, bool status, bool applyToChildren)
 
void setExpandedStatus (bool status, bool applyToChildren)
 
void setPropertyColor (QtProperty *property, QColor c)
 

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
 
QtTreePropertyBrowser * m_propertyBrowser
 

Initializer Methods

Methods related to instantiation and destruction.

QtProperty * m_gap
 
double m_lineGap
 
bool m_update
 
 LineGapPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~LineGapPropertyItem ()
 Destructor. More...
 
void setLineGap (double gap)
 Updates the widget form based on internal gap element. More...
 
double getLineGap () const
 Get internal gap element value. More...
 
void updateUi ()
 Updates the widget form based on internal gap element. More...
 
virtual void valueChanged (QtProperty *p, double value)
 
void lineGapChanged ()
 

Detailed Description

A widget used to define the gap between marks.

Definition at line 47 of file LineGapPropertyItem.h.

Constructor & Destructor Documentation

◆ LineGapPropertyItem()

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

Constructor.

◆ ~LineGapPropertyItem()

te::qt::widgets::LineGapPropertyItem::~LineGapPropertyItem ( )

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

◆ getLineGap()

double te::qt::widgets::LineGapPropertyItem::getLineGap ( ) const

Get internal gap element value.

Returns
The gap between marks.

◆ getValueFromEnumProperty()

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

◆ init()

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

◆ lineGapChanged

void te::qt::widgets::LineGapPropertyItem::lineGapChanged ( )
signal

This signal is emitted when the internal 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

◆ setLineGap()

void te::qt::widgets::LineGapPropertyItem::setLineGap ( double  gap)

Updates the widget form based on internal gap element.

Parameters
gapThe gap between marks.

◆ 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::LineGapPropertyItem::updateUi ( )

Updates the widget form based on internal gap element.

◆ valueChanged [1/10]

virtual void te::qt::widgets::LineGapPropertyItem::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_gap

QtProperty* te::qt::widgets::LineGapPropertyItem::m_gap
protected

Definition at line 91 of file LineGapPropertyItem.h.

◆ m_itemProperty

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

Definition at line 125 of file AbstractPropertyItem.h.

◆ m_lineGap

double te::qt::widgets::LineGapPropertyItem::m_lineGap
protected

Definition at line 93 of file LineGapPropertyItem.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::LineGapPropertyItem::m_update
protected

Definition at line 95 of file LineGapPropertyItem.h.


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