Inkscape
Vector Graphics Editor
|
#include <bool.h>
Public Member Functions | |
BoolParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, bool default_value=false) | |
~BoolParam () override | |
BoolParam (const BoolParam &)=delete | |
BoolParam & | operator= (const BoolParam &)=delete |
Gtk::Widget * | param_newWidget () override |
bool | param_readSVGValue (const gchar *strvalue) override |
Glib::ustring | param_getSVGValue () const override |
Glib::ustring | param_getDefaultSVGValue () const override |
void | param_setValue (bool newvalue) |
void | param_set_default () override |
void | param_update_default (bool const default_value) |
void | param_update_default (const gchar *default_value) override |
bool | get_value () const |
operator bool () const | |
ParamType | paramType () const override |
![]() | |
Parameter (Glib::ustring label, Glib::ustring tip, Glib::ustring key, Inkscape::UI::Widget::Registry *wr, Effect *effect) | |
virtual | ~Parameter () |
Parameter (const Parameter &)=delete | |
Parameter & | operator= (const Parameter &)=delete |
virtual bool | param_readSVGValue (char const *strvalue)=0 |
virtual void | param_widget_is_visible (bool is_visible) |
virtual void | param_widget_is_enabled (bool is_enabled) |
void | write_to_SVG () |
void | read_from_SVG () |
void | setUpdating (bool updating) |
bool | getUpdating () const |
virtual void | param_update_default (char const *default_value)=0 |
Glib::ustring const * | param_getTooltip () const |
virtual bool | providesKnotHolderEntities () const |
virtual void | addKnotHolderEntities (KnotHolder *, SPItem *) |
virtual void | addCanvasIndicators (SPLPEItem const *, std::vector< Geom::PathVector > &) |
virtual void | param_editOncanvas (SPItem *, SPDesktop *) |
virtual void | param_setup_nodepath (Inkscape::NodePath::Path *) |
virtual void | param_transform_multiply (Geom::Affine const &, bool set) |
virtual std::vector< SPObject * > | param_get_satellites () |
void | param_higlight (bool highlight) |
void | change_selection (Inkscape::Selection *selection) |
void | update_satellites () |
EffectType | effectType () const |
void | connect_selection_changed () |
Private Attributes | |
bool | value |
bool | defvalue |
Additional Inherited Members | |
![]() | |
sigc::scoped_connection | selection_changed_connection |
Glib::ustring | param_key |
Glib::ustring | param_tooltip |
Inkscape::UI::Widget::Registry * | param_wr |
Glib::ustring | param_label |
bool | oncanvas_editable |
bool | widget_is_visible |
bool | widget_is_enabled |
![]() | |
void | param_write_to_repr (const char *svgd) |
![]() | |
bool | _updating = false |
Inkscape::Display::TemporaryItem * | ownerlocator = nullptr |
Effect * | param_effect |
Inkscape::LivePathEffect::BoolParam::BoolParam | ( | const Glib::ustring & | label, |
const Glib::ustring & | tip, | ||
const Glib::ustring & | key, | ||
Inkscape::UI::Widget::Registry * | wr, | ||
Effect * | effect, | ||
bool | default_value = false |
||
) |
|
overridedefault |
|
delete |
|
inline |
Definition at line 44 of file bool.h.
References value.
Referenced by Inkscape::LivePathEffect::LPEBool::doEffect(), Inkscape::LivePathEffect::LPEBoundingBox::doEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doEffect(), Inkscape::LivePathEffect::LPEKnot::doEffect_path(), Inkscape::LivePathEffect::LPECurveStitch::doEffect_path(), Inkscape::LivePathEffect::LPEPts2Ellipse::doEffect_path(), Inkscape::LivePathEffect::LPEVonKoch::doEffect_path(), Inkscape::LivePathEffect::LPEBendPath::doEffect_pwd2(), Inkscape::LivePathEffect::LPEEnvelope::doEffect_pwd2(), Inkscape::LivePathEffect::LPEPatternAlongPath::doEffect_pwd2(), Inkscape::LivePathEffect::LPERoughHatches::doEffect_pwd2(), Inkscape::LivePathEffect::LPEPts2Ellipse::genFitEllipse(), Inkscape::LivePathEffect::LPEPts2Ellipse::genIsometricEllipse(), Inkscape::LivePathEffect::LPEPts2Ellipse::genPerspectiveEllipse(), Inkscape::LivePathEffect::LPEPts2Ellipse::genSteinerEllipse(), and Inkscape::LivePathEffect::LPERoughHatches::smoothSnake().
|
inline |
|
overridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 63 of file bool.cpp.
References defvalue.
|
overridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 57 of file bool.cpp.
References value.
|
overridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 69 of file bool.cpp.
References Inkscape::LivePathEffect::Effect::getRepr(), Inkscape::LivePathEffect::Effect::getSPDoc(), Inkscape::LivePathEffect::Parameter::param_effect, Inkscape::LivePathEffect::Parameter::param_key, Inkscape::LivePathEffect::Parameter::param_label, Inkscape::LivePathEffect::Parameter::param_tooltip, Inkscape::LivePathEffect::Parameter::param_wr, value, and Inkscape::LivePathEffect::Parameter::widget_is_visible.
|
override |
Definition at line 50 of file bool.cpp.
References defvalue, param_setValue(), and Inkscape::Util::read_bool().
|
overridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 32 of file bool.cpp.
References defvalue, and param_setValue().
void Inkscape::LivePathEffect::BoolParam::param_setValue | ( | bool | newvalue | ) |
Definition at line 89 of file bool.cpp.
References Inkscape::LivePathEffect::Parameter::param_effect, Inkscape::LivePathEffect::Effect::refresh_widgets, and value.
Referenced by Inkscape::LivePathEffect::LPECopyRotate::cloneD(), Inkscape::LivePathEffect::LPEMirrorSymmetry::cloneD(), Inkscape::LivePathEffect::LPETiling::cloneD(), Inkscape::LivePathEffect::LPESlice::doBeforeEffect(), Inkscape::LivePathEffect::LPETransform2Pts::doBeforeEffect(), Inkscape::LivePathEffect::LPETiling::doEffect_path_post(), Inkscape::LivePathEffect::LPEFilletChamfer::doOnApply(), Inkscape::LivePathEffect::LPESlice::doOnApply(), Inkscape::LivePathEffect::LPEPowerMask::doOnRemove(), param_readSVGValue(), param_set_default(), Inkscape::LivePathEffect::LPETiling::setGapXMode(), Inkscape::LivePathEffect::LPETiling::setGapYMode(), Inkscape::LivePathEffect::LPETiling::setMirroring(), Inkscape::LivePathEffect::LPETiling::setOffsetCols(), Inkscape::LivePathEffect::LPETiling::setOffsetRows(), Inkscape::LivePathEffect::LPETiling::setRotateInterpolate(), Inkscape::LivePathEffect::LPETiling::setRotateRandom(), Inkscape::LivePathEffect::LPETiling::setScaleInterpolate(), and Inkscape::LivePathEffect::LPETiling::setScaleRandom().
void Inkscape::LivePathEffect::BoolParam::param_update_default | ( | bool const | default_value | ) |
|
override |
Definition at line 44 of file bool.cpp.
References defvalue, param_update_default(), and Inkscape::Util::read_bool().
|
inlineoverridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 46 of file bool.h.
References Inkscape::LivePathEffect::BOOL.
|
private |
Definition at line 50 of file bool.h.
Referenced by param_getDefaultSVGValue(), param_readSVGValue(), param_set_default(), param_update_default(), and param_update_default().
|
private |
Definition at line 49 of file bool.h.
Referenced by get_value(), operator bool(), param_getSVGValue(), param_newWidget(), and param_setValue().