Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_userpref.py
| Context not available. | |||||
| flow.prop(view, "use_translate_new_dataname", text="New Data") | flow.prop(view, "use_translate_new_dataname", text="New Data") | ||||
| class USERPREF_PT_interface_cursors(PreferencePanel, Panel): | |||||
| bl_label = "Cursors" | |||||
| @classmethod | |||||
| def poll(cls, context): | |||||
| prefs = context.preferences | |||||
| return (prefs.active_section == 'INTERFACE') | |||||
| def draw_props(self, context, layout): | |||||
| prefs = context.preferences | |||||
| view = prefs.view | |||||
| system = prefs.system | |||||
| flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False) | |||||
| flow.prop(view, "select_cursor") | |||||
| flow.prop(view, "movement_cursor") | |||||
| flow.prop(view, "paint_cursor") | |||||
| flow.prop(view, "sculpt_cursor") | |||||
| flow.prop(view, "gp_cursor") | |||||
| flow.prop(view, "annotate_cursor") | |||||
| class USERPREF_PT_interface_editors(PreferencePanel, Panel): | class USERPREF_PT_interface_editors(PreferencePanel, Panel): | ||||
| bl_label = "Editors" | bl_label = "Editors" | ||||
| Context not available. | |||||
| USERPREF_PT_interface_display, | USERPREF_PT_interface_display, | ||||
| USERPREF_PT_interface_editors, | USERPREF_PT_interface_editors, | ||||
| USERPREF_PT_interface_cursors, | |||||
| USERPREF_PT_interface_temporary_windows, | USERPREF_PT_interface_temporary_windows, | ||||
| USERPREF_PT_interface_translation, | USERPREF_PT_interface_translation, | ||||
| USERPREF_PT_interface_text, | USERPREF_PT_interface_text, | ||||
| Context not available. | |||||