Widget with propeties of a Grid for the users to change the presentation of the grid on the display.
More...
#include <GridPropertyWidget.h>
|
|
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...
|
|
|
|
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...
|
|
|
Methods related to instantiation and destruction.
|
QtProperty * | getItemProperty () const |
|
void | setPropertyColor (QtProperty *property, QColor c) |
|
void | addProperty (QtProperty *qProperty, const QColor &qColor) |
|
void | addSubProperty (QtProperty *qPropertyParent, QtProperty *qProperty, const QColor &qColor) |
|
void | setExpandedStatus (QtBrowserItem *item, bool status, bool applyToChildren) |
|
void | setExpandedStatus (bool status, bool applyToChildren) |
|
void | setChildrenEnabled (bool enabled) |
|
QtTreePropertyBrowser * | m_propertyBrowser |
|
QColor | m_colorParent |
|
bool | m_enableListeners |
|
QtProperty * | m_itemProperty |
|
void | init (QtProperty *property) |
|
static QString | getValueFromEnumProperty (QtProperty *enumPropertyItem) |
|
static void | setValueToEnumProperty (QtProperty *enumPropertyItem, const QString &value) |
|
virtual void | valueChanged (QtProperty *p, const QVariant &qVariant) |
|
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) |
|
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.
◆ GridPropertyBrowser()
te::qt::widgets::GridPropertyBrowser::GridPropertyBrowser |
( |
QtTreePropertyBrowser * |
pb, |
|
|
Grid * |
wid |
|
) |
| |
◆ ~GridPropertyBrowser()
te::qt::widgets::GridPropertyBrowser::~GridPropertyBrowser |
( |
| ) |
|
◆ 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 |
◆ 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.
◆ getItemProperty()
QtProperty * te::qt::widgets::AbstractPropertyItem::getItemProperty |
( |
| ) |
const |
|
inherited |
◆ getValueFromEnumProperty()
static QString te::qt::widgets::AbstractPropertyItem::getValueFromEnumProperty |
( |
QtProperty * |
enumPropertyItem | ) |
|
|
staticinherited |
◆ gridTypeChanged
void te::qt::widgets::GridPropertyBrowser::gridTypeChanged |
( |
const int & |
| ) |
|
|
signal |
Emmited when the type was changed.
◆ init()
void te::qt::widgets::AbstractPropertyItem::init |
( |
QtProperty * |
property | ) |
|
|
protectedinherited |
◆ setChildrenEnabled()
void te::qt::widgets::AbstractPropertyItem::setChildrenEnabled |
( |
bool |
enabled | ) |
|
|
inherited |
◆ setExpandedStatus() [1/2]
void te::qt::widgets::AbstractPropertyItem::setExpandedStatus |
( |
bool |
status, |
|
|
bool |
applyToChildren |
|
) |
| |
|
inherited |
◆ setExpandedStatus() [2/2]
void te::qt::widgets::AbstractPropertyItem::setExpandedStatus |
( |
QtBrowserItem * |
item, |
|
|
bool |
status, |
|
|
bool |
applyToChildren |
|
) |
| |
|
inherited |
◆ 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 |
◆ valueChanged [1/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
bool |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [2/10]
void te::qt::widgets::GridPropertyBrowser::valueChanged |
( |
QtProperty * |
p, |
|
|
const QColor & |
value |
|
) |
| |
|
protectedslot |
Called when a property of color type changed.
- Parameters
-
p | The property that was changed. |
value | The new value. |
◆ valueChanged [3/10]
void te::qt::widgets::GridPropertyBrowser::valueChanged |
( |
QtProperty * |
p, |
|
|
const QFont & |
value |
|
) |
| |
|
protectedslot |
Called when a property of font type changed.
- Parameters
-
p | The property that was changed. |
value | The new value. |
◆ valueChanged [4/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
const QPointF & |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [5/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
const QSize & |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [6/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
const QSizeF & |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [7/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
const QString & |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [8/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
const QVariant & |
qVariant |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [9/10]
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged |
( |
QtProperty * |
p, |
|
|
double |
value |
|
) |
| |
|
virtualslotinherited |
◆ valueChanged [10/10]
void te::qt::widgets::GridPropertyBrowser::valueChanged |
( |
QtProperty * |
p, |
|
|
int |
value |
|
) |
| |
|
protectedslot |
Called when a property of int type changed.
- Parameters
-
p | The property that was changed. |
value | The new value. |
◆ m_colorParent
QColor te::qt::widgets::AbstractPropertyItem::m_colorParent |
|
protectedinherited |
◆ m_enableListeners
bool te::qt::widgets::AbstractPropertyItem::m_enableListeners |
|
protectedinherited |
◆ m_itemProperty
QtProperty* te::qt::widgets::AbstractPropertyItem::m_itemProperty |
|
protectedinherited |
◆ m_propertyBrowser
QtTreePropertyBrowser* te::qt::widgets::AbstractPropertyItem::m_propertyBrowser |
|
protectedinherited |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/canvas/GridPropertyWidget.h