|
Blender V5.0
|
#include "BKE_context.hh"#include "BKE_file_handler.hh"#include "BKE_idprop.hh"#include "BKE_screen.hh"#include "BLI_listbase.h"#include "BLI_string_utf8.h"#include "BLT_translation.hh"#include "DNA_collection_types.h"#include "ED_undo.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "WM_api.hh"#include "UI_interface_layout.hh"#include "interface_intern.hh"Go to the source code of this file.
Classes | |
| struct | uiTemplateOperatorPropertyPollParam |
|
static |
Definition at line 346 of file interface_template_operator_property.cc.
References C, uiLayout::emboss_set(), uiLayout::label(), blender::ui::None, uiLayout::op(), uiLayout::popover(), RNA_int_set(), and uiLayout::row().
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 359 of file interface_template_operator_property.cc.
References C, col, uiLayout::column(), RNA_NO_INDEX, RNA_struct_find_property(), template_operator_property_buts_draw_single(), UI_BUT_LABEL_ALIGN_NONE, UI_ITEM_NONE, UI_TEMPLATE_OP_PROPS_ALLOW_UNDO_PUSH, and UI_TEMPLATE_OP_PROPS_HIDE_PRESETS.
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 393 of file interface_template_operator_property.cc.
References uiLayout::emboss_set(), blender::ui::None, uiLayout::prop(), uiLayout::row(), and UI_ITEM_NONE.
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 329 of file interface_template_operator_property.cc.
References PointerRNA::data, wmOperator::idname, MEM_callocN(), ot, wmOperator::properties, wmOperator::ptr, STRNCPY_UTF8, and wmOperator::type.
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 205 of file interface_template_operator_property.cc.
References C, wmOperatorType::flag, LISTBASE_FOREACH, wmOperator::macro, OPTYPE_MACRO, template_operator_property_buts_draw_recursive(), template_operator_property_buts_draw_single(), wmOperator::type, and UI_PROP_BUTS_ANY_FAILED_CHECK.
Referenced by template_operator_property_buts_draw_recursive(), uiTemplateOperatorPropertyButs(), and uiTemplateOperatorRedoProperties().
|
static |
Definition at line 62 of file interface_template_operator_property.cc.
References uiLayout::block(), But, uiBlock::buttons, C, uiTemplateOperatorPropertyPollParam::C, col, uiLayout::column(), blender::bke::idprop::create_group(), CTX_wm_manager(), CTX_wm_window(), ELEM, uiBlock::flag, uiTemplateOperatorPropertyPollParam::flag, wmOperatorType::flag, wmWindowManager::id, wmOperatorType::idname, IFACE_, blender::wm::InvokeDefault, uiLayout::label(), wmOperator::layout, IDProperty::len, uiLayout::menu(), N_, Num, uiBlock::oldblock, uiLayout::op(), uiTemplateOperatorPropertyPollParam::op, OPTYPE_PRESET, ot, wmOperatorType::poll_property, wmOperatorType::prop, wmOperator::properties, ptr, wmOperator::ptr, RNA_boolean_set(), RNA_pointer_create_discrete(), RNA_string_set(), uiLayout::row(), wmOperatorType::srna, Text, TIP_, wmOperator::type, wmOperatorType::ui, UI_BLOCK_KEEP_OPEN, UI_block_lock_clear(), UI_block_lock_set(), UI_block_set_active_operator(), UI_but_flag_disable(), UI_but_focus_on_enter_event(), UI_but_func_set(), UI_BUT_UNDO, UI_ITEM_NONE, ui_layout_operator_buts_poll_property(), UI_PROP_BUTS_NONE_ADDED, UI_TEMPLATE_OP_PROPS_ALLOW_UNDO_PUSH, UI_TEMPLATE_OP_PROPS_COMPACT, UI_TEMPLATE_OP_PROPS_HIDE_PRESETS, UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT, UI_TEMPLATE_OP_PROPS_SHOW_EMPTY, UI_TEMPLATE_OP_PROPS_SHOW_TITLE, UI_UNIT_X, UI_UNIT_Y, uiDefAutoButsRNA(), uiDefIconTextBut(), uiLayout::use_property_decorate_set(), uiLayout::use_property_split_set(), WM_operator_repeat_check(), WM_operatortype_find(), and WM_operatortype_name().
Referenced by draw_export_properties(), and template_operator_property_buts_draw_recursive().
|
static |
Definition at line 47 of file interface_template_operator_property.cc.
References OP_PROP_TAG_ADVANCED, params, RNA_property_tags(), and UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED.
Referenced by template_operator_property_buts_draw_single(), and ui_layout_operator_properties_only_booleans().
|
static |
Definition at line 230 of file interface_template_operator_property.cc.
References C, uiTemplateOperatorPropertyPollParam::C, uiTemplateOperatorPropertyPollParam::flag, wmOperatorType::flag, wmWindowManager::id, LISTBASE_FOREACH, wmOperator::macro, uiTemplateOperatorPropertyPollParam::op, OPTYPE_MACRO, wmOperatorType::poll_property, PROP_BOOLEAN, PROP_HIDDEN, wmOperator::properties, ptr, RNA_pointer_create_discrete(), RNA_property_flag(), RNA_property_type(), RNA_STRUCT_BEGIN, RNA_STRUCT_END, wmOperatorType::srna, wmOperator::type, ui_layout_operator_buts_poll_property(), and ui_layout_operator_properties_only_booleans().
Referenced by ui_layout_operator_properties_only_booleans(), and uiTemplateOperatorPropertyButs().
Definition at line 409 of file interface_template_operator_property.cc.
References Collection::active_exporter_index, BLI_findlink(), BLI_listbase_is_empty(), uiLayout::block(), PanelLayout::body, C, col, uiLayout::column(), CTX_data_collection(), data, draw_export_controls(), draw_export_properties(), draw_exporter_item(), uiListType::draw_item, blender::bke::FileHandlerType::export_operator, Collection::exporters, blender::bke::file_handler_find(), blender::bke::FileHandlerType::get_default_filename(), PanelLayout::header, Collection::id, uiListType::idname, IFACE_, blender::bke::FileHandlerType::label, MEM_callocN(), minimal_operator_create(), ID::name, ot, uiLayout::panel_prop(), RNA_enum_set(), RNA_id_pointer_create(), RNA_int_set(), RNA_pointer_create_discrete(), uiLayout::row(), STRNCPY_UTF8, UI_block_set_active_operator(), UI_TEMPLATE_LIST_FLAG_NONE, UILST_LAYOUT_DEFAULT, uiTemplateList(), WM_operatortype_find(), and WM_uilisttype_add().
| void uiTemplateOperatorPropertyButs | ( | const bContext * | C, |
| uiLayout * | layout, | ||
| wmOperator * | op, | ||
| eButLabelAlign | label_align, | ||
| short | flag ) |
Draw Operator property buttons for redoing execution with different settings. This function does not initialize the layout, functions can be called on the layout before and after.
Definition at line 274 of file interface_template_operator_property.cc.
References C, CTX_wm_manager(), flag, template_operator_property_buts_draw_recursive(), ui_layout_operator_properties_only_booleans(), and UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT.
Referenced by file_panel_operator(), wm_block_create_redo(), wm_block_dialog_create(), and wm_operator_ui_create().
Definition at line 288 of file interface_template_operator_property.cc.
References uiLayout::block(), C, ED_undo_operator_repeat_cb_evt(), IFACE_, blender::wm::InvokeDefault, uiLayout::op(), uiBlock::panel, wmOperator::ptr, template_operator_property_buts_draw_recursive(), wmOperator::type, UI_block_func_handle_set(), UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE, WM_operator_last_redo(), WM_operator_repeat_check(), and WM_operatortype_name().
Referenced by hud_panel_operator_redo_draw().