Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Inkscape::LivePathEffect::SatelliteParam Class Reference

#include <satellite.h>

Inheritance diagram for Inkscape::LivePathEffect::SatelliteParam:
Inkscape::LivePathEffect::Parameter Inkscape::LivePathEffect::OriginalSatelliteParam

Public Member Functions

 SatelliteParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
 
 ~SatelliteParam () override
 
bool param_readSVGValue (const gchar *strvalue) override
 
Glib::ustring param_getSVGValue () const override
 
Glib::ustring param_getDefaultSVGValue () const override
 
void param_set_default () override
 
void param_update_default (const gchar *default_value) override
 
bool linksToItem () const
 
SPObjectgetObject () const
 
Gtk::Widget * param_newWidget () override
 
void addCanvasIndicators (SPLPEItem const *lpeitem, std::vector< Geom::PathVector > &hp_vec) override
 
void on_link_button_click ()
 
bool isConnected ()
 
void start_listening (SPObject *to)
 
void unlink ()
 
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 param_editOncanvas (SPItem *, SPDesktop *)
 
virtual void param_setup_nodepath (Inkscape::NodePath::Path *)
 
virtual void param_transform_multiply (Geom::Affine const &, bool set)
 
void param_higlight (bool highlight)
 
void change_selection (Inkscape::Selection *selection)
 
void update_satellites ()
 
EffectType effectType () const
 
void connect_selection_changed ()
 

Public Attributes

Geom::Affine last_transform
 
bool lookup = false
 
- 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

void link (Glib::ustring itemid)
 
void quit_listening ()
 
void linked_released (SPObject *released_item)
 
void linked_deleted (SPObject *deleted_item)
 
void linked_transformed (Geom::Affine const *rel_transf, SPItem *moved_item)
 
void linked_modified (SPObject *linked_obj, guint flags)
 
void linked_changed (SPObject *old_obj, SPObject *new_obj)
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::Parameter
void param_write_to_repr (const char *svgd)
 

Protected Attributes

std::shared_ptr< SatelliteReferencelperef
 
- Protected Attributes inherited from Inkscape::LivePathEffect::Parameter
bool _updating = false
 
Inkscape::Display::TemporaryItemownerlocator = nullptr
 
Effectparam_effect
 

Private Member Functions

std::vector< SPObject * > param_get_satellites () override
 
 SatelliteParam (const SatelliteParam &)=delete
 
SatelliteParamoperator= (const SatelliteParam &)=delete
 

Private Attributes

sigc::connection linked_released_connection
 
sigc::connection linked_modified_connection
 
sigc::connection linked_transformed_connection
 
sigc::connection linked_changed_connection
 

Friends

class LPEBool
 
class LPECloneOriginal
 
class Effect
 

Detailed Description

Definition at line 23 of file satellite.h.

Constructor & Destructor Documentation

◆ SatelliteParam() [1/2]

Inkscape::LivePathEffect::SatelliteParam::SatelliteParam ( const Glib::ustring &  label,
const Glib::ustring &  tip,
const Glib::ustring &  key,
Inkscape::UI::Widget::Registry wr,
Effect effect 
)

Definition at line 31 of file satellite.cpp.

◆ ~SatelliteParam()

Inkscape::LivePathEffect::SatelliteParam::~SatelliteParam ( )
override

Definition at line 38 of file satellite.cpp.

References quit_listening().

◆ SatelliteParam() [2/2]

Inkscape::LivePathEffect::SatelliteParam::SatelliteParam ( const SatelliteParam )
privatedelete

Member Function Documentation

◆ addCanvasIndicators()

void Inkscape::LivePathEffect::SatelliteParam::addCanvasIndicators ( SPLPEItem const *  lpeitem,
std::vector< Geom::PathVector > &  hp_vec 
)
overridevirtual

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 237 of file satellite.cpp.

◆ getObject()

◆ isConnected()

bool Inkscape::LivePathEffect::SatelliteParam::isConnected ( )
inline

◆ link()

◆ linked_changed()

void Inkscape::LivePathEffect::SatelliteParam::linked_changed ( SPObject old_obj,
SPObject new_obj 
)
protected

Definition at line 197 of file satellite.cpp.

References quit_listening(), and start_listening().

Referenced by param_readSVGValue(), and start_listening().

◆ linked_deleted()

void Inkscape::LivePathEffect::SatelliteParam::linked_deleted ( SPObject deleted_item)
protected

◆ linked_modified()

◆ linked_released()

void Inkscape::LivePathEffect::SatelliteParam::linked_released ( SPObject released_item)
protected

◆ linked_transformed()

void Inkscape::LivePathEffect::SatelliteParam::linked_transformed ( Geom::Affine const *  rel_transf,
SPItem moved_item 
)
protected

◆ linksToItem()

bool Inkscape::LivePathEffect::SatelliteParam::linksToItem ( ) const

◆ on_link_button_click()

◆ operator=()

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

◆ param_get_satellites()

std::vector< SPObject * > Inkscape::LivePathEffect::SatelliteParam::param_get_satellites ( )
overrideprivatevirtual

◆ param_getDefaultSVGValue()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 126 of file satellite.cpp.

◆ param_getSVGValue()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 118 of file satellite.cpp.

References lperef.

Referenced by param_readSVGValue().

◆ param_newWidget()

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

◆ param_readSVGValue()

◆ param_set_default()

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

◆ param_update_default()

void Inkscape::LivePathEffect::SatelliteParam::param_update_default ( const gchar *  default_value)
inlineoverride

Definition at line 33 of file satellite.h.

◆ paramType()

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

Implements Inkscape::LivePathEffect::Parameter.

Definition at line 48 of file satellite.h.

References Inkscape::LivePathEffect::SATELLITE.

◆ quit_listening()

void Inkscape::LivePathEffect::SatelliteParam::quit_listening ( )
protected

◆ start_listening()

◆ unlink()

Friends And Related Symbol Documentation

◆ Effect

friend class Effect
friend

Definition at line 42 of file satellite.h.

◆ LPEBool

friend class LPEBool
friend

Definition at line 40 of file satellite.h.

◆ LPECloneOriginal

friend class LPECloneOriginal
friend

Definition at line 41 of file satellite.h.

Member Data Documentation

◆ last_transform

Geom::Affine Inkscape::LivePathEffect::SatelliteParam::last_transform

Definition at line 43 of file satellite.h.

Referenced by linked_modified().

◆ linked_changed_connection

sigc::connection Inkscape::LivePathEffect::SatelliteParam::linked_changed_connection
private

Definition at line 65 of file satellite.h.

Referenced by isConnected(), quit_listening(), and start_listening().

◆ linked_modified_connection

sigc::connection Inkscape::LivePathEffect::SatelliteParam::linked_modified_connection
private

Definition at line 63 of file satellite.h.

Referenced by quit_listening(), and start_listening().

◆ linked_released_connection

sigc::connection Inkscape::LivePathEffect::SatelliteParam::linked_released_connection
private

Definition at line 62 of file satellite.h.

Referenced by quit_listening(), and start_listening().

◆ linked_transformed_connection

sigc::connection Inkscape::LivePathEffect::SatelliteParam::linked_transformed_connection
private

Definition at line 64 of file satellite.h.

Referenced by param_get_satellites(), quit_listening(), and start_listening().

◆ lookup

bool Inkscape::LivePathEffect::SatelliteParam::lookup = false

◆ lperef


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