Stellarium 0.11.3
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

AddRemoveLandscapesDialog Class Reference

List of all members.

Public Slots

void retranslate ()
void setVisible (bool)
void populateLists ()

Protected Member Functions

virtual void createDialogContent ()

Protected Attributes

Ui_addRemoveLandscapesDialogForm * ui

Member Function Documentation

void AddRemoveLandscapesDialog::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 AddRemoveLandscapesDialog::setVisible ( bool   )  [slot]

This function overrides the non-virtual StelDialog::setVisible() to allow the current landscape to be selected in the list of user landscapes (if it is in the list) every time the dialog is displayed.

Reimplemented from StelDialog.

Generated on Thu May 31 10:37:20 2012 for Stellarium by  doxygen 1.6.3