te::qt::widgets::ScalePropertyBrowser Class Reference

Widget with propeties of a ScaleWidget for the users to change the presentation of the graphic scale. More...

#include <ScalePropertyWidget.h>

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

Public Slots

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

Signals.

Emmited to the graphic scale to sinalizes the attributes that was changed.

void interactHandleChanged (const bool &)
 Emmited when the interaction mode was changed. More...
 
void headerColorChanged (const QColor &)
 Emmited when the header color was changed. More...
 
void rulerColorChanged (const QColor &)
 Emmited when the ruler color was changed. More...
 
void footerColorChanged (const QColor &)
 Emmited when the footer color was changed. More...
 
void headerFontChanged (const QFont &)
 Emmited when the header font was changed. More...
 
void footerFontChanged (const QFont &)
 Emmited when the footer font was changed. More...
 
void scaleTypeChanged (const int &)
 Emmited when the ruler type was changed. More...
 
void numericScaleVisibilityChanged (const bool &)
 Emmited when the footer visibility was changed. More...
 
void unitChanged (const QString &)
 Emmited when the unit of measure of the graphic scale was changed. More...
 
void allIntermediaryValuesChanged (const bool &)
 Emmited when the visibility of the intermediary values of the header was changed. More...
 
void rulerHeightChanged (const int &)
 Emmited when the height of the ruler was changed. More...
 
void numberOfIntervalsChanged (const int &)
 Emmited when the number of intervals in the ruler was changed. More...
 
void unitsPerGapChanged (const int &)
 Emmited when the units per interval was changed. More...
 

Public Member Functions

Constructor and destructor methods.

Methods related to instantiation and destruction.

 ScalePropertyBrowser (QtTreePropertyBrowser *pb, ScaleWidget *wid)
 Constructor. More...
 
 ~ScalePropertyBrowser ()
 Destructor. More...
 

Protected Slots

Protected slots.

Methods to update the internal attributes of the class, using the signal-slot mechanism of QT.

void valueChanged (QtProperty *p, bool value)
 Called when a property of boolean type changed. More...
 
void valueChanged (QtProperty *p, const QColor &value)
 Called when a property of color type changed. More...
 
void valueChanged (QtProperty *p, const QFont &value)
 Called when a property of font type changed. More...
 
void valueChanged (QtProperty *p, int value)
 Called when a property of int type changed. 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
 

Detailed Description

Widget with propeties of a ScaleWidget for the users to change the presentation of the graphic scale.

Definition at line 97 of file ScalePropertyWidget.h.

Constructor & Destructor Documentation

◆ ScalePropertyBrowser()

te::qt::widgets::ScalePropertyBrowser::ScalePropertyBrowser ( QtTreePropertyBrowser *  pb,
ScaleWidget wid 
)

Constructor.

Parameters
pbProperty browser.
widScaleWidget object to be used.

◆ ~ScalePropertyBrowser()

te::qt::widgets::ScalePropertyBrowser::~ScalePropertyBrowser ( )

Destructor.

Member Function Documentation

◆ addProperty()

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

◆ allIntermediaryValuesChanged

void te::qt::widgets::ScalePropertyBrowser::allIntermediaryValuesChanged ( const bool &  )
signal

Emmited when the visibility of the intermediary values of the header was changed.

◆ footerColorChanged

void te::qt::widgets::ScalePropertyBrowser::footerColorChanged ( const QColor &  )
signal

Emmited when the footer color was changed.

◆ footerFontChanged

void te::qt::widgets::ScalePropertyBrowser::footerFontChanged ( const QFont &  )
signal

Emmited when the footer font was changed.

◆ headerColorChanged

void te::qt::widgets::ScalePropertyBrowser::headerColorChanged ( const QColor &  )
signal

Emmited when the header color was changed.

◆ headerFontChanged

void te::qt::widgets::ScalePropertyBrowser::headerFontChanged ( const QFont &  )
signal

Emmited when the header font was changed.

◆ interactHandleChanged

void te::qt::widgets::ScalePropertyBrowser::interactHandleChanged ( const bool &  )
signal

Emmited when the interaction mode was changed.

◆ numberOfIntervalsChanged

void te::qt::widgets::ScalePropertyBrowser::numberOfIntervalsChanged ( const int &  )
signal

Emmited when the number of intervals in the ruler was changed.

◆ numericScaleVisibilityChanged

void te::qt::widgets::ScalePropertyBrowser::numericScaleVisibilityChanged ( const bool &  )
signal

Emmited when the footer visibility was changed.

◆ rulerColorChanged

void te::qt::widgets::ScalePropertyBrowser::rulerColorChanged ( const QColor &  )
signal

Emmited when the ruler color was changed.

◆ rulerHeightChanged

void te::qt::widgets::ScalePropertyBrowser::rulerHeightChanged ( const int &  )
signal

Emmited when the height of the ruler was changed.

◆ scaleTypeChanged

void te::qt::widgets::ScalePropertyBrowser::scaleTypeChanged ( const int &  )
signal

Emmited when the ruler type was changed.

◆ setExpandedStatus()

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

◆ unitChanged

void te::qt::widgets::ScalePropertyBrowser::unitChanged ( const QString &  )
signal

Emmited when the unit of measure of the graphic scale was changed.

◆ unitsPerGapChanged

void te::qt::widgets::ScalePropertyBrowser::unitsPerGapChanged ( const int &  )
signal

Emmited when the units per interval was changed.

◆ valueChanged [1/9]

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

◆ valueChanged [2/9]

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

◆ valueChanged [3/9]

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

◆ valueChanged [4/9]

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

◆ valueChanged [5/9]

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

◆ valueChanged [6/9]

void te::qt::widgets::ScalePropertyBrowser::valueChanged ( QtProperty *  p,
bool  value 
)
protectedslot

Called when a property of boolean type changed.

Parameters
pThe property that was changed.
valueThe new value.

◆ valueChanged [7/9]

void te::qt::widgets::ScalePropertyBrowser::valueChanged ( QtProperty *  p,
const QColor &  value 
)
protectedslot

Called when a property of color type changed.

Parameters
pThe property that was changed.
valueThe new value.

◆ valueChanged [8/9]

void te::qt::widgets::ScalePropertyBrowser::valueChanged ( QtProperty *  p,
const QFont &  value 
)
protectedslot

Called when a property of font type changed.

Parameters
pThe property that was changed.
valueThe new value.

◆ valueChanged [9/9]

void te::qt::widgets::ScalePropertyBrowser::valueChanged ( QtProperty *  p,
int  value 
)
protectedslot

Called when a property of int type changed.

Parameters
pThe property that was changed.
valueThe new value.

Member Data Documentation

◆ m_colorParent

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

Definition at line 97 of file AbstractPropertyItem.h.

◆ m_idToProperty

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

Definition at line 95 of file AbstractPropertyItem.h.

◆ m_propertyBrowser

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

Definition at line 92 of file AbstractPropertyItem.h.

◆ m_propertyToId

QMap<QtProperty *, QString> te::qt::widgets::AbstractPropertyItem::m_propertyToId
protectedinherited

Definition at line 94 of file AbstractPropertyItem.h.


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