Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::LogPanel::BaseLogPanel Class Referenceabstract

#include <LogPanel_Panel.h>

Inherits QWidget.

Inherited by AzToolsFramework::LogPanel::GenericLogPanel, and AzToolsFramework::LogPanel::TracePrintFLogPanel.

Signals

void TabsReset ()
 
void onLinkActivated (const QString &link)
 

Public Member Functions

 BaseLogPanel (QWidget *pParent=nullptr)
 
void SaveState ()
 SaveState uses the storageID to store which tabs were active and what their settings were.
 
bool LoadState ()
 LoadState reads which tabs were active last time.
 
void AddLogTab (const TabSettings &settings)
 
virtual QSize minimumSize () const
 
virtual QSize sizeHint () const
 
void SetStorageID (AZ::u32 id)
 
int GetTabWidgetCount ()
 
QWidget * GetTabWidgetAtIndex (int index)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 

Protected Member Functions

virtual QWidget * CreateTab (const TabSettings &settings)=0
 

Detailed Description

BaseLogPanel is the base GUI class that has tabs (as opposed to a single view) you derive from this class and handle the AddTab() and other such messages

Member Function Documentation

◆ SetStorageID()

void AzToolsFramework::LogPanel::BaseLogPanel::SetStorageID ( AZ::u32  id)

SetStorageID is used to save and load state Give it a unique id (best using AZ_CRC) and it will remember its state next time it starts by calling SetStorageID next time, to the same number, and then calling LoadState().


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