Inkscape
Vector Graphics Editor
|
#include <registered-widget.h>
Public Member Functions | |
RegisteredText (Glib::ustring const &label, Glib::ustring const &tip, Glib::ustring const &key, Registry &wr, Inkscape::XML::Node *repr_in=nullptr, SPDocument *doc_in=nullptr) | |
![]() | |
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 |
![]() | |
Text (Glib::ustring const &label, Glib::ustring const &tooltip, Glib::ustring const &icon={}, bool mnemonic=true) | |
Construct a Text Widget. | |
Glib::ustring const | getText () const |
Get the text in the entry. | |
void | setText (Glib::ustring const text) |
Sets the text of the text entry. | |
void | update () |
Glib::SignalProxy< void()> | signal_activate () |
Signal raised when the spin button's value changes. | |
![]() | |
Labelled (Glib::ustring const &label, Glib::ustring const &tooltip, Gtk::Widget *widget, Glib::ustring const &icon={}, bool mnemonic=true) | |
Construct a Labelled Widget. | |
Gtk::Widget const * | getWidget () const |
Gtk::Widget * | getWidget () |
Gtk::Label const * | getLabel () const |
Gtk::Label * | getLabel () |
Protected Member Functions | |
void | on_activate () |
![]() | |
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) |
Private Attributes | |
sigc::scoped_connection | _activate_connection |
Additional Inherited Members | |
![]() | |
bool | setProgrammatically |
![]() | |
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 268 of file registered-widget.h.
Inkscape::UI::Widget::RegisteredText::RegisteredText | ( | Glib::ustring const & | label, |
Glib::ustring const & | tip, | ||
Glib::ustring const & | key, | ||
Registry & | wr, | ||
Inkscape::XML::Node * | repr_in = nullptr , |
||
SPDocument * | doc_in = nullptr |
||
) |
Definition at line 364 of file registered-widget.cpp.
References _activate_connection, Inkscape::UI::Widget::RegisteredWidget< Text >::init_parent(), key, on_activate(), Inkscape::UI::Widget::Text::setProgrammatically, and Inkscape::UI::Widget::Text::signal_activate().
|
protected |
Definition at line 376 of file registered-widget.cpp.
References Inkscape::UI::Widget::RegisteredWidget< Text >::_wr, Inkscape::UI::Widget::Text::getText(), Inkscape::UI::Widget::Registry::isUpdating(), Inkscape::UI::Widget::Text::setProgrammatically, Inkscape::UI::Widget::Registry::setUpdating(), Inkscape::SVGOStringStream::str(), and Inkscape::UI::Widget::RegisteredWidget< Text >::write_to_xml().
Referenced by RegisteredText().
|
private |
Definition at line 281 of file registered-widget.h.
Referenced by RegisteredText().