Inkscape
Vector Graphics Editor
|
#include <registered-widget.h>
Public Member Functions | |
RegisteredCheckButton (Glib::ustring const &label, Glib::ustring const &tip, Glib::ustring const &key, Registry &wr, bool right=false, Inkscape::XML::Node *repr_in=nullptr, SPDocument *doc_in=nullptr, char const *active_str="true", char const *inactive_str="false") | |
void | setActive (bool) |
void | setSubordinateWidgets (std::vector< Gtk::Widget * > btns) |
![]() | |
void | set_undo_parameters (Glib::ustring _event_description, Glib::ustring _icon_name, std::string undo_id="") |
void | set_xml_target (Inkscape::XML::Node *xml_node, SPDocument *document) |
bool | is_updating () const |
Public Attributes | |
bool | setProgrammatically |
Private Member Functions | |
void | on_toggled () final |
Private Attributes | |
char const * | _active_str = nullptr |
char const * | _inactive_str = nullptr |
std::vector< Gtk::Widget * > | _subordinate_widgets |
Additional Inherited Members | |
![]() | |
RegisteredWidget (Args &&...args) | |
void | init_parent (Glib::ustring const &key, Registry &wr, Inkscape::XML::Node *const repr_in, SPDocument *const doc_in) |
void | write_to_xml (const char *const svgstr) |
![]() | |
Registry * | _wr |
Glib::ustring | _key |
Inkscape::XML::Node * | repr |
SPDocument * | doc |
Glib::ustring | event_description |
Glib::ustring | icon_name |
bool | write_undo |
std::string | _undo_id |
Definition at line 135 of file registered-widget.h.
Inkscape::UI::Widget::RegisteredCheckButton::RegisteredCheckButton | ( | Glib::ustring const & | label, |
Glib::ustring const & | tip, | ||
Glib::ustring const & | key, | ||
Registry & | wr, | ||
bool | right = false , |
||
Inkscape::XML::Node * | repr_in = nullptr , |
||
SPDocument * | doc_in = nullptr , |
||
char const * | active_str = "true" , |
||
char const * | inactive_str = "false" |
||
) |
Definition at line 34 of file registered-widget.cpp.
References Inkscape::UI::Widget::RegisteredWidget< Gtk::CheckButton >::init_parent(), key, label, and setProgrammatically.
|
finalprivate |
Definition at line 73 of file registered-widget.cpp.
References _active_str, _inactive_str, _subordinate_widgets, Inkscape::UI::Widget::RegisteredWidget< Gtk::CheckButton >::_wr, Inkscape::UI::Widget::Registry::isUpdating(), setProgrammatically, Inkscape::UI::Widget::Registry::setUpdating(), and Inkscape::UI::Widget::RegisteredWidget< Gtk::CheckButton >::write_to_xml().
void Inkscape::UI::Widget::RegisteredCheckButton::setActive | ( | bool | b | ) |
Definition at line 58 of file registered-widget.cpp.
References _subordinate_widgets, and setProgrammatically.
Referenced by Inkscape::UI::Dialog::DocumentProperties::update_widgets().
|
inline |
Definition at line 147 of file registered-widget.h.
References _subordinate_widgets.
|
private |
Definition at line 155 of file registered-widget.h.
Referenced by on_toggled().
|
private |
Definition at line 155 of file registered-widget.h.
Referenced by on_toggled().
|
private |
Definition at line 156 of file registered-widget.h.
Referenced by on_toggled(), setActive(), setSubordinateWidgets(), Inkscape::UI::Widget::RegisteredToggleButton::setSubordinateWidgets(), and Inkscape::UI::Widget::RegisteredSwitchButton::setSubordinateWidgets().
bool Inkscape::UI::Widget::RegisteredCheckButton::setProgrammatically |
Definition at line 151 of file registered-widget.h.
Referenced by on_toggled(), RegisteredCheckButton(), and setActive().