Skip to main content

MediaDebugPanel

MediaDebugPanel

Developer diagnostics panel showing scene element counts. More…

#include <MediaDebugPanel.hpp>

Inherits from QWidget

Public Slots

Name
void refresh()
Refresh all sections from current diagnostics.

Public Functions

Name
MediaDebugPanel(std::shared_ptr< MediaWidgetState > state, Media_Window * media_window, QWidget * parent =[nullptr])
Construct the debug panel.
~MediaDebugPanel() override =default
void setMediaWindow(Media_Window * media_window)
Update the Media_Window reference and reconnect refresh signals.

Detailed Description

class MediaDebugPanel;

Developer diagnostics panel showing scene element counts.

Organized into a collapsible Section:

  • Scene Elements (counts of each internal QGraphicsScene vector)

Public Slots Documentation

slot refresh

void refresh()

Refresh all sections from current diagnostics.

Public Functions Documentation

function MediaDebugPanel

explicit MediaDebugPanel(
    std::shared_ptr< MediaWidgetState > state,
    Media_Window * media_window,
    QWidget * parent =nullptr
)

Construct the debug panel.

Parameters:

  • state Shared media widget state
  • media_window Non-owning pointer to the media canvas
  • parent Parent widget

function ~MediaDebugPanel

~MediaDebugPanel() override =default

function setMediaWindow

void setMediaWindow(
    Media_Window * media_window
)

Update the Media_Window reference and reconnect refresh signals.

Parameters:

  • media_window Non-owning pointer to the media canvas

Updated on 2026-11-13 at 20:25:40 +0000