![]() |
NDEVR
API Documentation
|
A popup Editor dialog for showing options or information related to Materials used with solid rendering such as light reflectivity. More...
Public Member Functions | |
| SolidMaterialEditor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=Q_NULLPTR) | |
| Constructs a solid material editor for the given design object. | |
| virtual void | requestScrollEnabled (bool enabled) override |
| Enables or disables scroll capability within the editor. | |
| void | setHorizontal (bool horizontal) override |
| Sets the editor layout to horizontal or vertical orientation. | |
| EditorShowMode | showMode () const override |
| Retrieves the preferred show mode for this editor. | |
| Public Member Functions inherited from Editor | |
| Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
| Constructs an Editor targeting the given design object. | |
| Editor (QWidget *parent=nullptr) | |
| Constructs an Editor with no design object target. | |
| virtual Buffer< QWidget * > | bottomOptions () |
| Returns widgets to be placed at the bottom of the editor layout. | |
| virtual StringView | customDialogIcon () const |
| Returns a custom icon name for the editor dialog, or an empty string if none. | |
| virtual TranslatedString | customDialogTitle () const |
| Returns a custom title for the editor dialog, or an empty string if none. | |
| virtual bool | disableExport () const |
| Returns whether exporting should be disabled for this editor. | |
| Model | getModel () const |
| Returns the target design object as a Model. | |
| DesignObject | getObject () const |
| Returns the target design object. | |
| virtual bool | isBusy () const |
| Returns whether the editor is currently busy performing an operation. | |
| void | isBusyStatusChanged () |
| Emitted when the busy status of the editor changes. | |
| virtual bool | isHorizontal () const |
| Returns whether the editor layout is horizontal. | |
| virtual void | moveTargetWithMouse () |
| Initiates interactive mouse-based movement of the target object in the viewport. | |
| void | objectUpdatedSignal () |
| Emitted when the target object has been updated. | |
| virtual InterfaceOrientationController * | orientationController () const |
| Returns the orientation controller associated with this editor. | |
| virtual Buffer< QWidget * > | printableWidgetOptions () |
| Returns option widgets to configure printing for this editor. | |
| virtual Buffer< QWidget * > | printableWidgets () |
| Returns the widgets that can be printed from this editor. | |
| virtual void | setReadOnly (bool read_only) |
| Sets whether the editor is in read-only mode. | |
| virtual void | setTarget (const DynamicPointer< QTDesignObject > &object) |
| Sets the design object target for this editor. | |
| virtual void | setup (DesignObjectDialog *, const ShowPropertiesSettings &) |
| Sets up the editor with a parent dialog and property display settings. | |
| const DynamicPointer< QTDesignObject > & | target () const |
| Returns the current design object target. | |
Protected Member Functions | |
| Material | material () |
| Retrieves the Material being edited. | |
| void | updateUVLayout () |
| Updates the UV channel layout section of the editor. | |
| virtual void | updateValues () override |
| Updates the displayed values from the underlying material data. | |
| Protected Member Functions inherited from Editor | |
| void | onDesignObjectDeletedSlot () |
| Slot called when the target design object is deleted. | |
| void | onDesignObjectUpdateSlot () |
| Slot called when the target design object is updated. | |
Protected Attributes | |
| Buffer< UVChannelEditWidget * > | m_lighting_widgets |
| Widgets for editing UV channel lighting properties. | |
| bool | m_updating = false |
| Guard flag to prevent recursive updates. | |
| Ui::SolidMaterialEditorUI * | ui |
| The UI form for the solid material editor. | |
| Protected Attributes inherited from Editor | |
| DynamicPointer< QTDesignObject > | m_design_object |
| The design object being edited. | |
| bool | m_is_read_only = false |
| Whether the editor is in read-only mode. | |
| InterfaceOrientationController * | m_orientation_controller |
| The orientation controller for this editor. | |
A popup Editor dialog for showing options or information related to Materials used with solid rendering such as light reflectivity.
Definition at line 46 of file SolidMaterialEditor.h.
| SolidMaterialEditor::SolidMaterialEditor | ( | const DynamicPointer< QTDesignObject > & | object, |
| QWidget * | parent = Q_NULLPTR ) |
Constructs a solid material editor for the given design object.
| [in] | object | The design object whose material to edit. |
| [in] | parent | The parent widget. |
References SolidMaterialEditor().
Referenced by SolidMaterialEditor().
|
protected |
|
overridevirtual |
Enables or disables scroll capability within the editor.
| [in] | enabled | Whether scrolling should be enabled. |
Reimplemented from Editor.
|
overridevirtual |
Sets the editor layout to horizontal or vertical orientation.
| [in] | horizontal | Whether to use horizontal layout. |
Reimplemented from Editor.
|
overridevirtual |
Retrieves the preferred show mode for this editor.
Reimplemented from Editor.