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

#include <preferences-widget.h>

Inheritance diagram for Inkscape::UI::Widget::PrefColorPicker:
Inkscape::UI::Widget::ColorPicker

Public Member Functions

 PrefColorPicker ()
 
 ~PrefColorPicker () override=default
 
void init (Glib::ustring const &abel, Glib::ustring const &prefs_path, std::string const &default_color)
 
- Public Member Functions inherited from Inkscape::UI::Widget::ColorPicker
 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
 

Detailed Description

Definition at line 286 of file preferences-widget.h.

Constructor & Destructor Documentation

◆ PrefColorPicker()

Inkscape::UI::Widget::PrefColorPicker::PrefColorPicker ( )
inline

Definition at line 289 of file preferences-widget.h.

◆ ~PrefColorPicker()

Inkscape::UI::Widget::PrefColorPicker::~PrefColorPicker ( )
overridedefault

Member Function Documentation

◆ init()

void Inkscape::UI::Widget::PrefColorPicker::init ( Glib::ustring const &  abel,
Glib::ustring const &  prefs_path,
std::string const &  default_color 
)

◆ on_changed()

void Inkscape::UI::Widget::PrefColorPicker::on_changed ( Inkscape::Colors::Color const &  color)
overrideprivatevirtual

Member Data Documentation

◆ _prefs_path

Glib::ustring Inkscape::UI::Widget::PrefColorPicker::_prefs_path
private

Definition at line 296 of file preferences-widget.h.

Referenced by init(), and on_changed().


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