#include <panel.h>
Panel::Panel |
( |
QWidget * |
parent = nullptr | ) |
|
void Panel::changeEvent |
( |
QEvent * |
e | ) |
|
|
overrideprotectedvirtual |
NOTE: While overriding changeEvent() is the official documented way of handling runtime language change events, I found it buggy to do it this way (some panels would change and others wouldn't, and the panels that did/didn't change would be different each time). The current workaround is calling Retranslate() on each panel manually from MainWindow::Retranslate which is triggered by its own changeEvent() that seems fairly reliable. Currently this function is mostly a no-op.
void Panel::LoadLayoutState |
( |
const QByteArray & |
data | ) |
|
|
virtual |
virtual void Panel::Retranslate |
( |
| ) |
|
|
pure virtual |
QByteArray Panel::SaveLayoutState |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: