#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 |
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
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().