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

AddRemoveLandscapesDialog Class Reference

List of all members.

Public Slots

void retranslate ()
 Retranslate the content of the dialog.
void setVisible (bool)
 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.
void populateLists ()

Protected Member Functions

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

Protected Attributes

Ui_addRemoveLandscapesDialogForm * ui

Detailed Description

Definition at line 33 of file AddRemoveLandscapesDialog.hpp.


Member Function Documentation

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

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

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.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:43 2013 for Stellarium by  doxygen 1.6.3