![]() |
Stellarium 0.11.4 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Public Slots | |
| void | retranslate () |
| Retranslate the content of the dialog. | |
| void | updateIconsColor () |
Public Member Functions | |
| void | setKey (QString group, QString oldKey, QString newKey, QString description) |
| Set a key and description. | |
| void | styleChanged () |
| Notify that the application style changed. | |
Protected Member Functions | |
| virtual void | createDialogContent () |
| Initialize the dialog widgets and connect the signals/slots. | |
Protected Attributes | |
| Ui_helpDialogForm * | ui |
| virtual void HelpDialog::createDialogContent | ( | ) | [protected, virtual] |
Initialize the dialog widgets and connect the signals/slots.
Implements StelDialog.
| void HelpDialog::retranslate | ( | ) | [virtual, slot] |
Retranslate the content of the dialog.
Needs to be connected to StelApp::languageChanged(). At the very least, if the window is based on a Qt Designer file (.ui), the implementation needs to call the generated class' retranslateUi() method, like this:
Implements StelDialog.
| void HelpDialog::setKey | ( | QString | group, | |
| QString | oldKey, | |||
| QString | newKey, | |||
| QString | description | |||
| ) |
Set a key and description.
N_() macro.| group | is the help group. e.g. "Movement" or "Time & Date" | |
| oldKey | is the textual representation of the old key binding (in the case or re-mapping), e.g. "CTRL + H". Can be an empty string | |
| newKey | is the textual representation of the key binding, e.g. "CTRL + H" | |
| description | is a short description of what the key does |
| void HelpDialog::styleChanged | ( | ) |
Notify that the application style changed.
1.6.3