Stellarium 0.11.2
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Slots | Protected Member Functions | Protected Attributes
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) 

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.