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

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

Constructor.

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

Destructor.

Member Function Documentation

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  property,
const QString &  id,
QColor  c 
)
protectedinherited
double te::qt::widgets::ScalePropertyItem::getMaxScaleDenominator ( )
double te::qt::widgets::ScalePropertyItem::getMinScaleDenominator ( )
void te::qt::widgets::ScalePropertyItem::scaleMaxChanged ( )
signal
void te::qt::widgets::ScalePropertyItem::scaleMinChanged ( )
signal

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

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited
void te::qt::widgets::ScalePropertyItem::setMaxScaleDenominator ( const double &  value)
void te::qt::widgets::ScalePropertyItem::setMinScaleDenominator ( const double &  value)
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
int  value 
)
virtualslotinherited
virtual void te::qt::widgets::ScalePropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslot
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QString &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QColor &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QFont &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSize &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QPointF &  value 
)
virtualslotinherited

Member Data Documentation

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

Definition at line 95 of file AbstractPropertyItem.h.

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

Definition at line 93 of file AbstractPropertyItem.h.

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

Definition at line 97 of file ScalePropertyItem.h.

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

Definition at line 94 of file ScalePropertyItem.h.

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

Definition at line 96 of file ScalePropertyItem.h.

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

Definition at line 93 of file ScalePropertyItem.h.

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

Definition at line 90 of file AbstractPropertyItem.h.

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

Definition at line 92 of file AbstractPropertyItem.h.


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