te::qt::widgets::GridPropertyBrowser Class Reference

Widget with propeties of a Grid for the users to change the presentation of the grid on the display. More...

#include <GridPropertyWidget.h>

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

Public Slots

virtual void valueChanged (QtProperty *p, double value)
 
virtual void valueChanged (QtProperty *p, bool 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 grid to sinalizes the attributes that was changed.

void colorChanged (const QColor &)
 Emmited when the color was changed. More...
 
void fontChanged (const QFont &)
 Emmited when the font was changed. More...
 
void gridTypeChanged (const int &)
 Emmited when the type was changed. More...
 

Public Member Functions

Constructor and destructor methods.

Methods related to instantiation and destruction.

 GridPropertyBrowser (QtTreePropertyBrowser *pb, Grid *wid)
 Constructor. More...
 
 ~GridPropertyBrowser ()
 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, 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 Grid for the users to change the presentation of the grid on the display.

Definition at line 107 of file GridPropertyWidget.h.

Constructor & Destructor Documentation

◆ GridPropertyBrowser()

te::qt::widgets::GridPropertyBrowser::GridPropertyBrowser ( QtTreePropertyBrowser *  pb,
Grid wid 
)

Constructor.

Parameters
pbProperty browser.
widScaleWidget object to be used.

◆ ~GridPropertyBrowser()

te::qt::widgets::GridPropertyBrowser::~GridPropertyBrowser ( )

Destructor.

Member Function Documentation

◆ addProperty()

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

◆ colorChanged

void te::qt::widgets::GridPropertyBrowser::colorChanged ( const QColor &  )
signal

Emmited when the color was changed.

◆ fontChanged

void te::qt::widgets::GridPropertyBrowser::fontChanged ( const QFont &  )
signal

Emmited when the font was changed.

◆ gridTypeChanged

void te::qt::widgets::GridPropertyBrowser::gridTypeChanged ( const int &  )
signal

Emmited when the type was changed.

◆ setExpandedStatus()

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

◆ 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,
bool  value 
)
virtualslotinherited

◆ valueChanged [3/9]

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

◆ valueChanged [4/9]

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

◆ valueChanged [5/9]

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

◆ valueChanged [6/9]

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

◆ valueChanged [7/9]

void te::qt::widgets::GridPropertyBrowser::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::GridPropertyBrowser::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::GridPropertyBrowser::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: