Inkscape
Vector Graphics Editor
|
A panel that displays character glyphs. More...
#include <glyphs.h>
Public Member Functions | |
GlyphsPanel () | |
Constructor. | |
~GlyphsPanel () final | |
void | selectionChanged (Selection *selection) final |
void | selectionModified (Selection *selection, unsigned flags) final |
![]() | |
DialogBase (char const *prefs_path=nullptr, Glib::ustring dialog_type={}) | |
DialogBase constructor. | |
DialogBase (DialogBase const &)=delete | |
DialogBase & | operator= (DialogBase const &)=delete |
~DialogBase () override | |
virtual void | update () |
The update() method is essential to Gtk state management. | |
void | setDesktop (SPDesktop *new_desktop) |
Called when the desktop might have changed for this dialog. | |
void | on_map () override |
Glib::ustring const & | get_name () const |
Glib::ustring const & | getPrefsPath () const |
Glib::ustring const & | get_type () const |
const Glib::ustring & | get_icon () const |
void | blink () |
Highlight notebook where dialog already exists. | |
virtual void | focus_dialog () |
void | defocus_dialog () |
bool | getShowing () |
void | fix_inner_scroll (Gtk::ScrolledWindow &scrollwin) |
SPDesktop * | getDesktop () const |
Private Member Functions | |
void | rebuild () |
void | glyphActivated (Gtk::TreeModel::Path const &path) |
void | glyphSelectionChanged () |
void | readSelection (bool updateStyle, bool updateContent) |
void | calcCanInsert () |
void | insertText () |
Static Private Member Functions | |
static GlyphColumns * | getColumns () |
Private Attributes | |
Glib::RefPtr< Gtk::ListStore > | store |
Gtk::IconView * | iconView = nullptr |
Gtk::Entry * | entry = nullptr |
Gtk::Label * | label = nullptr |
Gtk::Button * | insertBtn = nullptr |
Gtk::ComboBoxText * | scriptCombo = nullptr |
Gtk::ComboBoxText * | rangeCombo = nullptr |
Inkscape::UI::Widget::FontSelector * | fontSelector = nullptr |
std::vector< sigc::scoped_connection > | instanceConns |
Additional Inherited Members | |
![]() | |
InkscapeApplication * | getApp () const |
SPDocument * | getDocument () const |
Selection * | getSelection () const |
void | setShowing (bool showing) |
function called from notebook dialog that performs an update of the dialog and sets the dialog showing state true | |
![]() | |
Glib::ustring | _name |
Glib::ustring const | _prefs_path |
Glib::ustring const | _dialog_type |
Inkscape::UI::Dialog::GlyphsPanel::GlyphsPanel | ( | ) |
Constructor.
Definition at line 397 of file glyphs.cpp.
References calcCanInsert(), Inkscape::UI::Widget::FontSelector::connectChanged(), entry, Inkscape::UI::expand_widget, fontSelector, getColumns(), Inkscape::UI::Dialog::getRanges(), Inkscape::UI::Dialog::getScriptToName(), glyphActivated(), glyphSelectionChanged(), iconView, insertBtn, insertText(), instanceConns, label, Inkscape::UI::pack_end(), Inkscape::UI::pack_start(), rangeCombo, rebuild(), scriptCombo, Inkscape::UI::shrink, and store.
|
finaldefault |
|
private |
Definition at line 627 of file glyphs.cpp.
References entry, Inkscape::UI::Dialog::DialogBase::getSelection(), iconView, insertBtn, items, Inkscape::ObjectSet::items(), and Inkscape::UI::Dialog::DialogBase::selection.
Referenced by glyphSelectionChanged(), GlyphsPanel(), and readSelection().
|
staticprivate |
Definition at line 387 of file glyphs.cpp.
Referenced by glyphActivated(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().
|
private |
Definition at line 586 of file glyphs.cpp.
References entry, getColumns(), and store.
Referenced by GlyphsPanel().
|
private |
Definition at line 604 of file glyphs.cpp.
References calcCanInsert(), getColumns(), Inkscape::UI::Dialog::getScriptToName(), iconView, label, mappings, and store.
Referenced by GlyphsPanel().
|
private |
Definition at line 547 of file glyphs.cpp.
References Inkscape::DocumentUndo::done(), entry, getColumns(), Inkscape::UI::Dialog::DialogBase::getDocument(), Inkscape::UI::Dialog::DialogBase::getSelection(), iconView, Inkscape::ObjectSet::items(), Inkscape::UI::Dialog::DialogBase::selection, sp_te_get_string_multiline(), sp_te_set_repr_text_multiline(), and store.
Referenced by GlyphsPanel().
|
private |
Definition at line 652 of file glyphs.cpp.
References calcCanInsert(), fontSelector, Inkscape::FontLister::get_instance(), Inkscape::FontLister::selection_update(), and Inkscape::UI::Widget::FontSelector::update_font().
Referenced by selectionChanged(), and selectionModified().
|
private |
Definition at line 667 of file glyphs.cpp.
References FontFactory::FaceFromFontSpecification(), fontSelector, Inkscape::Util::EnableSingleton< FontFactory >::get(), Inkscape::UI::Widget::FontSelector::get_fontspec(), getColumns(), Inkscape::UI::Dialog::getRanges(), Inkscape::UI::Dialog::getScriptToName(), iconView, item, items, rangeCombo, scriptCombo, and store.
Referenced by GlyphsPanel().
|
finalvirtual |
Reimplemented from Inkscape::UI::Dialog::DialogBase.
Definition at line 530 of file glyphs.cpp.
References readSelection().
|
final |
Definition at line 535 of file glyphs.cpp.
References readSelection().
|
private |
Definition at line 60 of file glyphs.h.
Referenced by calcCanInsert(), glyphActivated(), GlyphsPanel(), and insertText().
|
private |
Definition at line 65 of file glyphs.h.
Referenced by GlyphsPanel(), readSelection(), and rebuild().
|
private |
Definition at line 59 of file glyphs.h.
Referenced by calcCanInsert(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().
|
private |
Definition at line 62 of file glyphs.h.
Referenced by calcCanInsert(), and GlyphsPanel().
|
private |
Definition at line 67 of file glyphs.h.
Referenced by GlyphsPanel().
|
private |
Definition at line 61 of file glyphs.h.
Referenced by glyphSelectionChanged(), and GlyphsPanel().
|
private |
Definition at line 64 of file glyphs.h.
Referenced by GlyphsPanel(), and rebuild().
|
private |
Definition at line 63 of file glyphs.h.
Referenced by GlyphsPanel(), and rebuild().
|
private |
Definition at line 58 of file glyphs.h.
Referenced by glyphActivated(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().