Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Dialog::DialogBase Class Reference

DialogBase is the base class for the dialog system. More...

#include <dialog-base.h>

Inheritance diagram for Inkscape::UI::Dialog::DialogBase:
Inkscape::UI::Dialog::ArrangeDialog Inkscape::UI::Dialog::AttrDialog Inkscape::UI::Dialog::CloneTiler Inkscape::UI::Dialog::Debug Inkscape::UI::Dialog::DocumentProperties Inkscape::UI::Dialog::DocumentResources Inkscape::UI::Dialog::Export Inkscape::UI::Dialog::ExtensionsGallery Inkscape::UI::Dialog::FillAndStroke Inkscape::UI::Dialog::FilterEffectsDialog Inkscape::UI::Dialog::Find Inkscape::UI::Dialog::FontCollectionsManager Inkscape::UI::Dialog::GlyphsPanel Inkscape::UI::Dialog::IconPreviewPanel Inkscape::UI::Dialog::InkscapePreferences Inkscape::UI::Dialog::LivePathEffectEditor Inkscape::UI::Dialog::MeasureToolSettingsDialog Inkscape::UI::Dialog::ObjectAttributes Inkscape::UI::Dialog::ObjectProperties Inkscape::UI::Dialog::ObjectsPanel Inkscape::UI::Dialog::PaintServersDialog Inkscape::UI::Dialog::Prototype Inkscape::UI::Dialog::SelectorsDialog Inkscape::UI::Dialog::SpellCheck Inkscape::UI::Dialog::StyleDialog Inkscape::UI::Dialog::SvgFontsDialog Inkscape::UI::Dialog::SwatchesPanel Inkscape::UI::Dialog::SymbolsDialog Inkscape::UI::Dialog::TextEdit Inkscape::UI::Dialog::TraceDialog Inkscape::UI::Dialog::Transformation Inkscape::UI::Dialog::UndoHistory Inkscape::UI::Dialog::XmlTree

Public Member Functions

 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
 

Protected Member Functions

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

Glib::ustring _name
 
Glib::ustring const _prefs_path
 
Glib::ustring const _dialog_type
 

Private Types

using parent_type = Gtk::Box
 

Private Member Functions

bool blink_off ()
 Callback to reset the dialog highlight.
 
bool on_key_pressed (Gtk::EventControllerKey const &controller, unsigned keyval, unsigned keycode, Gdk::ModifierType state)
 
void unsetDesktop ()
 Called to destruct desktops, must not call virtuals.
 
void desktopDestroyed (SPDesktop *old_desktop)
 
void setDocument (SPDocument *new_document)
 Called when the document might have changed, called from setDesktop too.
 
virtual void desktopReplaced ()
 Called when the desktop has certainly changed.
 
virtual void documentReplaced ()
 
virtual void selectionChanged (Inkscape::Selection *selection)
 
virtual void selectionModified (Inkscape::Selection *selection, guint flags)
 

Private Attributes

bool _showing = true
 
sigc::connection _desktop_destroyed
 
sigc::connection _doc_replaced
 
sigc::connection _select_changed
 
sigc::connection _select_modified
 
int _modified_flags = 0
 
bool _modified_while_hidden = false
 
bool _changed_while_hidden = false
 
InkscapeApplication_app
 
SPDesktopdesktop = nullptr
 
SPDocumentdocument = nullptr
 
Selectionselection = nullptr
 
Glib::ustring _icon_name
 

Friends

class DialogNotebook
 

Detailed Description

DialogBase is the base class for the dialog system.

Each dialog has a reference to the application, in order to update its inner focus (be it of the active desktop, document, selection, etc.) in the update() method.

DialogBase derived classes' instances live in DialogNotebook classes and are managed by DialogContainer classes. DialogContainer instances can have at most one type of dialog, differentiated by the associated type.

Definition at line 39 of file dialog-base.h.

Member Typedef Documentation

◆ parent_type

Definition at line 41 of file dialog-base.h.

Constructor & Destructor Documentation

◆ DialogBase() [1/2]

Inkscape::UI::Dialog::DialogBase::DialogBase ( char const *  prefs_path = nullptr,
Glib::ustring  dialog_type = {} 
)

DialogBase constructor.

Parameters
prefs_pathcharacteristic path to load/save dialog position.
dialog_typeis the "type" string for the dialog.

Definition at line 44 of file dialog-base.cpp.

References _dialog_type, _icon_name, _name, get_dialog_data(), key, on_key_pressed(), and Inkscape::UI::Dialog::remove_first().

◆ DialogBase() [2/2]

Inkscape::UI::Dialog::DialogBase::DialogBase ( DialogBase const &  )
delete

◆ ~DialogBase()

Inkscape::UI::Dialog::DialogBase::~DialogBase ( )
override

Definition at line 71 of file dialog-base.cpp.

References unsetDesktop().

Member Function Documentation

◆ blink()

◆ blink_off()

bool Inkscape::UI::Dialog::DialogBase::blink_off ( )
private

Callback to reset the dialog highlight.

Definition at line 147 of file dialog-base.cpp.

Referenced by blink().

◆ defocus_dialog()

void Inkscape::UI::Dialog::DialogBase::defocus_dialog ( )

Definition at line 132 of file dialog-base.cpp.

References desktop, SPDesktop::getCanvas(), getDesktop(), and sp_dialog_defocus().

Referenced by on_key_pressed().

◆ desktopDestroyed()

void Inkscape::UI::Dialog::DialogBase::desktopDestroyed ( SPDesktop old_desktop)
private

Definition at line 268 of file dialog-base.cpp.

References desktop.

Referenced by setDesktop().

◆ desktopReplaced()

virtual void Inkscape::UI::Dialog::DialogBase::desktopReplaced ( )
inlineprivatevirtual

◆ documentReplaced()

◆ fix_inner_scroll()

void Inkscape::UI::Dialog::DialogBase::fix_inner_scroll ( Gtk::ScrolledWindow &  scrollwin)

Definition at line 200 of file dialog-base.cpp.

References child, and Inkscape::UI::Widget::dx.

Referenced by Inkscape::UI::Dialog::XmlTree::XmlTree().

◆ focus_dialog()

◆ get_icon()

const Glib::ustring & Inkscape::UI::Dialog::DialogBase::get_icon ( ) const
inline

Definition at line 65 of file dialog-base.h.

References _icon_name.

◆ get_name()

Glib::ustring const & Inkscape::UI::Dialog::DialogBase::get_name ( ) const
inline

Definition at line 62 of file dialog-base.h.

References _name.

Referenced by Inkscape::UI::Dialog::DialogWindow::DialogWindow().

◆ get_type()

Glib::ustring const & Inkscape::UI::Dialog::DialogBase::get_type ( ) const
inline

◆ getApp()

InkscapeApplication * Inkscape::UI::Dialog::DialogBase::getApp ( ) const
inlineprotected

Definition at line 80 of file dialog-base.h.

References _app.

Referenced by Inkscape::UI::Dialog::Export::desktopReplaced().

◆ getDesktop()

SPDesktop * Inkscape::UI::Dialog::DialogBase::getDesktop ( ) const
inline

Definition at line 77 of file dialog-base.h.

References desktop.

Referenced by Inkscape::UI::Dialog::ObjectsPanel::_handleTransparentHover(), Inkscape::UI::Dialog::FillAndStroke::_onSwitchPage(), Inkscape::UI::Dialog::ColorItem::action_convert(), Inkscape::UI::Dialog::ColorItem::action_edit(), Inkscape::UI::Dialog::AlignAndDistribute::AlignAndDistribute(), Inkscape::UI::Dialog::Find::all_items(), Inkscape::UI::Dialog::Find::all_selection_items(), Inkscape::UI::Dialog::SpellCheck::allTextItems(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Dialog::Transformation::applyPageMove(), Inkscape::UI::Dialog::Transformation::applyPageSkew(), Inkscape::UI::Dialog::Transformation::applyPageTransform(), Inkscape::UI::Dialog::GridArrangeTab::arrange(), Inkscape::UI::Dialog::PolarArrangeTab::arrange(), Inkscape::UI::Dialog::DocumentProperties::browseExternalScript(), defocus_dialog(), Inkscape::UI::Dialog::FillAndStroke::desktopReplaced(), Inkscape::UI::Dialog::ArrangeDialog::desktopReplaced(), Inkscape::UI::Dialog::Transformation::desktopReplaced(), Inkscape::UI::Dialog::XmlTree::desktopReplaced(), Inkscape::UI::Dialog::Export::desktopReplaced(), Inkscape::UI::Dialog::ObjectsPanel::desktopReplaced(), Inkscape::UI::Dialog::DocumentProperties::documentReplaced(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::TextEdit::getSelectedTextCount(), Inkscape::UI::Dialog::TextEdit::getSelectedTextItem(), Inkscape::UI::Dialog::Find::item_type_match(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::MeasureToolSettingsDialog(), Inkscape::UI::Dialog::SpellCheck::nextWord(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::ColorItem::on_click(), Inkscape::UI::Dialog::ObjectsPanel::on_click(), Inkscape::UI::Dialog::GridArrangeTab::on_col_spinbutton_changed(), Inkscape::UI::Dialog::ColorItem::on_motion_enter(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_enter(), Inkscape::UI::Dialog::ColorItem::on_motion_leave(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_leave(), Inkscape::UI::Dialog::FontCollectionsManager::on_reset_button_pressed(), Inkscape::UI::Dialog::TextEdit::on_reset_button_pressed(), Inkscape::UI::Dialog::ColorItem::on_rightclick(), Inkscape::UI::Dialog::GridArrangeTab::on_row_spinbutton_changed(), Inkscape::UI::Dialog::TextEdit::on_search_entry_changed(), Inkscape::UI::Dialog::ObjectsPanel::on_tree_key_pressed(), Inkscape::UI::Dialog::ObjectsPanel::on_window_key(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Dialog::Export::onNotebookPageSwitch(), Inkscape::UI::Dialog::TextEdit::onReadSelection(), Inkscape::UI::Dialog::Transformation::onRotateClockwiseClicked(), Inkscape::UI::Dialog::Transformation::onRotateCounterclockwiseClicked(), Inkscape::UI::Dialog::Transformation::onSwitchPage(), Inkscape::UI::Dialog::IconPreviewPanel::queueRefreshIfAutoRefreshEnabled(), Inkscape::UI::Dialog::DocumentProperties::rebuild_gridspage(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::UI::Dialog::ObjectsPanel::selectCursorItem(), Inkscape::UI::Dialog::StyleDialog::selectionChanged(), Inkscape::UI::Dialog::ObjectAttributes::selectionModified(), Inkscape::UI::Dialog::ObjectsPanel::selectRange(), Inkscape::UI::Dialog::XmlTree::set_dt_select(), Inkscape::UI::Dialog::ObjectsPanel::setRootWatcher(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::CloneTiler::unclump(), Inkscape::UI::Dialog::ObjectProperties::update_entries(), Inkscape::UI::Dialog::SwatchesPanel::update_fillstroke_indicators(), Inkscape::UI::Dialog::ObjectAttributes::update_panel(), Inkscape::UI::Dialog::DocumentProperties::update_widgets(), Inkscape::UI::Dialog::GridArrangeTab::updateSelection(), Inkscape::UI::Dialog::AttrDialog::valueEdited(), Inkscape::UI::Dialog::ObjectAttributes::widget_setup(), and Inkscape::UI::Dialog::XmlTree::XmlTree().

◆ getDocument()

SPDocument * Inkscape::UI::Dialog::DialogBase::getDocument ( ) const
inlineprotected

Definition at line 81 of file dialog-base.h.

References document.

Referenced by Inkscape::UI::Dialog::ObjectProperties::_aspectRatioToggled(), Inkscape::UI::Dialog::StyleDialog::_getObjVec(), Inkscape::UI::Dialog::ObjectsPanel::_handleEdited(), Inkscape::UI::Dialog::ObjectProperties::_hiddenToggled(), Inkscape::UI::Dialog::ObjectProperties::_highlightChanged(), Inkscape::UI::Dialog::ObjectProperties::_labelChanged(), Inkscape::UI::Dialog::UndoHistory::_onCollapseEvent(), Inkscape::UI::Dialog::StyleDialog::_onLinkObj(), Inkscape::UI::Dialog::UndoHistory::_onListSelectionChange(), Inkscape::UI::Dialog::ObjectProperties::_sensitivityToggled(), Inkscape::UI::Dialog::StyleDialog::_writeStyleElement(), Inkscape::UI::Dialog::DocumentProperties::addEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::addExternalScript(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::DocumentProperties::build_page(), Inkscape::UI::Dialog::DocumentProperties::build_scripting(), Inkscape::UI::Dialog::DocumentProperties::changeEmbeddedScript(), Inkscape::UI::Dialog::XmlTree::cmd_delete_node(), Inkscape::UI::Dialog::XmlTree::cmd_duplicate_node(), Inkscape::UI::Dialog::XmlTree::cmd_indent_node(), Inkscape::UI::Dialog::XmlTree::cmd_lower_node(), Inkscape::UI::Dialog::XmlTree::cmd_new_element_node(), Inkscape::UI::Dialog::XmlTree::cmd_new_text_node(), Inkscape::UI::Dialog::XmlTree::cmd_raise_node(), Inkscape::UI::Dialog::XmlTree::cmd_unindent_node(), Inkscape::UI::Dialog::ObjectsPanel::colorTagPopup(), Inkscape::UI::Dialog::UndoHistory::connectEventLog(), Inkscape::UI::Dialog::DocumentProperties::display_unit_change(), Inkscape::UI::Dialog::LivePathEffectEditor::do_item_action_undoable(), Inkscape::UI::Dialog::StyleDialog::documentReplaced(), Inkscape::UI::Dialog::SvgFontsDialog::documentReplaced(), Inkscape::UI::Dialog::SwatchesPanel::documentReplaced(), Inkscape::UI::Dialog::XmlTree::documentReplaced(), Inkscape::UI::Dialog::Export::documentReplaced(), Inkscape::UI::Dialog::FilterEffectsDialog::documentReplaced(), Inkscape::UI::Dialog::IconPreviewPanel::documentReplaced(), Inkscape::UI::Dialog::UndoHistory::documentReplaced(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::DocumentProperties::editEmbeddedScript(), Inkscape::UI::Dialog::ObjectsPanel::getObject(), Inkscape::UI::Dialog::GlyphsPanel::insertText(), Inkscape::UI::Dialog::DocumentProperties::linkSelectedProfile(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_motion(), Inkscape::UI::Dialog::SvgFontsDialog::on_kerning_value_changed(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_motion(), Inkscape::UI::Dialog::SpellCheck::onAccept(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Dialog::SpellCheck::onStart(), Inkscape::UI::Dialog::DocumentProperties::populate_linked_profiles_box(), Inkscape::UI::Dialog::DocumentProperties::populate_script_lists(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), Inkscape::UI::Dialog::SwatchesPanel::rebuild_isswatch(), Inkscape::UI::Dialog::XmlTree::rebuildTree(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::UI::Dialog::DocumentProperties::removeEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::removeExternalScript(), Inkscape::UI::Dialog::DocumentProperties::removeSelectedProfile(), Inkscape::UI::Dialog::DocumentProperties::save_default_metadata(), Inkscape::UI::Dialog::SwatchesPanel::select_palette(), Inkscape::UI::Dialog::XmlTree::set_dt_select(), Inkscape::UI::Dialog::XmlTree::set_tree_select(), Inkscape::UI::Dialog::ObjectsPanel::setRootWatcher(), Inkscape::UI::Dialog::AttrDialog::setUndo(), Inkscape::UI::Dialog::XmlTree::stopNodeEditing(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::LivePathEffectEditor::toggleVisible(), Inkscape::UI::Dialog::SwatchesPanel::track_gradients(), Inkscape::UI::Dialog::CloneTiler::unclump(), Inkscape::UI::Dialog::SwatchesPanel::update_fillstroke_indicators(), Inkscape::UI::Dialog::SvgFontsDialog::update_fonts(), Inkscape::UI::Dialog::SwatchesPanel::update_isswatch(), and Inkscape::UI::Dialog::DocumentProperties::update_widgets().

◆ getPrefsPath()

Glib::ustring const & Inkscape::UI::Dialog::DialogBase::getPrefsPath ( ) const
inline

Definition at line 63 of file dialog-base.h.

References _prefs_path.

◆ getSelection()

Selection * Inkscape::UI::Dialog::DialogBase::getSelection ( ) const
inlineprotected

Definition at line 82 of file dialog-base.h.

References selection.

Referenced by Inkscape::UI::Dialog::ObjectsPanel::_activateAction(), Inkscape::UI::Dialog::Transformation::_apply(), Inkscape::UI::Dialog::ObjectProperties::_aspectRatioToggled(), Inkscape::UI::Dialog::ObjectProperties::_hiddenToggled(), Inkscape::UI::Dialog::ObjectProperties::_highlightChanged(), Inkscape::UI::Dialog::ObjectProperties::_labelChanged(), Inkscape::UI::Dialog::StyleDialog::_onLinkObj(), Inkscape::UI::Dialog::FillAndStroke::_onSwitchPage(), Inkscape::UI::Dialog::ObjectsPanel::_selectionChanged(), Inkscape::UI::Dialog::ObjectProperties::_sensitivityToggled(), Inkscape::UI::Dialog::StyleDialog::_writeStyleElement(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::GlyphsPanel::calcCanInsert(), Inkscape::UI::Dialog::Transformation::desktopReplaced(), Inkscape::UI::Dialog::Find::desktopReplaced(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::XmlTree::get_dt_select(), Inkscape::UI::Dialog::GlyphsPanel::insertText(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::ObjectsPanel::on_click(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_begin(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_motion(), Inkscape::UI::Dialog::ObjectsPanel::on_tree_key_pressed(), Inkscape::UI::Dialog::Transformation::onClear(), Inkscape::UI::Dialog::Transformation::onMoveRelativeToggled(), Inkscape::UI::Dialog::Transformation::onReplaceMatrixToggled(), Inkscape::UI::Dialog::Transformation::onSwitchPage(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::UI::Dialog::ObjectsPanel::selectCursorItem(), Inkscape::UI::Dialog::ObjectsPanel::selectRange(), Inkscape::UI::Dialog::XmlTree::set_dt_select(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::CloneTiler::unclump(), and Inkscape::UI::Dialog::ObjectProperties::update_entries().

◆ getShowing()

bool Inkscape::UI::Dialog::DialogBase::getShowing ( )
inline

◆ on_key_pressed()

bool Inkscape::UI::Dialog::DialogBase::on_key_pressed ( Gtk::EventControllerKey const &  controller,
unsigned  keyval,
unsigned  keycode,
Gdk::ModifierType  state 
)
private

Definition at line 86 of file dialog-base.cpp.

References defocus_dialog(), and Inkscape::UI::Tools::get_latin_keyval().

Referenced by DialogBase().

◆ on_map()

void Inkscape::UI::Dialog::DialogBase::on_map ( )
override

Definition at line 76 of file dialog-base.cpp.

References Inkscape::Application::instance(), setDesktop(), and update().

◆ operator=()

DialogBase & Inkscape::UI::Dialog::DialogBase::operator= ( DialogBase const &  )
delete

◆ selectionChanged()

◆ selectionModified()

virtual void Inkscape::UI::Dialog::DialogBase::selectionModified ( Inkscape::Selection selection,
guint  flags 
)
inlineprivatevirtual

◆ setDesktop()

◆ setDocument()

void Inkscape::UI::Dialog::DialogBase::setDocument ( SPDocument new_document)
private

Called when the document might have changed, called from setDesktop too.

Definition at line 281 of file dialog-base.cpp.

Referenced by setDesktop().

◆ setShowing()

void Inkscape::UI::Dialog::DialogBase::setShowing ( bool  showing)
protected

function called from notebook dialog that performs an update of the dialog and sets the dialog showing state true

Definition at line 242 of file dialog-base.cpp.

◆ unsetDesktop()

void Inkscape::UI::Dialog::DialogBase::unsetDesktop ( )
private

Called to destruct desktops, must not call virtuals.

Definition at line 257 of file dialog-base.cpp.

References desktop.

Referenced by setDesktop(), and ~DialogBase().

◆ update()

virtual void Inkscape::UI::Dialog::DialogBase::update ( )
inlinevirtual

The update() method is essential to Gtk state management.

DialogBase implementations get updated whenever a new focus event happens if they are in a DialogWindow or if they are in the currently focused window.

DO NOT use update to keep SPDesktop, SPDocument or Selection states, use the virtual functions below.

Reimplemented in Inkscape::UI::Dialog::SelectorsDialog, and Inkscape::UI::Dialog::DocumentProperties.

Definition at line 55 of file dialog-base.h.

Referenced by Inkscape::UI::Dialog::FillAndStroke::_onSwitchPage(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), on_map(), and Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::remove_selected().

Friends And Related Symbol Documentation

◆ DialogNotebook

friend class DialogNotebook
friend

Definition at line 83 of file dialog-base.h.

Member Data Documentation

◆ _app

InkscapeApplication* Inkscape::UI::Dialog::DialogBase::_app
private

Definition at line 116 of file dialog-base.h.

Referenced by getApp().

◆ _changed_while_hidden

bool Inkscape::UI::Dialog::DialogBase::_changed_while_hidden = false
private

Definition at line 114 of file dialog-base.h.

Referenced by setDesktop().

◆ _desktop_destroyed

sigc::connection Inkscape::UI::Dialog::DialogBase::_desktop_destroyed
private

Definition at line 107 of file dialog-base.h.

Referenced by setDesktop().

◆ _dialog_type

Glib::ustring const Inkscape::UI::Dialog::DialogBase::_dialog_type
protected

Definition at line 87 of file dialog-base.h.

Referenced by DialogBase(), and get_type().

◆ _doc_replaced

sigc::connection Inkscape::UI::Dialog::DialogBase::_doc_replaced
private

Definition at line 108 of file dialog-base.h.

Referenced by setDesktop().

◆ _icon_name

Glib::ustring Inkscape::UI::Dialog::DialogBase::_icon_name
private

Definition at line 120 of file dialog-base.h.

Referenced by DialogBase(), and get_icon().

◆ _modified_flags

int Inkscape::UI::Dialog::DialogBase::_modified_flags = 0
private

Definition at line 112 of file dialog-base.h.

Referenced by setDesktop().

◆ _modified_while_hidden

bool Inkscape::UI::Dialog::DialogBase::_modified_while_hidden = false
private

Definition at line 113 of file dialog-base.h.

Referenced by setDesktop().

◆ _name

Glib::ustring Inkscape::UI::Dialog::DialogBase::_name
protected

Definition at line 85 of file dialog-base.h.

Referenced by DialogBase(), get_name(), and Inkscape::UI::Dialog::Prototype::Prototype().

◆ _prefs_path

Glib::ustring const Inkscape::UI::Dialog::DialogBase::_prefs_path
protected

Definition at line 86 of file dialog-base.h.

Referenced by Inkscape::UI::Dialog::ObjectProperties::_init(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::_segments_min_length_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::_show_angle_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::_show_deltas_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::_show_deltas_label_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::_show_segments_label_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::angle_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::between_btn_change(), Inkscape::UI::Dialog::DocumentProperties::browseExternalScript(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::dX_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::dY_btn_change(), Inkscape::UI::Dialog::ExtensionsGallery::ExtensionsGallery(), getPrefsPath(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::labels_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::length_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::MeasureToolSettingsDialog(), Inkscape::UI::Dialog::SpellCheck::nextWord(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::segments_btn_change(), Inkscape::UI::Dialog::SwatchesPanel::set_palette(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::shape_height_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::shape_length_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::shape_width_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::shape_X_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::shape_Y_btn_change(), Inkscape::UI::Dialog::ExtensionsGallery::show_category(), Inkscape::UI::Dialog::SwatchesPanel::SwatchesPanel(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::tabs_btn_change(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::units_btn_change(), and Inkscape::UI::Dialog::ExtensionsGallery::update_name().

◆ _select_changed

sigc::connection Inkscape::UI::Dialog::DialogBase::_select_changed
private

Definition at line 109 of file dialog-base.h.

Referenced by setDesktop().

◆ _select_modified

sigc::connection Inkscape::UI::Dialog::DialogBase::_select_modified
private

Definition at line 110 of file dialog-base.h.

Referenced by setDesktop().

◆ _showing

bool Inkscape::UI::Dialog::DialogBase::_showing = true
private

Definition at line 94 of file dialog-base.h.

Referenced by getShowing(), and setDesktop().

◆ desktop

SPDesktop* Inkscape::UI::Dialog::DialogBase::desktop = nullptr
private

Definition at line 117 of file dialog-base.h.

Referenced by Inkscape::UI::Dialog::Find::all_items(), Inkscape::UI::Dialog::Find::all_selection_items(), Inkscape::UI::Dialog::SpellCheck::allTextItems(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Dialog::Export::checkOrCreateDirectory(), defocus_dialog(), Inkscape::UI::Dialog::Transformation::desktopReplaced(), Inkscape::UI::Dialog::ObjectsPanel::desktopReplaced(), Inkscape::UI::Dialog::DocumentProperties::documentReplaced(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::Export::exportRaster(), Inkscape::UI::Dialog::Export::exportVector(), getDesktop(), Inkscape::UI::Dialog::MeasureToolSettingsDialog::MeasureToolSettingsDialog(), Inkscape::UI::Dialog::SpellCheck::nextWord(), Inkscape::UI::Dialog::TextEdit::on_fcm_button_clicked(), Inkscape::UI::Dialog::ObjectsPanel::on_tree_key_pressed(), Inkscape::UI::Dialog::ObjectsPanel::on_window_key(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Dialog::Export::onNotebookPageSwitch(), Inkscape::UI::Dialog::TextEdit::onReadSelection(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::remove_filter(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::select_filter_elements(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::selection_toggled(), Inkscape::UI::Dialog::DocumentProperties::set_content_scale(), Inkscape::UI::Dialog::DocumentProperties::set_document_scale(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_pos(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_size(), setDesktop(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::DocumentProperties::update_scale_ui(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox_ui(), and Inkscape::UI::Dialog::DocumentProperties::update_widgets().

◆ document

SPDocument* Inkscape::UI::Dialog::DialogBase::document = nullptr
private

Definition at line 118 of file dialog-base.h.

Referenced by Inkscape::UI::Dialog::DocumentProperties::addEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::addExternalScript(), Inkscape::UI::Dialog::DocumentProperties::build_page(), Inkscape::UI::Dialog::DocumentProperties::build_scripting(), Inkscape::UI::Dialog::DocumentProperties::changeEmbeddedScript(), Inkscape::UI::Dialog::XmlTree::cmd_delete_node(), Inkscape::UI::Dialog::XmlTree::cmd_duplicate_node(), Inkscape::UI::Dialog::XmlTree::cmd_indent_node(), Inkscape::UI::Dialog::XmlTree::cmd_lower_node(), Inkscape::UI::Dialog::XmlTree::cmd_new_element_node(), Inkscape::UI::Dialog::XmlTree::cmd_new_text_node(), Inkscape::UI::Dialog::XmlTree::cmd_raise_node(), Inkscape::UI::Dialog::XmlTree::cmd_unindent_node(), Inkscape::UI::Dialog::UndoHistory::connectEventLog(), Inkscape::UI::Dialog::DocumentProperties::display_unit_change(), Inkscape::UI::Dialog::StyleDialog::documentReplaced(), Inkscape::UI::Dialog::SvgFontsDialog::documentReplaced(), Inkscape::UI::Dialog::XmlTree::documentReplaced(), Inkscape::UI::Dialog::DocumentProperties::documentReplaced(), Inkscape::UI::Dialog::FilterEffectsDialog::documentReplaced(), Inkscape::UI::Dialog::UndoHistory::documentReplaced(), Inkscape::UI::Dialog::Prototype::documentReplaced(), Inkscape::UI::Dialog::DocumentResources::DocumentResources(), Inkscape::UI::Dialog::DocumentProperties::editEmbeddedScript(), getDocument(), Inkscape::UI::Dialog::DocumentProperties::linkSelectedProfile(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_motion(), Inkscape::UI::Dialog::FontCollectionsManager::on_reset_button_pressed(), Inkscape::UI::Dialog::TextEdit::on_reset_button_pressed(), Inkscape::UI::Dialog::TextEdit::on_search_entry_changed(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Dialog::DocumentProperties::populate_linked_profiles_box(), Inkscape::UI::Dialog::DocumentProperties::populate_script_lists(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), Inkscape::UI::Dialog::XmlTree::rebuildTree(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::Dialog::DocumentProperties::removeEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::removeExternalScript(), Inkscape::UI::Dialog::DocumentProperties::removeSelectedProfile(), Inkscape::UI::Dialog::DocumentProperties::save_default_metadata(), Inkscape::UI::Dialog::DocumentProperties::set_content_scale(), Inkscape::UI::Dialog::DocumentProperties::set_document_scale(), Inkscape::UI::Dialog::XmlTree::set_dt_select(), Inkscape::UI::Dialog::XmlTree::set_tree_select(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_pos(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_size(), Inkscape::UI::Dialog::ObjectsPanel::setRootWatcher(), Inkscape::UI::Dialog::XmlTree::stopNodeEditing(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::update_filters(), Inkscape::UI::Dialog::SvgFontsDialog::update_fonts(), Inkscape::UI::Dialog::DocumentProperties::update_scale_ui(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox_ui(), and Inkscape::UI::Dialog::DocumentProperties::update_widgets().

◆ selection

Selection* Inkscape::UI::Dialog::DialogBase::selection = nullptr
private

Definition at line 119 of file dialog-base.h.

Referenced by Inkscape::UI::Dialog::ObjectsPanel::_activateAction(), Inkscape::UI::Dialog::Transformation::_apply(), Inkscape::UI::Dialog::StyleDialog::_onLinkObj(), Inkscape::UI::Dialog::StyleDialog::_writeStyleElement(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::Transformation::applyPageMove(), Inkscape::UI::Dialog::Transformation::applyPageRotate(), Inkscape::UI::Dialog::Transformation::applyPageScale(), Inkscape::UI::Dialog::Transformation::applyPageSkew(), Inkscape::UI::Dialog::Transformation::applyPageTransform(), Inkscape::UI::Dialog::GlyphsPanel::calcCanInsert(), Inkscape::UI::Dialog::CloneTiler::change_selection(), Inkscape::UI::Dialog::XmlTree::deferred_on_tree_select_row(), Inkscape::UI::Dialog::Find::desktopReplaced(), Inkscape::UI::Dialog::ObjectsPanel::drag_end_impl(), Inkscape::UI::Dialog::XmlTree::get_dt_select(), Inkscape::UI::Dialog::SvgFontsDialog::get_selected_glyph_iter(), getSelection(), Inkscape::UI::Dialog::GlyphsPanel::insertText(), Inkscape::UI::Dialog::ObjectsPanel::on_click(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_begin(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_motion(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::Transformation::onClear(), Inkscape::UI::Dialog::Transformation::onMoveRelativeToggled(), Inkscape::UI::Dialog::Export::onNotebookPageSwitch(), Inkscape::UI::Dialog::Transformation::onReplaceMatrixToggled(), Inkscape::UI::Dialog::AttrDialog::onTreeViewKeyPressed(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), Inkscape::UI::Dialog::IconPreviewPanel::refreshPreview(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::UI::Dialog::ObjectsPanel::selectCursorItem(), Inkscape::UI::Dialog::LivePathEffectEditor::selectionChanged(), Inkscape::UI::Dialog::Transformation::selectionChanged(), Inkscape::UI::Dialog::Export::selectionChanged(), Inkscape::UI::Dialog::FilterEffectsDialog::selectionChanged(), Inkscape::UI::Dialog::Prototype::selectionChanged(), Inkscape::UI::Dialog::FilterEffectsDialog::selectionModified(), Inkscape::UI::Dialog::LivePathEffectEditor::selectionModified(), Inkscape::UI::Dialog::Transformation::selectionModified(), Inkscape::UI::Dialog::Export::selectionModified(), Inkscape::UI::Dialog::ObjectAttributes::selectionModified(), Inkscape::UI::Dialog::ObjectsPanel::selectRange(), setDesktop(), Inkscape::UI::Dialog::AttrDialog::storeMoveToNext(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::CloneTiler::unclump(), Inkscape::UI::Dialog::ObjectProperties::update_entries(), Inkscape::UI::Dialog::SvgFontsDialog::update_fonts(), Inkscape::UI::Dialog::Transformation::updatePageMove(), Inkscape::UI::Dialog::Transformation::updatePageRotate(), Inkscape::UI::Dialog::Transformation::updatePageScale(), Inkscape::UI::Dialog::Transformation::updatePageSkew(), Inkscape::UI::Dialog::Transformation::updatePageTransform(), Inkscape::UI::Dialog::Transformation::updateSelection(), and Inkscape::UI::Dialog::ObjectAttributes::widget_setup().


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