|
| GenericLogPanel (QWidget *pParent=nullptr) |
|
void | FillFromFile (const AZStd::string &fileName) |
|
virtual void | ParseData (const char *entireLog, AZ::u64 logLength) |
|
void | AddLogLine (Logging::LogLine &target) |
| calling AddLogLine consumes the given line (move operation) and updates all tabs
|
|
void | SetCurrentItemsExpandToFit (bool expandToFit) |
| Whether tabs will expand the row height of their current item to show the full message text.
|
|
| 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) |
|
A log panel that is used for generic data. Used for generic data sources such as Log Files, or special case logging and forensic data that isn't Expected to constantly stream in over time. General usage: Create the panel, put it in your GUI, add as many tabs as you want, using AddLogTab, then call FillFromFile(...) or AddLine(...) unlike the traceprintf view, this does not expect you to be filling it from many threads, so it has no thread safety on FillFromFile or AddLine - call those from the GUI thread. The tabs created will be separate views on the same log data. Note that if you want to have your own log file format you can derive from this base class and override the parseData function