|
Blender V4.5
|
#include "BKE_context.hh"#include "BKE_file_handler.hh"#include "BKE_idprop.hh"#include "BKE_screen.hh"#include "BLI_listbase.h"#include "BLI_string.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.hh"#include "interface_intern.hh"Go to the source code of this file.
Classes | |
| struct | uiTemplateOperatorPropertyPollParam |
|
static |
Definition at line 347 of file interface_template_operator_property.cc.
References C, uiLayout::label(), blender::ui::None, uiLayout::op(), RNA_int_set(), uiLayout::row(), uiItemPopoverPanel(), and uiLayoutSetEmboss().
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 360 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, UI_TEMPLATE_OP_PROPS_HIDE_PRESETS, uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 394 of file interface_template_operator_property.cc.
References blender::ui::None, uiLayout::prop(), uiLayout::row(), UI_ITEM_NONE, and uiLayoutSetEmboss().
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 330 of file interface_template_operator_property.cc.
References PointerRNA::data, wmOperator::idname, MEM_callocN(), ot, wmOperator::properties, wmOperator::ptr, STRNCPY(), and wmOperator::type.
Referenced by uiTemplateCollectionExporters().
|
static |
Definition at line 206 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 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_, uiLayout::label(), wmOperator::layout, IDProperty::len, uiLayout::menu(), N_, 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, TIP_, wmOperator::type, wmOperatorType::ui, UI_BLOCK_KEEP_OPEN, UI_block_lock_clear(), UI_block_lock_set(), UI_block_set_active_operator(), UI_BTYPE_BUT, UI_BTYPE_NUM, UI_BTYPE_TEXT, 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(), uiLayoutGetBlock(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), WM_OP_INVOKE_DEFAULT, 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 231 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 410 of file interface_template_operator_property.cc.
References Collection::active_exporter_index, BLI_findlink(), BLI_listbase_is_empty(), 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_id_pointer_create(), RNA_int_set(), RNA_pointer_create_discrete(), uiLayout::row(), STRNCPY(), UI_block_set_active_operator(), UI_TEMPLATE_LIST_FLAG_NONE, uiLayoutGetBlock(), uiLayoutSetEnabled(), 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 275 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 289 of file interface_template_operator_property.cc.
References C, ED_undo_operator_repeat_cb_evt(), IFACE_, 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, uiLayoutGetBlock(), WM_OP_INVOKE_DEFAULT, WM_operator_last_redo(), WM_operator_repeat_check(), and WM_operatortype_name().
Referenced by hud_panel_operator_redo_draw().