ezEngine Release 26.9
Loading...
Searching...
No Matches
ezQtSceneDocumentWindowBase Class Reference
Inheritance diagram for ezQtSceneDocumentWindowBase:

Public Slots

void ToggleViews (QWidget *pView)
 

Public Member Functions

 ezQtSceneDocumentWindowBase (ezSceneDocument *pDocument)
 
ezSceneDocument * GetSceneDocument () const
 
virtual void CreateImageCapture (const char *szOutputPath) override
 For unit tests to take a screenshot of the window (may include multiple views) to do image comparisons.
 
ezGameObjectGizmoInterface implementation
virtual ezObjectAccessorBase * GetObjectAccessor () override
 
virtual bool CanDuplicateSelection () const override
 
virtual void DuplicateSelection () override
 
- Public Member Functions inherited from ezQtGameObjectDocumentWindow
 ezQtGameObjectDocumentWindow (ezGameObjectDocument *pDocument)
 
ezGameObjectDocument * GetGameObjectDocument () const
 
- Public Member Functions inherited from ezQtEngineDocumentWindow
 ezQtEngineDocumentWindow (ezAssetDocument *pDocument)
 
ezEditorEngineConnection * GetEditorEngineConnection () const
 
const ezObjectPickingResult & PickObject (ezUInt16 uiScreenPosX, ezUInt16 uiScreenPosY, ezQtEngineViewWidget *pView) const
 
ezAssetDocument * GetDocument () const
 
ezQtEngineViewWidget * GetHoveredViewWidget () const
 Returns the ezQtEngineViewWidget over which the mouse currently hovers.
 
ezQtEngineViewWidget * GetFocusedViewWidget () const
 Returns the ezQtEngineViewWidget that has the input focus.
 
ezQtEngineViewWidget * GetViewWidgetByID (ezUInt32 uiViewID) const
 
ezArrayPtr< ezQtEngineViewWidget *const > GetViewWidgets () const
 
void AddViewWidget (ezQtEngineViewWidget *pView)
 
virtual int GetCameraMode () const
 Returns the active camera mode index, or -1 if the window does not support camera mode switching.
 
virtual void SetCameraMode (int iMode)
 Sets the active camera mode by index. Override together with GetCameraMode() and GetCameraModeNames().
 
virtual void GetCameraModeNames (ezDynamicArray< ezString > &out_names) const
 Returns the display names for each supported camera mode, in order matching the indices used by GetCameraMode() and SetCameraMode().
 
- Public Member Functions inherited from ezQtDocumentWindow
 ezQtDocumentWindow (ezDocument *pDocument)
 
 ezQtDocumentWindow (const char *szUniqueName)
 
void EnsureVisible ()
 
virtual ezString GetWindowIcon () const
 
virtual ezString GetDisplayName () const
 
virtual ezString GetDisplayNameShort () const
 
const char * GetUniqueName () const
 
ezDocument * GetDocument () const
 
ezStatus SaveDocument ()
 
bool CanCloseWindow ()
 
void CloseDocumentWindow ()
 
bool IsVisibleInContainer () const
 
void SetTargetFramerate (ezInt16 iTargetFPS)
 
void TriggerRedraw ()
 
virtual void RequestWindowTabContextMenu (const QPoint &globalPos)
 
ezQtContainerWindow * GetContainerWindow () const
 
void ShowTemporaryStatusBarMsg (const ezFormatString &text, ezTime duration=ezTime::MakeFromSeconds(5))
 Shows the given message for the given duration in the statusbar, then shows the permanent message again.
 
void SetPermanentStatusBarMsg (const ezFormatString &text)
 Sets which text to show permanently in the statusbar. Set an empty string to clear the message.
 

Protected Member Functions

virtual void ProcessMessageEventHandler (const ezEditorEngineDocumentMsg *pMsg) override
 
virtual void InternalRedraw () override
 
void GameObjectEventHandler (const ezGameObjectEvent &e)
 
void SnapSelectionToPosition (bool bSnapEachObject)
 
void SendRedrawMsg ()
 
void ExtendPropertyGridContextMenu (QMenu &menu, ezQtPropertyWidget *pPropWidget)
 
- Protected Member Functions inherited from ezQtGameObjectDocumentWindow
ezWorldSettingsMsgToEngine GetWorldSettings () const
 
ezGridSettingsMsgToEngine GetGridSettings () const
 
- Protected Member Functions inherited from ezQtEngineDocumentWindow
virtual void CommonAssetUiEventHandler (const ezCommonAssetUiState &e)
 
void RemoveViewWidget (ezQtEngineViewWidget *pView)
 
void DestroyAllViews ()
 
- Protected Member Functions inherited from ezQtDocumentWindow
virtual void showEvent (QShowEvent *event) override
 
virtual void hideEvent (QHideEvent *event) override
 
virtual bool event (QEvent *event) override
 
virtual bool eventFilter (QObject *obj, QEvent *e) override
 
void FinishWindowCreation ()
 
virtual void OnAfterDocumentLayoutRestored ()
 

Protected Attributes

ezQtQuadViewWidget * m_pQuadViewWidget = nullptr
 
- Protected Attributes inherited from ezQtEngineDocumentWindow
ezHybridArray< ezQtEngineViewWidget *, 4 > m_ViewWidgets
 
ezQtCuratorControl * m_pCuratorControl = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from ezQtDocumentWindow
static const ezDynamicArray< ezQtDocumentWindow * > & GetAllDocumentWindows ()
 
static ezQtDocumentWindow * FindWindowByDocument (const ezDocument *pDocument)
 Returns the document window for the given document, if there is any. nullptr otherwise.
 
- Public Attributes inherited from ezQtEngineDocumentWindow
ezEvent< const ezEngineWindowEvent & > m_EngineWindowEvent
 
- Public Attributes inherited from ezQtDocumentWindow
ads::CDockManager * m_pDockManager = nullptr
 
- Static Public Attributes inherited from ezQtDocumentWindow
static ezEvent< const ezQtDocumentWindowEvent & > s_Events
 

Member Function Documentation

◆ CanDuplicateSelection()

bool ezQtSceneDocumentWindowBase::CanDuplicateSelection ( ) const
overridevirtual

◆ CreateImageCapture()

void ezQtSceneDocumentWindowBase::CreateImageCapture ( const char *  szOutputPath)
overridevirtual

For unit tests to take a screenshot of the window (may include multiple views) to do image comparisons.

Reimplemented from ezQtEngineDocumentWindow.

◆ DuplicateSelection()

void ezQtSceneDocumentWindowBase::DuplicateSelection ( )
overridevirtual

◆ GetObjectAccessor()

ezObjectAccessorBase * ezQtSceneDocumentWindowBase::GetObjectAccessor ( )
overridevirtual

◆ InternalRedraw()

void ezQtSceneDocumentWindowBase::InternalRedraw ( )
overrideprotectedvirtual

Reimplemented from ezQtEngineDocumentWindow.

◆ ProcessMessageEventHandler()

void ezQtSceneDocumentWindowBase::ProcessMessageEventHandler ( const ezEditorEngineDocumentMsg *  pMsg)
overrideprotectedvirtual

Reimplemented from ezQtGameObjectDocumentWindow.


The documentation for this class was generated from the following files: