|
Blender V5.0
|
Inherits blender::ui::AbstractTreeViewItem.
Definition at line 192 of file interface_template_shape_key_tree.cc.
|
inline |
Definition at line 197 of file interface_template_shape_key_tree.cc.
References blender::ui::AbstractTreeViewItem::label_, and KeyBlock::name.
|
inlineoverridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 280 of file interface_template_shape_key_tree.cc.
References C, UI_menutype_draw(), and WM_menutype_find().
|
inlineoverridevirtual |
Implements blender::ui::AbstractTreeViewItem.
Definition at line 206 of file interface_template_shape_key_tree.cc.
References uiLayout::active_set(), KEYBLOCK_MUTE, blender::ui::AbstractTreeViewItem::label_, uiLayout::prop(), RNA_pointer_create_discrete(), uiLayout::row(), UI_ITEM_R_ICON_ONLY, uiItemL_ex(), and uiLayout::use_property_decorate_set().
|
inlineoverridevirtual |
If an item wants to support being dragged, it has to return a drag controller here. That is an object implementing #AbstractViewItemDragController.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 289 of file interface_template_shape_key_tree.cc.
References blender::ui::AbstractTreeViewItem::get_tree_view().
|
inlineoverridevirtual |
Reimplemented from blender::ui::AbstractTreeViewItem.
Definition at line 295 of file interface_template_shape_key_tree.cc.
References blender::ui::Reorder.
|
inlineoverridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 271 of file interface_template_shape_key_tree.cc.
References BKE_object_shapekey_remove(), C, CTX_data_main(), DEG_id_tag_update(), ED_undo_grouped_push(), ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, and WM_event_add_notifier().
|
inlineoverridevirtual |
See AbstractViewItem::get_rename_string().
Reimplemented from blender::ui::AbstractTreeViewItem.
Definition at line 266 of file interface_template_shape_key_tree.cc.
References blender::ui::AbstractTreeViewItem::label_.
|
inlineoverridevirtual |
Called when the view changes an item's state from inactive to active. Will only be called if the state change is triggered through the view, not through external changes. E.g. a click on an item calls it, a change in the value returned by should_be_active() to reflect an external state change does not.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 230 of file interface_template_shape_key_tree.cc.
References C, ED_undo_push(), RNA_pointer_create_discrete(), RNA_property_int_set(), RNA_property_update(), and RNA_struct_find_property().
|
inlineoverridevirtual |
See AbstractViewItem::rename().
Reimplemented from blender::ui::AbstractTreeViewItem.
Definition at line 257 of file interface_template_shape_key_tree.cc.
References C, blender::StringRefNull::c_str(), ED_undo_push(), RNA_pointer_create_discrete(), and RNA_string_set().
|
inlineoverridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 246 of file interface_template_shape_key_tree.cc.
References KEYBLOCK_SEL, select, and SET_FLAG_FROM_TEST.
|
inlineoverridevirtual |
If the result is not empty, it controls whether the item should be active or not, usually depending on the data that the view represents. Note that since this is meant to reflect externally managed state changes, on_activate() will never be called if this returns true.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 225 of file interface_template_shape_key_tree.cc.
|
inlineoverridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 241 of file interface_template_shape_key_tree.cc.
References KEYBLOCK_SEL.
|
inlineoverridevirtual |
Queries if the view item supports renaming in principle. Renaming may still fail, e.g. if another item is already being renamed.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 252 of file interface_template_shape_key_tree.cc.