A widget allowing the user to set the properties for a single channel of UVType for a Material.
More...
|
| | UVChannelEditWidget (const DynamicPointer< QTDesignObject > &material, UVType uv_type, QWidget *parent=nullptr) |
| | Constructs a UV channel edit widget for a specific material and UV type.
|
|
void | clearTexture () |
| | Slot that clears the currently assigned texture from the channel.
|
| Material | material () const |
| | Returns the Material object being edited.
|
| QSize | minimumSizeHint () const override |
| | Returns the minimum size hint for this widget.
|
|
void | onDelete () |
| | Slot invoked to delete this UV channel from the material.
|
|
void | refreshWidget () |
| | Slot that refreshes the widget display from the current material state.
|
|
void | resizeEvent (QResizeEvent *) override |
| | Handles resize events to update the image layout.
|
| void | setColor (RGBColor color) |
| | Slot that sets the flat color for the channel.
|
|
void | setupChannelDialog () |
| | Sets up the channel-specific dialog elements based on the UV type.
|
| void | showAerialImageDialog (PopupInfo info) |
| | Shows a dialog for configuring aerial image settings.
|
|
void | showDataDialog () |
| | Slot that shows the data channel dialog for numeric data visualization.
|
| void | showImageEditDialog (PopupInfo info) |
| | Shows a dialog for editing the current texture image.
|
| void | showImageFileDialog (PopupInfo info) |
| | Shows a file browser dialog for selecting a texture image from disk.
|
| void | showImageMemoryDialog (PopupInfo info) |
| | Shows a dialog for selecting a texture image from memory.
|
|
void | showVectorColorDialog () |
| | Slot that shows the vector color assignment dialog.
|
| QSize | sizeHint () const override |
| | Returns the preferred size hint for this widget.
|
|
void | updateImageLayout () |
| | Updates the layout of image preview elements to fit the current widget size.
|
|
void | updateIntensity () |
| | Slot that updates the intensity value for the channel.
|
| void | useChannel (bool use_channel) |
| | Slot that enables or disables the UV channel.
|
|
|
AerialImageSettings * | m_aerial_settings = nullptr |
| | Aerial image configuration dialog.
|
|
ColorChannelCombo * | m_channel_combo = nullptr |
| | Combo box for selecting color channel data sources.
|
|
QCustomColorDialog * | m_color_dialog = nullptr |
| | Color picker dialog.
|
|
ImageChooserGallery * | m_image_chooser_gallery = nullptr |
| | Gallery dialog for choosing images from memory.
|
|
QTImageEditor * | m_image_editor = nullptr |
| | Image editor dialog.
|
|
FileChooserDialog * | m_image_file_dialog = nullptr |
| | File browser dialog for image selection.
|
|
bool | m_is_updating = false |
| | Guard flag to prevent recursive updates.
|
|
LayerDrawModes | m_layer_draw_mode |
| | The current layer drawing mode.
|
|
DynamicPointer< QTDesignObject > | m_target |
| | The material design object being edited.
|
|
UVType | m_uv_channel |
| | The UV channel type being edited.
|
|
Ui::LightingValueUI * | ui |
| | The auto-generated UI form for lighting value editing.
|
A widget allowing the user to set the properties for a single channel of UVType for a Material.
Definition at line 52 of file UVChannelEditWidget.h.
◆ UVChannelEditWidget()
◆ material()
| Material UVChannelEditWidget::material |
( |
| ) |
const |
◆ minimumSizeHint()
| QSize UVChannelEditWidget::minimumSizeHint |
( |
| ) |
const |
|
override |
Returns the minimum size hint for this widget.
- Returns
- The minimum recommended size.
◆ setColor()
| void UVChannelEditWidget::setColor |
( |
RGBColor | color | ) |
|
Slot that sets the flat color for the channel.
- Parameters
-
| [in] | color | The color to apply. |
◆ showAerialImageDialog()
| void UVChannelEditWidget::showAerialImageDialog |
( |
PopupInfo | info | ) |
|
Shows a dialog for configuring aerial image settings.
- Parameters
-
| [in] | info | The popup configuration for the dialog. |
◆ showImageEditDialog()
| void UVChannelEditWidget::showImageEditDialog |
( |
PopupInfo | info | ) |
|
Shows a dialog for editing the current texture image.
- Parameters
-
| [in] | info | The popup configuration for the dialog. |
◆ showImageFileDialog()
| void UVChannelEditWidget::showImageFileDialog |
( |
PopupInfo | info | ) |
|
Shows a file browser dialog for selecting a texture image from disk.
- Parameters
-
| [in] | info | The popup configuration for the dialog. |
◆ showImageMemoryDialog()
| void UVChannelEditWidget::showImageMemoryDialog |
( |
PopupInfo | info | ) |
|
Shows a dialog for selecting a texture image from memory.
- Parameters
-
| [in] | info | The popup configuration for the dialog. |
◆ sizeHint()
| QSize UVChannelEditWidget::sizeHint |
( |
| ) |
const |
|
override |
Returns the preferred size hint for this widget.
- Returns
- The recommended size.
◆ useChannel()
| void UVChannelEditWidget::useChannel |
( |
bool | use_channel | ) |
|
Slot that enables or disables the UV channel.
- Parameters
-
| [in] | use_channel | Whether the channel should be active. |
The documentation for this class was generated from the following file: