te::qt::widgets::ScalePropertyItem Class Reference

A widget used to define the scale values. More...

#include <ScalePropertyItem.h>

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

Public Slots

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

Initializer Methods

Methods related to instantiation and destruction.

 ScalePropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~ScalePropertyItem ()
 Destructor. 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
 

Re-implementation of Pure Virtual Method

AbstractPropertyItem methods.

QtProperty * m_minScaleProperty
 
QtProperty * m_maxScaleProperty
 
double m_minScale
 
double m_maxScale
 
void setMinScaleDenominator (const double &value)
 
double getMinScaleDenominator ()
 
void setMaxScaleDenominator (const double &value)
 
double getMaxScaleDenominator ()
 
virtual void valueChanged (QtProperty *p, double value)
 
void scaleMinChanged ()
 
void scaleMaxChanged ()
 

Detailed Description

A widget used to define the scale values.

Definition at line 47 of file ScalePropertyItem.h.

Constructor & Destructor Documentation

◆ ScalePropertyItem()

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

Constructor.

◆ ~ScalePropertyItem()

te::qt::widgets::ScalePropertyItem::~ScalePropertyItem ( )

Destructor.

Member Function Documentation

◆ addProperty()

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

◆ getMaxScaleDenominator()

double te::qt::widgets::ScalePropertyItem::getMaxScaleDenominator ( )

◆ getMinScaleDenominator()

double te::qt::widgets::ScalePropertyItem::getMinScaleDenominator ( )

◆ scaleMaxChanged

void te::qt::widgets::ScalePropertyItem::scaleMaxChanged ( )
signal

◆ scaleMinChanged

void te::qt::widgets::ScalePropertyItem::scaleMinChanged ( )
signal

This signal is emitted when the internal fill element is changed.

◆ setExpandedStatus()

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

◆ setMaxScaleDenominator()

void te::qt::widgets::ScalePropertyItem::setMaxScaleDenominator ( const double &  value)

◆ setMinScaleDenominator()

void te::qt::widgets::ScalePropertyItem::setMinScaleDenominator ( const double &  value)

◆ valueChanged [1/9]

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

◆ valueChanged [2/9]

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

◆ valueChanged [3/9]

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

◆ valueChanged [4/9]

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

◆ valueChanged [5/9]

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

◆ valueChanged [6/9]

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

◆ valueChanged [7/9]

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

◆ valueChanged [8/9]

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

◆ valueChanged [9/9]

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 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_maxScale

double te::qt::widgets::ScalePropertyItem::m_maxScale
protected

Definition at line 97 of file ScalePropertyItem.h.

◆ m_maxScaleProperty

QtProperty* te::qt::widgets::ScalePropertyItem::m_maxScaleProperty
protected

Definition at line 94 of file ScalePropertyItem.h.

◆ m_minScale

double te::qt::widgets::ScalePropertyItem::m_minScale
protected

Definition at line 96 of file ScalePropertyItem.h.

◆ m_minScaleProperty

QtProperty* te::qt::widgets::ScalePropertyItem::m_minScaleProperty
protected

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