|
Blender V4.3
|
Inherits blender::ui::AbstractTreeViewItem.
Inherited by blender::ed::spreadsheet::CurvesDomainViewItem, blender::ed::spreadsheet::CurvesViewItem, blender::ed::spreadsheet::GreasePencilLayerCurvesDomainViewItem, blender::ed::spreadsheet::GreasePencilLayerViewItem, blender::ed::spreadsheet::GreasePencilLayersViewItem, blender::ed::spreadsheet::GreasePencilViewItem, blender::ed::spreadsheet::InstancesViewItem, blender::ed::spreadsheet::MeshDomainViewItem, blender::ed::spreadsheet::MeshViewItem, blender::ed::spreadsheet::PointCloudViewItem, blender::ed::spreadsheet::PointsViewItem, and blender::ed::spreadsheet::VolumeGridsViewItem.
Definition at line 221 of file spreadsheet_dataset_draw.cc.
|
inlinevirtual |
Get information about which part of a geometry this item corresponds to.
Reimplemented in blender::ed::spreadsheet::CurvesDomainViewItem, blender::ed::spreadsheet::GreasePencilLayerCurvesDomainViewItem, blender::ed::spreadsheet::GreasePencilLayersViewItem, blender::ed::spreadsheet::InstancesViewItem, blender::ed::spreadsheet::MeshDomainViewItem, blender::ed::spreadsheet::PointsViewItem, and blender::ed::spreadsheet::VolumeGridsViewItem.
Definition at line 230 of file spreadsheet_dataset_draw.cc.
Referenced by on_activate(), and should_be_active().
| GeometryDataSetTreeView & blender::ed::spreadsheet::DataSetViewItem::get_tree | ( | ) | const |
Definition at line 590 of file spreadsheet_dataset_draw.cc.
References blender::ui::AbstractTreeViewItem::get_tree_view().
Referenced by should_be_active().
|
overridevirtual |
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 649 of file spreadsheet_dataset_draw.cc.
References SpaceSpreadsheet::active_layer_index, SpaceSpreadsheet::attribute_domain, CTX_wm_screen(), CTX_wm_space_spreadsheet(), blender::ui::TreeViewItemContainer::foreach_item_recursive(), SpaceSpreadsheet::geometry_component_type, get_geometry_data_id(), ptr, RNA_pointer_create(), RNA_property_update(), and RNA_struct_find_property().
|
overridevirtual |
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 683 of file spreadsheet_dataset_draw.cc.
References SpaceSpreadsheet::active_layer_index, SpaceSpreadsheet::attribute_domain, SpaceSpreadsheet::geometry_component_type, get_geometry_data_id(), and get_tree().