XII Release 0.1.0
Loading...
Searching...
No Matches
xiiQtCVarWidget Class Reference

Displays CVar values in a table and allows to modify them. More...

#include <CVarWidget.moc.h>

Inheritance diagram for xiiQtCVarWidget:
[legend]

Signals

void onBoolChanged (xiiStringView sCVar, bool bNewValue)
 
void onFloatChanged (xiiStringView sCVar, float fNewValue)
 
void onDoubleChanged (xiiStringView sCVar, double fNewValue)
 
void onIntChanged (xiiStringView sCVar, int iNewValue)
 
void onStringChanged (xiiStringView sCVar, xiiStringView sNewValue)
 

Public Member Functions

 xiiQtCVarWidget (QWidget *pParent)
 
void Clear ()
 Clears the table.
 
void RebuildCVarUI (const xiiMap< xiiString, xiiCVarWidgetData > &cvars)
 Recreates the full UI. This is necessary when elements were added or removed.
 
void UpdateCVarUI (const xiiMap< xiiString, xiiCVarWidgetData > &cvars)
 Updates the existing UI. This is sufficient if values changed only.
 
void AddConsoleStrings (const xiiStringBuilder &sEncoded)
 
xiiConsoleGetConsole ()
 

Detailed Description

Displays CVar values in a table and allows to modify them.


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