Stellarium 0.11.1
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
HelpDialog Class Reference

List of all members.

Public Slots

void languageChanged ()

Public Member Functions

void setKey (QString group, QString oldKey, QString newKey, QString description)
void styleChanged ()

Protected Member Functions

virtual void createDialogContent ()

Protected Attributes

Ui_helpDialogForm * ui

Member Function Documentation

void HelpDialog::setKey ( QString  group,
QString  oldKey,
QString  newKey,
QString  description 

Set a key and description.

group and description must be in English; this function takes care of translating them. Of course, they still have to be marked for translation using the N_() macro.
groupis the help group. e.g. "Movement" or "Time & Date"
oldKeyis the textual representation of the old key binding (in the case or re-mapping), e.g. "CTRL + H". Can be an empty string
newKeyis the textual representation of the key binding, e.g. "CTRL + H"
descriptionis a short description of what the key does