Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::LivePathEffect::BoolParam Class Reference

#include <bool.h>

Inheritance diagram for Inkscape::LivePathEffect::BoolParam:
Inkscape::LivePathEffect::Parameter

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
 
BoolParamoperator= (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
 
- Public Member Functions inherited from Inkscape::LivePathEffect::Parameter
 Parameter (Glib::ustring label, Glib::ustring tip, Glib::ustring key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
 
virtual ~Parameter ()
 
 Parameter (const Parameter &)=delete
 
Parameteroperator= (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

- Public Attributes inherited from Inkscape::LivePathEffect::Parameter
sigc::scoped_connection selection_changed_connection
 
Glib::ustring param_key
 
Glib::ustring param_tooltip
 
Inkscape::UI::Widget::Registryparam_wr
 
Glib::ustring param_label
 
bool oncanvas_editable
 
bool widget_is_visible
 
bool widget_is_enabled
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::Parameter
void param_write_to_repr (const char *svgd)
 
- Protected Attributes inherited from Inkscape::LivePathEffect::Parameter
bool _updating = false
 
Inkscape::Display::TemporaryItemownerlocator = nullptr
 
Effectparam_effect
 

Detailed Description

Definition at line 22 of file bool.h.

Constructor & Destructor Documentation

◆ BoolParam() [1/2]

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 
)

Definition at line 22 of file bool.cpp.

◆ ~BoolParam()

Inkscape::LivePathEffect::BoolParam::~BoolParam ( )
overridedefault

◆ BoolParam() [2/2]

Inkscape::LivePathEffect::BoolParam::BoolParam ( const BoolParam )
delete

Member Function Documentation

◆ get_value()

◆ operator bool()

Inkscape::LivePathEffect::BoolParam::operator bool ( ) const
inline

Definition at line 45 of file bool.h.

References value.

◆ operator=()

BoolParam & Inkscape::LivePathEffect::BoolParam::operator= ( const BoolParam )
delete

◆ param_getDefaultSVGValue()

Glib::ustring Inkscape::LivePathEffect::BoolParam::param_getDefaultSVGValue ( ) const
overridevirtual

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 63 of file bool.cpp.

References defvalue.

◆ param_getSVGValue()

Glib::ustring Inkscape::LivePathEffect::BoolParam::param_getSVGValue ( ) const
overridevirtual

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 57 of file bool.cpp.

References value.

◆ param_newWidget()

◆ param_readSVGValue()

bool Inkscape::LivePathEffect::BoolParam::param_readSVGValue ( const gchar *  strvalue)
override

Definition at line 50 of file bool.cpp.

References defvalue, param_setValue(), and Inkscape::Util::read_bool().

◆ param_set_default()

void Inkscape::LivePathEffect::BoolParam::param_set_default ( )
overridevirtual

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 32 of file bool.cpp.

References defvalue, and param_setValue().

◆ param_setValue()

◆ param_update_default() [1/2]

void Inkscape::LivePathEffect::BoolParam::param_update_default ( bool const  default_value)

Definition at line 38 of file bool.cpp.

References defvalue.

Referenced by param_update_default().

◆ param_update_default() [2/2]

void Inkscape::LivePathEffect::BoolParam::param_update_default ( const gchar *  default_value)
override

Definition at line 44 of file bool.cpp.

References defvalue, param_update_default(), and Inkscape::Util::read_bool().

◆ paramType()

ParamType Inkscape::LivePathEffect::BoolParam::paramType ( ) const
inlineoverridevirtual

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 46 of file bool.h.

References Inkscape::LivePathEffect::BOOL.

Member Data Documentation

◆ defvalue

bool Inkscape::LivePathEffect::BoolParam::defvalue
private

◆ value

bool Inkscape::LivePathEffect::BoolParam::value
private

Definition at line 49 of file bool.h.

Referenced by get_value(), operator bool(), param_getSVGValue(), param_newWidget(), and param_setValue().


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