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

List of all members.

Public Slots

void retranslate ()
 Retranslate the content of the dialog.
void setVisible (bool)
 On the first call with "true" populates the window contents.

Protected Member Functions

virtual void createDialogContent ()
 Initialize the dialog widgets and connect the signals/slots.

Protected Attributes

Ui_CustomInfoDialogForm * ui

Member Function Documentation

virtual void CustomInfoDialog::createDialogContent ( ) [protected, virtual]

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

void CustomInfoDialog::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:

 if (dialog) 
    ui->retranslateUi(dialog);

Implements StelDialog.

void CustomInfoDialog::setVisible ( bool  ) [slot]

On the first call with "true" populates the window contents.

Reimplemented from StelDialog.