Inkscape
Vector Graphics Editor
|
#include <preferences-widget.h>
Public Member Functions | |
PrefColorPicker () | |
~PrefColorPicker () override=default | |
void | init (Glib::ustring const &abel, Glib::ustring const &prefs_path, std::string const &default_color) |
![]() | |
ColorPicker (Glib::ustring title, Glib::ustring const &tip, Colors::Color const &initial, bool undo, bool use_transparency=true) | |
ColorPicker (BaseObjectType *cobject, Glib::RefPtr< Gtk::Builder > const &, Glib::ustring title, bool use_transparency=true) | |
~ColorPicker () override | |
void | setColor (Colors::Color const &) |
void | open () |
void | close () |
void | setTitle (Glib::ustring title) |
sigc::connection | connectChanged (sigc::slot< void(Colors::Color const &)> slot) |
Colors::Color | get_current_color () const |
Private Member Functions | |
void | on_changed (Inkscape::Colors::Color const &color) override |
Private Attributes | |
Glib::ustring | _prefs_path |
Definition at line 286 of file preferences-widget.h.
|
inline |
Definition at line 289 of file preferences-widget.h.
|
overridedefault |
void Inkscape::UI::Widget::PrefColorPicker::init | ( | Glib::ustring const & | abel, |
Glib::ustring const & | prefs_path, | ||
std::string const & | default_color | ||
) |
Definition at line 924 of file preferences-widget.cpp.
References _prefs_path, default_color(), Inkscape::Preferences::get(), Inkscape::Preferences::getColor(), label, prefs_path, Inkscape::UI::Widget::ColorPicker::setColor(), and Inkscape::UI::Widget::ColorPicker::setTitle().
|
overrideprivatevirtual |
Reimplemented from Inkscape::UI::Widget::ColorPicker.
Definition at line 933 of file preferences-widget.cpp.
References _prefs_path, Inkscape::Preferences::get(), and Inkscape::Preferences::setColor().
|
private |
Definition at line 296 of file preferences-widget.h.
Referenced by init(), and on_changed().