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

#include <satellitearray.h>

Inheritance diagram for Inkscape::LivePathEffect::SatelliteArrayParam:
Inkscape::LivePathEffect::ArrayParam< std::shared_ptr< SatelliteReference > > Inkscape::LivePathEffect::Parameter

Public Member Functions

 SatelliteArrayParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, bool visible)
 
 ~SatelliteArrayParam () override
 
 SatelliteArrayParam (const SatelliteArrayParam &)=delete
 
SatelliteArrayParamoperator= (const SatelliteArrayParam &)=delete
 
Gtk::Widget * param_newWidget () override
 
bool param_readSVGValue (char const *strvalue) override
 
void link (SPObject *to, size_t pos=Glib::ustring::npos)
 
void unlink (std::shared_ptr< SatelliteReference > const &to)
 
void unlink (SPObject *to)
 
bool is_connected ()
 
void clear ()
 
void start_listening ()
 
void quit_listening ()
 
ParamType paramType () const override
 
- Public Member Functions inherited from Inkscape::LivePathEffect::ArrayParam< std::shared_ptr< SatelliteReference > >
 ArrayParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, std::size_t n=0)
 
 ArrayParam (const ArrayParam &)
 
ArrayParamoperator= (const ArrayParam &)
 
std::vector< std::shared_ptr< SatelliteReference > > const & data () const
 
void param_update_default (char const *default_value) override
 
Glib::ustring param_getSVGValue () const override
 
Glib::ustring param_getDefaultSVGValue () const override
 
void param_setValue (std::vector< std::shared_ptr< SatelliteReference > > const &new_vector)
 
void param_set_default () override
 
void param_set_and_write_new_value (std::vector< std::shared_ptr< SatelliteReference > > const &new_vector)
 
bool valid_index (int index) const
 
- 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 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
 
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)
 
void param_higlight (bool highlight)
 
void change_selection (Inkscape::Selection *selection)
 
void update_satellites ()
 
EffectType effectType () const
 
void connect_selection_changed ()
 

Private Member Functions

void linked_modified (SPObject *linked_obj, guint flags)
 
bool _selectIndex (const Gtk::TreeModel::iterator &iter, int *i)
 
void updatesignal ()
 
void on_link_button_click ()
 
void on_remove_button_click ()
 
void move_up_down (int delta, Glib::ustring const &word)
 
void on_up_button_click ()
 
void on_down_button_click ()
 
void on_active_toggled (const Glib::ustring &item)
 
void update ()
 
void initui ()
 
std::vector< SPObject * > param_get_satellites () override
 

Private Attributes

std::unique_ptr< ModelColumns > _model
 
Glib::RefPtr< Gtk::TreeStore > _store
 
std::unique_ptr< Gtk::TreeView > _tree
 
std::unique_ptr< Gtk::ScrolledWindow > _scroller
 
bool _visible {}
 
std::vector< sigc::scoped_connection > linked_connections
 

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::ArrayParam< std::shared_ptr< SatelliteReference > >
void writesvg (SVGOStringStream &str, std::vector< std::shared_ptr< SatelliteReference > > const &vector) const
 
void writesvgData (SVGOStringStream &str, float const &vector_data) const
 
void writesvgData (SVGOStringStream &str, double const &vector_data) const
 
void writesvgData (SVGOStringStream &str, Glib::ustring const &vector_data) const
 
void writesvgData (SVGOStringStream &str, Geom::Point const &vector_data) const
 
void writesvgData (SVGOStringStream &str, std::shared_ptr< SatelliteReference > const &vector_data) const
 
void writesvgData (SVGOStringStream &str, std::vector< NodeSatellite > const &vector_data) const
 
std::shared_ptr< SatelliteReferencereadsvg (char const *str)
 
double readsvg (char const *const str)
 
float readsvg (char const *const str)
 
Glib::ustring readsvg (char const *const str)
 
Geom::Point readsvg (char const *const str)
 
std::shared_ptr< SatelliteReferencereadsvg (char const *const str)
 
std::vector< NodeSatellitereadsvg (char const *const str)
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::Parameter
void param_write_to_repr (const char *svgd)
 
- Protected Attributes inherited from Inkscape::LivePathEffect::ArrayParam< std::shared_ptr< SatelliteReference > >
std::vector< std::shared_ptr< SatelliteReference > > _vector
 
std::size_t _default_size
 
- Protected Attributes inherited from Inkscape::LivePathEffect::Parameter
bool _updating = false
 
Inkscape::Display::TemporaryItemownerlocator = nullptr
 
Effectparam_effect
 

Detailed Description

Definition at line 37 of file satellitearray.h.

Constructor & Destructor Documentation

◆ SatelliteArrayParam() [1/2]

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

◆ ~SatelliteArrayParam()

Inkscape::LivePathEffect::SatelliteArrayParam::~SatelliteArrayParam ( )
override

◆ SatelliteArrayParam() [2/2]

Inkscape::LivePathEffect::SatelliteArrayParam::SatelliteArrayParam ( const SatelliteArrayParam )
delete

Member Function Documentation

◆ _selectIndex()

bool Inkscape::LivePathEffect::SatelliteArrayParam::_selectIndex ( const Gtk::TreeModel::iterator &  iter,
int *  i 
)
private

Definition at line 227 of file satellitearray.cpp.

References _tree.

Referenced by move_up_down().

◆ clear()

◆ initui()

void Inkscape::LivePathEffect::SatelliteArrayParam::initui ( )
private

◆ is_connected()

◆ link()

◆ linked_modified()

◆ move_up_down()

void Inkscape::LivePathEffect::SatelliteArrayParam::move_up_down ( int  delta,
Glib::ustring const &  word 
)
private

◆ on_active_toggled()

void Inkscape::LivePathEffect::SatelliteArrayParam::on_active_toggled ( const Glib::ustring &  item)
private

◆ on_down_button_click()

void Inkscape::LivePathEffect::SatelliteArrayParam::on_down_button_click ( )
private

Definition at line 265 of file satellitearray.cpp.

References move_up_down().

Referenced by param_newWidget().

◆ on_link_button_click()

◆ on_remove_button_click()

void Inkscape::LivePathEffect::SatelliteArrayParam::on_remove_button_click ( )
private

◆ on_up_button_click()

void Inkscape::LivePathEffect::SatelliteArrayParam::on_up_button_click ( )
private

Definition at line 259 of file satellitearray.cpp.

References move_up_down().

Referenced by param_newWidget().

◆ operator=()

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

◆ param_get_satellites()

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

◆ param_newWidget()

◆ param_readSVGValue()

◆ paramType()

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

◆ quit_listening()

void Inkscape::LivePathEffect::SatelliteArrayParam::quit_listening ( )

Definition at line 155 of file satellitearray.cpp.

References linked_connections.

Referenced by start_listening(), and ~SatelliteArrayParam().

◆ start_listening()

◆ unlink() [1/2]

void Inkscape::LivePathEffect::SatelliteArrayParam::unlink ( SPObject to)

◆ unlink() [2/2]

void Inkscape::LivePathEffect::SatelliteArrayParam::unlink ( std::shared_ptr< SatelliteReference > const &  to)

Definition at line 447 of file satellitearray.cpp.

References unlink().

Referenced by on_remove_button_click(), param_readSVGValue(), and unlink().

◆ update()

void Inkscape::LivePathEffect::SatelliteArrayParam::update ( )
private

◆ updatesignal()

Member Data Documentation

◆ _model

std::unique_ptr<ModelColumns> Inkscape::LivePathEffect::SatelliteArrayParam::_model
private

◆ _scroller

std::unique_ptr<Gtk::ScrolledWindow> Inkscape::LivePathEffect::SatelliteArrayParam::_scroller
private

Definition at line 68 of file satellitearray.h.

Referenced by initui(), and param_newWidget().

◆ _store

Glib::RefPtr<Gtk::TreeStore> Inkscape::LivePathEffect::SatelliteArrayParam::_store
private

◆ _tree

std::unique_ptr<Gtk::TreeView> Inkscape::LivePathEffect::SatelliteArrayParam::_tree
private

◆ _visible

bool Inkscape::LivePathEffect::SatelliteArrayParam::_visible {}
private

Definition at line 80 of file satellitearray.h.

Referenced by link(), on_link_button_click(), param_newWidget(), and SatelliteArrayParam().

◆ linked_connections

std::vector<sigc::scoped_connection> Inkscape::LivePathEffect::SatelliteArrayParam::linked_connections
private

Definition at line 81 of file satellitearray.h.

Referenced by is_connected(), param_readSVGValue(), quit_listening(), and start_listening().


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