Change a color property. More...
#include <PropertyItem.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
virtual QVariant | decoration (const App::Property *) const |
PropertyColorItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
Change a color property.
Definition at line 471 of file PropertyItem.h.
PropertyColorItem::PropertyColorItem | ( | ) | [protected] |
Definition at line 1462 of file PropertyItem.cpp.
void * Gui::PropertyEditor::PropertyColorItem::create | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1460 of file PropertyItem.cpp.
QVariant PropertyColorItem::decoration | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1466 of file PropertyItem.cpp.
References App::Color::b, SketcherExample::f, App::Color::g, draftTools::p, and App::Color::r.
Base::Type Gui::PropertyEditor::PropertyColorItem::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1460 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyColorItem::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1460 of file PropertyItem.cpp.
void Gui::PropertyEditor::PropertyColorItem::init | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1460 of file PropertyItem.cpp.
void PropertyColorItem::setValue | ( | const QVariant & | value | ) | [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1494 of file PropertyItem.cpp.
References Gui::PropertyEditor::PropertyItem::setPropertyValue().
QVariant PropertyColorItem::toString | ( | const QVariant & | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1478 of file PropertyItem.cpp.
QVariant PropertyColorItem::value | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1486 of file PropertyItem.cpp.
References SketcherExample::f, App::PropertyColor::getClassTypeId(), App::Property::getTypeId(), and Base::Type::isDerivedFrom().