Workspace 6.21.5
Public Types | Public Slots | Signals | Public Member Functions | Properties | List of all members
SceneItemPropertiesWidget Class Reference

A widget for editing the properties of a scene item, including it's name and relevant inputs.

#include <Rendering/SceneInteraction/sceneitempropertieswidget.h>

Inherits QWidget.

Public Types

using CustomUiRegistry = QHash< const SceneItemType *, QString >
 

Public Slots

void resetAllowUISwitch ()
 
void setAllowUISwitch (bool b)
 
void setSceneItem (CSIRO::Rendering::SceneInteractionWidgetItem *sceneItem)
 

Signals

void allowUISwitchChanged ()
 
void editRequested ()
 

Public Member Functions

 SceneItemPropertiesWidget (QWidget *parent=nullptr)
 
 ~SceneItemPropertiesWidget () override
 
void clearCustomUiRegistry ()
 
bool getAllowUISwitch () const
 
QWidget * getOperationPropertiesDialog ()
 
template<class T >
void registerCustomUi (const QString &resource)
 
void registerCustomUis (const CustomUiRegistry &registry)
 

Properties

bool allowCustomUISwapping
 

Member Typedef Documentation

◆ CustomUiRegistry

using CustomUiRegistry = QHash<const SceneItemType*, QString>

Constructor & Destructor Documentation

◆ SceneItemPropertiesWidget()

SceneItemPropertiesWidget ( QWidget *  parent = nullptr)

◆ ~SceneItemPropertiesWidget()

Member Function Documentation

◆ allowUISwitchChanged

void allowUISwitchChanged ( )
signal

◆ clearCustomUiRegistry()

void clearCustomUiRegistry ( )

◆ editRequested

void editRequested ( )
signal

◆ getAllowUISwitch()

bool getAllowUISwitch ( ) const

◆ getOperationPropertiesDialog()

QWidget * getOperationPropertiesDialog ( )

◆ registerCustomUi()

void registerCustomUi ( const QString &  resource)
inline

◆ registerCustomUis()

void registerCustomUis ( const CustomUiRegistry registry)

◆ resetAllowUISwitch

void resetAllowUISwitch ( )
slot

◆ setAllowUISwitch

void setAllowUISwitch ( bool  b)
slot

◆ setSceneItem

void setSceneItem ( CSIRO::Rendering::SceneInteractionWidgetItem sceneItem)
slot

Property Documentation

◆ allowCustomUISwapping

bool allowCustomUISwapping
readwrite