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

#include <hidden.h>

Inheritance diagram for Inkscape::LivePathEffect::HiddenParam:
Inkscape::LivePathEffect::Parameter

Public Member Functions

 HiddenParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, const Glib::ustring default_value="", bool widget_is_visible=false)
 
 ~HiddenParam () override=default
 
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 (Glib::ustring newvalue, bool write=false)
 
void param_set_default () override
 
void param_update_default (const gchar *default_value) override
 
const Glib::ustring get_value () 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 Member Functions

 HiddenParam (const HiddenParam &)=delete
 
HiddenParamoperator= (const HiddenParam &)=delete
 

Private Attributes

Glib::ustring value
 
Glib::ustring 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 29 of file hidden.h.

Constructor & Destructor Documentation

◆ HiddenParam() [1/2]

Inkscape::LivePathEffect::HiddenParam::HiddenParam ( const Glib::ustring &  label,
const Glib::ustring &  tip,
const Glib::ustring &  key,
Inkscape::UI::Widget::Registry wr,
Effect effect,
const Glib::ustring  default_value = "",
bool  widget_is_visible = false 
)

◆ ~HiddenParam()

Inkscape::LivePathEffect::HiddenParam::~HiddenParam ( )
overridedefault

◆ HiddenParam() [2/2]

Inkscape::LivePathEffect::HiddenParam::HiddenParam ( const HiddenParam )
privatedelete

Member Function Documentation

◆ get_value()

const Glib::ustring Inkscape::LivePathEffect::HiddenParam::get_value ( ) const
inline

Definition at line 50 of file hidden.h.

References value.

Referenced by Inkscape::LivePathEffect::LPEKnot::doEffect_path().

◆ operator=()

HiddenParam & Inkscape::LivePathEffect::HiddenParam::operator= ( const HiddenParam )
privatedelete

◆ param_getDefaultSVGValue()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 59 of file hidden.cpp.

References defvalue.

◆ param_getSVGValue()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 53 of file hidden.cpp.

References value.

Referenced by Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEPowerMask::doBeforeEffect(), Inkscape::LivePathEffect::LPERoughen::doBeforeEffect(), Inkscape::LivePathEffect::LPEBoundingBox::doEffect(), Inkscape::LivePathEffect::LPESimplify::doEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doEffect_path(), Inkscape::LivePathEffect::LPEPowerStroke::doEffect_path(), Inkscape::LivePathEffect::LPERuler::doEffect_pwd2(), Inkscape::LivePathEffect::LPEFilletChamfer::doOnApply(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnOpen(), Inkscape::LivePathEffect::LPEOffset::doOnOpen(), Inkscape::LivePathEffect::LPESlice::doOnOpen(), Inkscape::LivePathEffect::LPERoughen::jitter(), Inkscape::LivePathEffect::RandomParam::param_set_value(), SPLPEItem::performOnePathEffect(), Inkscape::LivePathEffect::LPEBool::remove_filter(), Inkscape::LivePathEffect::LPESimplify::setVersioningData(), Inkscape::LivePathEffect::LPERoughen::sign(), and sp_group_perform_patheffect().

◆ param_newWidget()

Gtk::Widget * Inkscape::LivePathEffect::HiddenParam::param_newWidget ( )
overridevirtual

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 65 of file hidden.cpp.

◆ param_readSVGValue()

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

Definition at line 46 of file hidden.cpp.

References param_setValue().

◆ param_set_default()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 33 of file hidden.cpp.

References defvalue, and param_setValue().

◆ param_setValue()

void Inkscape::LivePathEffect::HiddenParam::param_setValue ( Glib::ustring  newvalue,
bool  write = false 
)

Definition at line 71 of file hidden.cpp.

References Inkscape::LivePathEffect::Parameter::param_write_to_repr(), and value.

Referenced by Inkscape::LivePathEffect::LPEBool::add_filter(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEPowerMask::doBeforeEffect(), Inkscape::LivePathEffect::LPETiling::doOnApply(), Inkscape::LivePathEffect::LPEBoundingBox::doOnApply(), Inkscape::LivePathEffect::LPEBSpline::doOnApply(), Inkscape::LivePathEffect::LPECopyRotate::doOnApply(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnApply(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnApply(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnApply(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnApply(), Inkscape::LivePathEffect::LPEOffset::doOnApply(), Inkscape::LivePathEffect::LPEPowerStroke::doOnApply(), Inkscape::LivePathEffect::LPERoughHatches::doOnApply(), Inkscape::LivePathEffect::LPERoughen::doOnApply(), Inkscape::LivePathEffect::LPERuler::doOnApply(), Inkscape::LivePathEffect::LPESimplify::doOnApply(), Inkscape::LivePathEffect::LPESlice::doOnApply(), Inkscape::LivePathEffect::Effect::doOnApply_impl(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnOpen(), Inkscape::LivePathEffect::LPEOffset::doOnOpen(), Inkscape::LivePathEffect::LPESlice::doOnOpen(), Inkscape::LivePathEffect::LPETiling::doOnVisibilityToggled(), param_readSVGValue(), param_set_default(), Inkscape::LivePathEffect::LPEBool::remove_filter(), and Inkscape::LivePathEffect::LPEFilletChamfer::updateNodeSatelliteType().

◆ param_update_default()

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

Definition at line 39 of file hidden.cpp.

References defvalue.

◆ paramType()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 51 of file hidden.h.

References Inkscape::LivePathEffect::HIDDEN.

Member Data Documentation

◆ defvalue

Glib::ustring Inkscape::LivePathEffect::HiddenParam::defvalue
private

Definition at line 56 of file hidden.h.

Referenced by param_getDefaultSVGValue(), param_set_default(), and param_update_default().

◆ value

Glib::ustring Inkscape::LivePathEffect::HiddenParam::value
private

Definition at line 55 of file hidden.h.

Referenced by get_value(), param_getSVGValue(), and param_setValue().


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