Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Dialog::GlyphsPanel Class Referencefinal

A panel that displays character glyphs. More...

#include <glyphs.h>

Inheritance diagram for Inkscape::UI::Dialog::GlyphsPanel:
Inkscape::UI::Dialog::DialogBase

Public Member Functions

 GlyphsPanel ()
 Constructor.
 
 ~GlyphsPanel () final
 
void selectionChanged (Selection *selection) final
 
void selectionModified (Selection *selection, unsigned flags) final
 
- Public Member Functions inherited from Inkscape::UI::Dialog::DialogBase
 DialogBase (char const *prefs_path=nullptr, Glib::ustring dialog_type={})
 DialogBase constructor.
 
 DialogBase (DialogBase const &)=delete
 
DialogBaseoperator= (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)
 
SPDesktopgetDesktop () 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::FontSelectorfontSelector = nullptr
 
std::vector< sigc::scoped_connection > instanceConns
 

Additional Inherited Members

- Protected Member Functions inherited from Inkscape::UI::Dialog::DialogBase
InkscapeApplicationgetApp () const
 
SPDocumentgetDocument () const
 
SelectiongetSelection () const
 
void setShowing (bool showing)
 function called from notebook dialog that performs an update of the dialog and sets the dialog showing state true
 
- Protected Attributes inherited from Inkscape::UI::Dialog::DialogBase
Glib::ustring _name
 
Glib::ustring const _prefs_path
 
Glib::ustring const _dialog_type
 

Detailed Description

A panel that displays character glyphs.

Definition at line 38 of file glyphs.h.

Constructor & Destructor Documentation

◆ GlyphsPanel()

◆ ~GlyphsPanel()

Inkscape::UI::Dialog::GlyphsPanel::~GlyphsPanel ( )
finaldefault

Member Function Documentation

◆ calcCanInsert()

void Inkscape::UI::Dialog::GlyphsPanel::calcCanInsert ( )
private

◆ getColumns()

GlyphColumns * Inkscape::UI::Dialog::GlyphsPanel::getColumns ( )
staticprivate

Definition at line 387 of file glyphs.cpp.

Referenced by glyphActivated(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().

◆ glyphActivated()

void Inkscape::UI::Dialog::GlyphsPanel::glyphActivated ( Gtk::TreeModel::Path const &  path)
private

Definition at line 586 of file glyphs.cpp.

References entry, getColumns(), and store.

Referenced by GlyphsPanel().

◆ glyphSelectionChanged()

void Inkscape::UI::Dialog::GlyphsPanel::glyphSelectionChanged ( )
private

◆ insertText()

◆ readSelection()

void Inkscape::UI::Dialog::GlyphsPanel::readSelection ( bool  updateStyle,
bool  updateContent 
)
private

◆ rebuild()

◆ selectionChanged()

void Inkscape::UI::Dialog::GlyphsPanel::selectionChanged ( Selection selection)
finalvirtual

Reimplemented from Inkscape::UI::Dialog::DialogBase.

Definition at line 530 of file glyphs.cpp.

References readSelection().

◆ selectionModified()

void Inkscape::UI::Dialog::GlyphsPanel::selectionModified ( Selection selection,
unsigned  flags 
)
final

Definition at line 535 of file glyphs.cpp.

References readSelection().

Member Data Documentation

◆ entry

Gtk::Entry* Inkscape::UI::Dialog::GlyphsPanel::entry = nullptr
private

Definition at line 60 of file glyphs.h.

Referenced by calcCanInsert(), glyphActivated(), GlyphsPanel(), and insertText().

◆ fontSelector

Inkscape::UI::Widget::FontSelector* Inkscape::UI::Dialog::GlyphsPanel::fontSelector = nullptr
private

Definition at line 65 of file glyphs.h.

Referenced by GlyphsPanel(), readSelection(), and rebuild().

◆ iconView

Gtk::IconView* Inkscape::UI::Dialog::GlyphsPanel::iconView = nullptr
private

Definition at line 59 of file glyphs.h.

Referenced by calcCanInsert(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().

◆ insertBtn

Gtk::Button* Inkscape::UI::Dialog::GlyphsPanel::insertBtn = nullptr
private

Definition at line 62 of file glyphs.h.

Referenced by calcCanInsert(), and GlyphsPanel().

◆ instanceConns

std::vector<sigc::scoped_connection> Inkscape::UI::Dialog::GlyphsPanel::instanceConns
private

Definition at line 67 of file glyphs.h.

Referenced by GlyphsPanel().

◆ label

Gtk::Label* Inkscape::UI::Dialog::GlyphsPanel::label = nullptr
private

Definition at line 61 of file glyphs.h.

Referenced by glyphSelectionChanged(), and GlyphsPanel().

◆ rangeCombo

Gtk::ComboBoxText* Inkscape::UI::Dialog::GlyphsPanel::rangeCombo = nullptr
private

Definition at line 64 of file glyphs.h.

Referenced by GlyphsPanel(), and rebuild().

◆ scriptCombo

Gtk::ComboBoxText* Inkscape::UI::Dialog::GlyphsPanel::scriptCombo = nullptr
private

Definition at line 63 of file glyphs.h.

Referenced by GlyphsPanel(), and rebuild().

◆ store

Glib::RefPtr<Gtk::ListStore> Inkscape::UI::Dialog::GlyphsPanel::store
private

Definition at line 58 of file glyphs.h.

Referenced by glyphActivated(), glyphSelectionChanged(), GlyphsPanel(), insertText(), and rebuild().


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