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

A panel that displays objects. More...

#include <objects.h>

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

Public Member Functions

 ObjectsPanel ()
 Constructor.
 
 ~ObjectsPanel () override
 
- 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 Types

enum class  EventType { pressed , released }
 

Private Member Functions

void desktopReplaced () override
 Called when the desktop has certainly changed.
 
void documentReplaced () override
 
void layerChanged (SPObject *obj)
 Happens when the layer selected is changed.
 
void selectionChanged (Selection *selected) override
 
ObjectWatcherunpackToObject (SPObject *item)
 This both unpacks the tree, and populates lazy loading.
 
SPObjectgetObject (Inkscape::XML::Node *node)
 Get the object from the node.
 
ObjectWatchergetWatcher (Inkscape::XML::Node *node)
 Get the object watcher from the xml node (reverse lookup), it uses a ancesstor recursive pattern to match up with the root_watcher.
 
ObjectWatchergetRootWatcher () const
 
bool showChildInTree (SPItem *item)
 Apply any ongoing filters to the items.
 
Inkscape::XML::NodegetRepr (Gtk::TreeModel::ConstRow const &row) const
 Get the XML node which is associated with a row.
 
SPItemgetItem (Gtk::TreeModel::ConstRow const &row) const
 Get the item which is associated with a row.
 
std::optional< Gtk::TreeRow > getRow (SPItem *item) const
 
bool isDummy (Gtk::TreeModel::ConstRow const &row) const
 
bool hasDummyChildren (Gtk::TreeModel::ConstRow const &row) const
 Return true if this row has dummy children.
 
bool removeDummyChildren (Gtk::TreeModel::Row row)
 If the given row has dummy children, remove them.
 
bool cleanDummyChildren (Gtk::TreeModel::Row row)
 
void setRootWatcher ()
 
void _activateAction (const std::string &layerAction, const std::string &selectionAction)
 Special context-aware functions - If nothing is selected or layers-only mode is active, move/delete layers.
 
bool blendModePopup (int x, int y, Gtk::TreeModel::Row row)
 
bool colorTagPopup (int x, int y, Gtk::TreeModel::Row row)
 
bool toggleVisible (Gdk::ModifierType state, Gtk::TreeModel::Row row)
 Sets visibility of items in the tree.
 
bool toggleLocked (Gdk::ModifierType state, Gtk::TreeModel::Row row)
 Sets sensitivity of items in the tree.
 
Gtk::EventSequenceState on_click (Gtk::GestureClick const &gesture, int n_press, double x, double y, EventType type)
 Handles mouse button click events.
 
bool on_tree_key_pressed (Gtk::EventControllerKey const &controller, unsigned keyval, unsigned keycode, Gdk::ModifierType state)
 Handles keyboard events on the TreeView.
 
bool on_window_key (Gtk::EventControllerKey const &controller, unsigned keyval, unsigned keycode, Gdk::ModifierType state, EventType type)
 
void on_motion_enter (double x, double y)
 Handles mouse movements.
 
void on_motion_leave ()
 
void on_motion_motion (Gtk::EventControllerMotion const *controller, double x, double y)
 
void _searchActivated ()
 User pressed return in search box, process search query.
 
void _handleEdited (const Glib::ustring &path, const Glib::ustring &new_text)
 Handle a successful item label edit.
 
void _handleTransparentHover (bool enabled)
 
void _generateTranslucentItems (SPItem *parent)
 
bool select_row (Glib::RefPtr< Gtk::TreeModel > const &model, Gtk::TreeModel::Path const &path, bool b)
 Take over the select row functionality from the TreeView, this is because we have two selections (layer and object selection) and require a custom method of rendering the result to the treeview.
 
Glib::RefPtr< Gdk::ContentProvider > on_prepare (Gtk::DragSource &controller, double x, double y)
 
void on_drag_begin (Glib::RefPtr< Gdk::Drag > const &drag)
 
void on_drag_end (Glib::RefPtr< Gdk::Drag > const &drag, bool delete_data)
 
Gdk::DragAction on_drag_motion (double x, double y)
 Signal handler for "drag-motion".
 
bool on_drag_drop (Glib::ValueBase const &value, double x, double y)
 Signal handler for "drag-drop".
 
void drag_end_impl ()
 
void selectRange (Gtk::TreeModel::Path start, Gtk::TreeModel::Path end)
 
bool selectCursorItem (Gdk::ModifierType state)
 Select the object currently under the list-cursor (keyboard or mouse)
 
SPItem_getCursorItem (Gtk::TreeViewColumn *column)
 
bool _selectionChanged ()
 

Private Attributes

Glib::RefPtr< Gtk::TreeStore > _store
 
std::unique_ptr< ModelColumns > _model
 
Glib::RefPtr< Gtk::Builder > _builder
 
Inkscape::PrefObserver _watch_object_mode
 
std::unique_ptr< ObjectWatcherroot_watcher
 
SPItemcurrent_item = nullptr
 
Gtk::TreeModel::Path _initial_path
 
bool _start_new_range = true
 
std::vector< SPWeakPtr< SPObject > > _prev_range
 
sigc::scoped_connection layer_changed
 
SPObject_layer
 
Gtk::TreeModel::RowReference _hovered_row_ref
 
Gdk::RGBA _hovered_row_color
 
Gdk::RGBA _hovered_row_old_color
 
bool _show_contextmenu_icons
 
bool _is_editing
 
bool _scroll_lock = false
 
std::vector< Gtk::Widget * > _watching
 
std::vector< Gtk::Widget * > _watchingNonTop
 
std::vector< Gtk::Widget * > _watchingNonBottom
 
TreeViewWithCssChanged & _tree
 
Gtk::CellRendererText * _text_renderer = nullptr
 
Gtk::TreeView::Column * _name_column = nullptr
 
Gtk::TreeView::Column * _blend_mode_column = nullptr
 
Gtk::TreeView::Column * _eye_column = nullptr
 
Gtk::TreeView::Column * _lock_column = nullptr
 
Gtk::TreeView::Column * _color_tag_column = nullptr
 
Gtk::Box _buttonsRow
 
Gtk::Box _buttonsPrimary
 
Gtk::Box _buttonsSecondary
 
Gtk::SearchEntry2 & _searchBox
 
Gtk::ScrolledWindow _scroller
 
Gtk::Box _page
 
sigc::scoped_connection _tree_style
 
Gtk::TreeRow _clicked_item_row
 
UI::Widget::PopoverBin _popoverbin
 
bool _translucency_enabled = false
 
SPItem_old_solid_item = nullptr
 
int _msg_id
 
Gtk::Popover & _settings_menu
 
Gtk::Popover & _object_menu
 
std::shared_ptr< Colors::ColorSet_colors
 
UI::Widget::ColorNotebook_color_selector = nullptr
 
Gtk::Scale & _opacity_slider
 
std::map< SPBlendMode, Gtk::CheckButton * > _blend_items
 
std::map< SPBlendMode, Glib::ustring > _blend_mode_names
 
Inkscape::UI::Widget::ImageToggler_item_state_toggler
 
Gtk::TreeViewColumn * _drag_column = nullptr
 
UI::Widget::PrefCheckButton_setting_layers
 
UI::Widget::PrefCheckButton_setting_track
 
bool _drag_flip
 
sigc::scoped_connection _idle_connection
 

Friends

class ObjectWatcher
 

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 objects.

Definition at line 76 of file objects.h.

Member Enumeration Documentation

◆ EventType

Enumerator
pressed 
released 

Definition at line 160 of file objects.h.

Constructor & Destructor Documentation

◆ ObjectsPanel()

Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel ( )

Constructor.

Definition at line 698 of file objects.cpp.

References _activateAction(), _blend_items, _blend_mode_column, _blend_mode_names, _builder, _color_tag_column, _eye_column, _handleEdited(), _is_editing, _item_state_toggler, _layer, Inkscape::Util::EnumDataConverter< E >::_length, _lock_column, _model, _name_column, _object_menu, _opacity_slider, _page, _popoverbin, _scroller, _searchActivated(), _searchBox, _selectionChanged(), _store, _text_renderer, _tree, _tree_style, _watch_object_mode, Inkscape::append(), SPObject::changeCSS(), cleanDummyChildren(), Inkscape::UI::create_builder(), css, current_item, Inkscape::Util::EnumDataConverter< E >::data(), data, SPObject::document, Inkscape::DocumentUndo::done(), Inkscape::Util::format_number(), Inkscape::Preferences::get(), get_color_with_class(), Inkscape::UI::Dialog::get_key(), Inkscape::UI::get_widget(), Inkscape::UI::Dialog::DialogBase::getDesktop(), Inkscape::UI::Dialog::DialogBase::getDocument(), getItem(), SPObject::getRepr(), Inkscape::UI::Dialog::DialogBase::getSelection(), getWatcher(), SPObject::id, item, key, label, layerChanged(), Inkscape::DocumentUndo::maybeDone(), on_click(), on_drag_begin(), on_drag_drop(), on_drag_end(), on_drag_motion(), on_motion_enter(), on_motion_leave(), on_motion_motion(), on_prepare(), on_tree_key_pressed(), on_window_key(), pressed, Inkscape::UI::Widget::ImageToggler::property_activatable(), Inkscape::UI::Widget::ImageToggler::property_active(), Inkscape::UI::Widget::ImageToggler::property_active_icon(), released, root_watcher, Inkscape::UI::Dialog::selection_color, set_blend_mode(), Inkscape::UI::Widget::ImageToggler::set_force_visible(), Inkscape::UI::Widget::PopoverBin::setChild(), SPItem::setExpanded(), setRootWatcher(), sp_repr_css_attr_new(), sp_repr_css_attr_unref(), sp_repr_css_set_property(), Inkscape::SPBlendModeConverter, Inkscape::CSSOStringStream::str(), Inkscape::UI::Dialog::DialogBase::update(), Inkscape::UI::Controller::use_state(), and width.

◆ ~ObjectsPanel()

Inkscape::UI::Dialog::ObjectsPanel::~ObjectsPanel ( )
overridedefault

Member Function Documentation

◆ _activateAction()

void Inkscape::UI::Dialog::ObjectsPanel::_activateAction ( const std::string &  layerAction,
const std::string &  selectionAction 
)
private

Special context-aware functions - If nothing is selected or layers-only mode is active, move/delete layers.

Definition at line 1211 of file objects.cpp.

References Inkscape::Preferences::get(), InkscapeApplication::get_active_window(), Inkscape::UI::Dialog::DialogBase::getSelection(), InkscapeApplication::instance(), Inkscape::ObjectSet::isEmpty(), and Inkscape::UI::Dialog::DialogBase::selection.

Referenced by ObjectsPanel(), and on_tree_key_pressed().

◆ _generateTranslucentItems()

void Inkscape::UI::Dialog::ObjectsPanel::_generateTranslucentItems ( SPItem parent)
private

◆ _getCursorItem()

SPItem * Inkscape::UI::Dialog::ObjectsPanel::_getCursorItem ( Gtk::TreeViewColumn *  column)
private

◆ _handleEdited()

void Inkscape::UI::Dialog::ObjectsPanel::_handleEdited ( const Glib::ustring &  path,
const Glib::ustring &  new_text 
)
private

Handle a successful item label edit.

Parameters
pathTree path of the item currently being edited
new_textNew label text

Definition at line 1742 of file objects.cpp.

References _is_editing, _store, Inkscape::DocumentUndo::done(), Inkscape::UI::Dialog::DialogBase::getDocument(), getItem(), SPItem::highlight_color(), SPItem::isHighlightSet(), item, SPObject::label(), SPGroup::LAYER, SPItem::setHighlight(), and SPObject::setLabel().

Referenced by ObjectsPanel().

◆ _handleTransparentHover()

void Inkscape::UI::Dialog::ObjectsPanel::_handleTransparentHover ( bool  enabled)
private

◆ _searchActivated()

void Inkscape::UI::Dialog::ObjectsPanel::_searchActivated ( )
private

User pressed return in search box, process search query.

Definition at line 2121 of file objects.cpp.

References setRootWatcher().

Referenced by ObjectsPanel().

◆ _selectionChanged()

◆ blendModePopup()

◆ cleanDummyChildren()

bool Inkscape::UI::Dialog::ObjectsPanel::cleanDummyChildren ( Gtk::TreeModel::Row  row)
private

Definition at line 1826 of file objects.cpp.

References getItem(), getRepr(), getWatcher(), and removeDummyChildren().

Referenced by ObjectsPanel(), and unpackToObject().

◆ colorTagPopup()

◆ desktopReplaced()

void Inkscape::UI::Dialog::ObjectsPanel::desktopReplaced ( )
overrideprivatevirtual

Called when the desktop has certainly changed.

It may have changed to nullptr when destructing the dialog, so the override should expect nullptr too.

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

Definition at line 1034 of file objects.cpp.

References Inkscape::LayerManager::connectCurrentLayerChanged(), Inkscape::UI::Dialog::DialogBase::desktop, Inkscape::UI::Dialog::DialogBase::getDesktop(), layer_changed, layerChanged(), and SPDesktop::layerManager().

◆ documentReplaced()

void Inkscape::UI::Dialog::ObjectsPanel::documentReplaced ( )
overrideprivatevirtual

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

Definition at line 1043 of file objects.cpp.

References setRootWatcher().

◆ drag_end_impl()

void Inkscape::UI::Dialog::ObjectsPanel::drag_end_impl ( )
private

Definition at line 2002 of file objects.cpp.

References _tree, current_item, and Inkscape::UI::Dialog::DialogBase::selection.

Referenced by on_drag_drop(), and on_drag_end().

◆ getItem()

SPItem * Inkscape::UI::Dialog::ObjectsPanel::getItem ( Gtk::TreeModel::ConstRow const &  row) const
private

Get the item which is associated with a row.

If getRepr(row) is not NULL, then this call is expected to also not be NULL.

Definition at line 1781 of file objects.cpp.

References getRepr().

Referenced by _handleEdited(), _handleTransparentHover(), blendModePopup(), cleanDummyChildren(), colorTagPopup(), ObjectsPanel(), on_click(), on_drag_motion(), on_motion_motion(), selectCursorItem(), selectRange(), toggleLocked(), and toggleVisible().

◆ getObject()

SPObject * Inkscape::UI::Dialog::ObjectsPanel::getObject ( Inkscape::XML::Node node)
private

Get the object from the node.

Parameters
node- XML Node involved in the signal.
Returns
SPObject matching the node, returns nullptr if not found.

Definition at line 665 of file objects.cpp.

References Inkscape::UI::Dialog::DialogBase::getDocument(), SPDocument::getObjectByRepr(), and node.

◆ getRepr()

Node * Inkscape::UI::Dialog::ObjectsPanel::getRepr ( Gtk::TreeModel::ConstRow const &  row) const
private

Get the XML node which is associated with a row.

Can be NULL for dummy children.

Definition at line 1772 of file objects.cpp.

References _model.

Referenced by cleanDummyChildren(), getItem(), isDummy(), and on_drag_drop().

◆ getRootWatcher()

ObjectWatcher * Inkscape::UI::Dialog::ObjectsPanel::getRootWatcher ( ) const
inlineprivate

Definition at line 94 of file objects.h.

References root_watcher.

◆ getRow()

std::optional< Gtk::TreeRow > Inkscape::UI::Dialog::ObjectsPanel::getRow ( SPItem item) const
private

◆ getWatcher()

ObjectWatcher * Inkscape::UI::Dialog::ObjectsPanel::getWatcher ( Inkscape::XML::Node node)
private

Get the object watcher from the xml node (reverse lookup), it uses a ancesstor recursive pattern to match up with the root_watcher.

Parameters
node- The node to look up.
Returns
the ObjectWatcher object if it's possible to find.

Definition at line 678 of file objects.cpp.

References getWatcher(), node, Inkscape::XML::Node::parent(), and root_watcher.

Referenced by cleanDummyChildren(), getWatcher(), layerChanged(), ObjectsPanel(), on_drag_begin(), and on_tree_key_pressed().

◆ hasDummyChildren()

bool Inkscape::UI::Dialog::ObjectsPanel::hasDummyChildren ( Gtk::TreeModel::ConstRow const &  row) const
private

Return true if this row has dummy children.

Definition at line 1790 of file objects.cpp.

References c, and isDummy().

Referenced by removeDummyChildren().

◆ isDummy()

bool Inkscape::UI::Dialog::ObjectsPanel::isDummy ( Gtk::TreeModel::ConstRow const &  row) const
inlineprivate

Definition at line 101 of file objects.h.

References getRepr().

Referenced by hasDummyChildren(), and removeDummyChildren().

◆ layerChanged()

void Inkscape::UI::Dialog::ObjectsPanel::layerChanged ( SPObject layer)
private

Happens when the layer selected is changed.

Parameters
layer- The layer now selected

Definition at line 1192 of file objects.cpp.

References _layer, SPObject::getRepr(), getWatcher(), Inkscape::UI::Dialog::LAYER_FOCUS_CHILD, Inkscape::UI::Dialog::LAYER_FOCUSED, and root_watcher.

Referenced by desktopReplaced(), ObjectsPanel(), and setRootWatcher().

◆ on_click()

◆ on_drag_begin()

void Inkscape::UI::Dialog::ObjectsPanel::on_drag_begin ( Glib::RefPtr< Gdk::Drag > const &  drag)
private

◆ on_drag_drop()

bool Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop ( Glib::ValueBase const &  value,
double  x,
double  y 
)
private

◆ on_drag_end()

void Inkscape::UI::Dialog::ObjectsPanel::on_drag_end ( Glib::RefPtr< Gdk::Drag > const &  drag,
bool  delete_data 
)
private

Definition at line 2010 of file objects.cpp.

References drag_end_impl().

Referenced by ObjectsPanel().

◆ on_drag_motion()

Gdk::DragAction Inkscape::UI::Dialog::ObjectsPanel::on_drag_motion ( double  x,
double  y 
)
private

◆ on_motion_enter()

void Inkscape::UI::Dialog::ObjectsPanel::on_motion_enter ( double  x,
double  y 
)
private

◆ on_motion_leave()

void Inkscape::UI::Dialog::ObjectsPanel::on_motion_leave ( )
private

◆ on_motion_motion()

◆ on_prepare()

Glib::RefPtr< Gdk::ContentProvider > Inkscape::UI::Dialog::ObjectsPanel::on_prepare ( Gtk::DragSource &  controller,
double  x,
double  y 
)
private

Definition at line 1948 of file objects.cpp.

References _tree, and surface.

Referenced by ObjectsPanel().

◆ on_tree_key_pressed()

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

◆ on_window_key()

bool Inkscape::UI::Dialog::ObjectsPanel::on_window_key ( Gtk::EventControllerKey const &  controller,
unsigned  keyval,
unsigned  keycode,
Gdk::ModifierType  state,
EventType  type 
)
private

◆ removeDummyChildren()

bool Inkscape::UI::Dialog::ObjectsPanel::removeDummyChildren ( Gtk::TreeModel::Row  row)
private

If the given row has dummy children, remove them.

Precondition
Eiter all, or no children are dummies
Postcondition
If the function returns true, the row has no children
Returns
False if there are children and they are not dummies

Definition at line 1806 of file objects.cpp.

References _store, child, hasDummyChildren(), and isDummy().

Referenced by cleanDummyChildren().

◆ select_row()

bool Inkscape::UI::Dialog::ObjectsPanel::select_row ( Glib::RefPtr< Gtk::TreeModel > const &  model,
Gtk::TreeModel::Path const &  path,
bool  b 
)
private

Take over the select row functionality from the TreeView, this is because we have two selections (layer and object selection) and require a custom method of rendering the result to the treeview.

Definition at line 1764 of file objects.cpp.

◆ selectCursorItem()

◆ selectionChanged()

void Inkscape::UI::Dialog::ObjectsPanel::selectionChanged ( Selection selected)
overrideprivatevirtual

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

Definition at line 1138 of file objects.cpp.

References _idle_connection, _selectionChanged(), and SP_DOCUMENT_UPDATE_PRIORITY.

◆ selectRange()

◆ setRootWatcher()

◆ showChildInTree()

bool Inkscape::UI::Dialog::ObjectsPanel::showChildInTree ( SPItem item)
private

◆ toggleLocked()

◆ toggleVisible()

◆ unpackToObject()

ObjectWatcher * Inkscape::UI::Dialog::ObjectsPanel::unpackToObject ( SPObject item)
private

This both unpacks the tree, and populates lazy loading.

Definition at line 1116 of file objects.cpp.

References SPObject::ancestorList(), cleanDummyChildren(), item, ObjectWatcher, parent, and root_watcher.

Referenced by _selectionChanged().

Friends And Related Symbol Documentation

◆ ObjectWatcher

friend class ObjectWatcher
friend

Definition at line 193 of file objects.h.

Referenced by unpackToObject().

Member Data Documentation

◆ _blend_items

std::map<SPBlendMode, Gtk::CheckButton *> Inkscape::UI::Dialog::ObjectsPanel::_blend_items
private

Definition at line 205 of file objects.h.

Referenced by blendModePopup(), and ObjectsPanel().

◆ _blend_mode_column

Gtk::TreeView::Column* Inkscape::UI::Dialog::ObjectsPanel::_blend_mode_column = nullptr
private

Definition at line 139 of file objects.h.

Referenced by ObjectsPanel(), and on_click().

◆ _blend_mode_names

std::map<SPBlendMode, Glib::ustring> Inkscape::UI::Dialog::ObjectsPanel::_blend_mode_names
private

Definition at line 206 of file objects.h.

Referenced by ObjectsPanel().

◆ _builder

Glib::RefPtr<Gtk::Builder> Inkscape::UI::Dialog::ObjectsPanel::_builder
private

Definition at line 111 of file objects.h.

Referenced by ObjectsPanel().

◆ _buttonsPrimary

Gtk::Box Inkscape::UI::Dialog::ObjectsPanel::_buttonsPrimary
private

Definition at line 144 of file objects.h.

◆ _buttonsRow

Gtk::Box Inkscape::UI::Dialog::ObjectsPanel::_buttonsRow
private

Definition at line 143 of file objects.h.

◆ _buttonsSecondary

Gtk::Box Inkscape::UI::Dialog::ObjectsPanel::_buttonsSecondary
private

Definition at line 145 of file objects.h.

◆ _clicked_item_row

Gtk::TreeRow Inkscape::UI::Dialog::ObjectsPanel::_clicked_item_row
private

Definition at line 150 of file objects.h.

Referenced by colorTagPopup(), and on_click().

◆ _color_selector

UI::Widget::ColorNotebook* Inkscape::UI::Dialog::ObjectsPanel::_color_selector = nullptr
private

Definition at line 202 of file objects.h.

Referenced by colorTagPopup().

◆ _color_tag_column

Gtk::TreeView::Column* Inkscape::UI::Dialog::ObjectsPanel::_color_tag_column = nullptr
private

Definition at line 142 of file objects.h.

Referenced by ObjectsPanel(), on_click(), and on_motion_motion().

◆ _colors

std::shared_ptr<Colors::ColorSet> Inkscape::UI::Dialog::ObjectsPanel::_colors
private

Definition at line 201 of file objects.h.

Referenced by colorTagPopup().

◆ _drag_column

Gtk::TreeViewColumn* Inkscape::UI::Dialog::ObjectsPanel::_drag_column = nullptr
private

Definition at line 210 of file objects.h.

Referenced by on_click(), and on_motion_motion().

◆ _drag_flip

bool Inkscape::UI::Dialog::ObjectsPanel::_drag_flip
private

Definition at line 214 of file objects.h.

Referenced by on_click(), and on_motion_motion().

◆ _eye_column

Gtk::TreeView::Column* Inkscape::UI::Dialog::ObjectsPanel::_eye_column = nullptr
private

Definition at line 140 of file objects.h.

Referenced by ObjectsPanel(), on_click(), on_motion_motion(), and selectCursorItem().

◆ _hovered_row_color

Gdk::RGBA Inkscape::UI::Dialog::ObjectsPanel::_hovered_row_color
private

Definition at line 122 of file objects.h.

Referenced by on_motion_motion().

◆ _hovered_row_old_color

Gdk::RGBA Inkscape::UI::Dialog::ObjectsPanel::_hovered_row_old_color
private

Definition at line 123 of file objects.h.

Referenced by on_motion_motion().

◆ _hovered_row_ref

Gtk::TreeModel::RowReference Inkscape::UI::Dialog::ObjectsPanel::_hovered_row_ref
private

Definition at line 121 of file objects.h.

Referenced by _handleTransparentHover(), and on_motion_motion().

◆ _idle_connection

sigc::scoped_connection Inkscape::UI::Dialog::ObjectsPanel::_idle_connection
private

Definition at line 217 of file objects.h.

Referenced by selectionChanged(), and setRootWatcher().

◆ _initial_path

Gtk::TreeModel::Path Inkscape::UI::Dialog::ObjectsPanel::_initial_path
private

Definition at line 115 of file objects.h.

Referenced by on_click(), and selectCursorItem().

◆ _is_editing

bool Inkscape::UI::Dialog::ObjectsPanel::_is_editing
private

◆ _item_state_toggler

Inkscape::UI::Widget::ImageToggler* Inkscape::UI::Dialog::ObjectsPanel::_item_state_toggler
private

Definition at line 207 of file objects.h.

Referenced by blendModePopup(), and ObjectsPanel().

◆ _layer

SPObject* Inkscape::UI::Dialog::ObjectsPanel::_layer
private

Definition at line 120 of file objects.h.

Referenced by layerChanged(), ObjectsPanel(), and on_click().

◆ _lock_column

Gtk::TreeView::Column* Inkscape::UI::Dialog::ObjectsPanel::_lock_column = nullptr
private

Definition at line 141 of file objects.h.

Referenced by ObjectsPanel(), on_click(), on_motion_motion(), and selectCursorItem().

◆ _model

std::unique_ptr<ModelColumns> Inkscape::UI::Dialog::ObjectsPanel::_model
private

Definition at line 107 of file objects.h.

Referenced by getRepr(), ObjectsPanel(), on_motion_motion(), toggleLocked(), and toggleVisible().

◆ _msg_id

int Inkscape::UI::Dialog::ObjectsPanel::_msg_id
private

Definition at line 198 of file objects.h.

Referenced by on_motion_enter(), and on_motion_leave().

◆ _name_column

Gtk::TreeView::Column* Inkscape::UI::Dialog::ObjectsPanel::_name_column = nullptr
private

Definition at line 138 of file objects.h.

Referenced by ObjectsPanel(), on_click(), on_drag_motion(), on_motion_motion(), and selectCursorItem().

◆ _object_menu

Gtk::Popover& Inkscape::UI::Dialog::ObjectsPanel::_object_menu
private

Definition at line 200 of file objects.h.

Referenced by blendModePopup(), and ObjectsPanel().

◆ _old_solid_item

SPItem* Inkscape::UI::Dialog::ObjectsPanel::_old_solid_item = nullptr
private

Definition at line 196 of file objects.h.

Referenced by _handleTransparentHover().

◆ _opacity_slider

Gtk::Scale& Inkscape::UI::Dialog::ObjectsPanel::_opacity_slider
private

Definition at line 204 of file objects.h.

Referenced by blendModePopup(), and ObjectsPanel().

◆ _page

Gtk::Box Inkscape::UI::Dialog::ObjectsPanel::_page
private

Definition at line 148 of file objects.h.

Referenced by ObjectsPanel().

◆ _popoverbin

UI::Widget::PopoverBin Inkscape::UI::Dialog::ObjectsPanel::_popoverbin
private

Definition at line 151 of file objects.h.

Referenced by blendModePopup(), colorTagPopup(), ObjectsPanel(), and on_click().

◆ _prev_range

std::vector<SPWeakPtr<SPObject> > Inkscape::UI::Dialog::ObjectsPanel::_prev_range
private

Definition at line 117 of file objects.h.

Referenced by selectRange().

◆ _scroll_lock

bool Inkscape::UI::Dialog::ObjectsPanel::_scroll_lock = false
private

Definition at line 129 of file objects.h.

Referenced by _selectionChanged(), on_drag_begin(), and selectCursorItem().

◆ _scroller

Gtk::ScrolledWindow Inkscape::UI::Dialog::ObjectsPanel::_scroller
private

Definition at line 147 of file objects.h.

Referenced by ObjectsPanel().

◆ _searchBox

Gtk::SearchEntry2& Inkscape::UI::Dialog::ObjectsPanel::_searchBox
private

Definition at line 146 of file objects.h.

Referenced by ObjectsPanel(), setRootWatcher(), and showChildInTree().

◆ _setting_layers

UI::Widget::PrefCheckButton& Inkscape::UI::Dialog::ObjectsPanel::_setting_layers
private

Definition at line 212 of file objects.h.

◆ _setting_track

UI::Widget::PrefCheckButton& Inkscape::UI::Dialog::ObjectsPanel::_setting_track
private

Definition at line 213 of file objects.h.

◆ _settings_menu

Gtk::Popover& Inkscape::UI::Dialog::ObjectsPanel::_settings_menu
private

Definition at line 199 of file objects.h.

◆ _show_contextmenu_icons

bool Inkscape::UI::Dialog::ObjectsPanel::_show_contextmenu_icons
private

Definition at line 126 of file objects.h.

◆ _start_new_range

bool Inkscape::UI::Dialog::ObjectsPanel::_start_new_range = true
private

Definition at line 116 of file objects.h.

Referenced by selectCursorItem(), and selectRange().

◆ _store

Glib::RefPtr<Gtk::TreeStore> Inkscape::UI::Dialog::ObjectsPanel::_store
private

◆ _text_renderer

Gtk::CellRendererText* Inkscape::UI::Dialog::ObjectsPanel::_text_renderer = nullptr
private

Definition at line 137 of file objects.h.

Referenced by ObjectsPanel().

◆ _translucency_enabled

bool Inkscape::UI::Dialog::ObjectsPanel::_translucency_enabled = false
private

Definition at line 195 of file objects.h.

Referenced by _handleTransparentHover().

◆ _tree

TreeViewWithCssChanged& Inkscape::UI::Dialog::ObjectsPanel::_tree
private

◆ _tree_style

sigc::scoped_connection Inkscape::UI::Dialog::ObjectsPanel::_tree_style
private

Definition at line 149 of file objects.h.

Referenced by ObjectsPanel().

◆ _watch_object_mode

Inkscape::PrefObserver Inkscape::UI::Dialog::ObjectsPanel::_watch_object_mode
private

Definition at line 112 of file objects.h.

Referenced by ObjectsPanel().

◆ _watching

std::vector<Gtk::Widget*> Inkscape::UI::Dialog::ObjectsPanel::_watching
private

Definition at line 131 of file objects.h.

◆ _watchingNonBottom

std::vector<Gtk::Widget*> Inkscape::UI::Dialog::ObjectsPanel::_watchingNonBottom
private

Definition at line 133 of file objects.h.

◆ _watchingNonTop

std::vector<Gtk::Widget*> Inkscape::UI::Dialog::ObjectsPanel::_watchingNonTop
private

Definition at line 132 of file objects.h.

◆ current_item

SPItem* Inkscape::UI::Dialog::ObjectsPanel::current_item = nullptr
private

◆ layer_changed

sigc::scoped_connection Inkscape::UI::Dialog::ObjectsPanel::layer_changed
private

Definition at line 119 of file objects.h.

Referenced by desktopReplaced().

◆ root_watcher

std::unique_ptr<ObjectWatcher> Inkscape::UI::Dialog::ObjectsPanel::root_watcher
private

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