Stellarium 0.15.0
List of all members | Public Slots | Protected Member Functions | Protected Attributes
AddRemoveLandscapesDialog Class Reference
+ Inheritance diagram for AddRemoveLandscapesDialog:
+ Collaboration diagram for AddRemoveLandscapesDialog:

Public Slots

void retranslate ()
 
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. More...
 
void populateLists ()
 
- Public Slots inherited from StelDialog
virtual void retranslate ()=0
 Retranslate the content of the dialog. More...
 
void setVisible (bool)
 On the first call with "true" populates the window contents. More...
 
void close ()
 Closes the window (the window widget is not deleted, just not visible). More...
 
void handleMovedTo (QPoint newPos)
 Adds dialog location to config.ini; should be connected in createDialogContent() More...
 

Protected Member Functions

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

Protected Attributes

Ui_addRemoveLandscapesDialogForm * ui
 
- Protected Attributes inherited from StelDialog
QWidget * dialog
 The main dialog. More...
 
class CustomProxy * proxy
 
QString dialogName
 The name should be set in derived classes' constructors and can be used to store and retrieve the panel locations. More...
 

Additional Inherited Members

- Signals inherited from StelDialog
void visibleChanged (bool)
 
- Public Member Functions inherited from StelDialog
 StelDialog (QObject *parent=NULL)
 
bool visible () const
 Returns true if the dialog contents have been constructed and are currently shown. More...
 
- Static Protected Member Functions inherited from StelDialog
static void connectCheckBox (QAbstractButton *checkBox, const QString &actionName)
 Helper function to connect a checkbox to the StelAction with the specified name. More...
 
static void connectCheckBox (QAbstractButton *checkBox, StelAction *action)
 Helper function to connect a checkbox to the given StelAction. More...
 
static void connectIntProperty (QSpinBox *spinBox, const QString &propName)
 Helper function to connect a QSpinBox to an integer StelProperty. More...
 
static void connectIntProperty (QComboBox *comboBox, const QString &propName)
 Helper function to connect a QComboBox to an integer StelProperty. More...
 
static void connectDoubleProperty (QDoubleSpinBox *spinBox, const QString &propName)
 Helper function to connect a QDoubleSpinBox to an double or float StelProperty. More...
 
static void connectDoubleProperty (QSlider *slider, const QString &propName, double minValue, double maxValue)
 Helper function to connect a QSlider to an double or float StelProperty. More...
 
static void connectBoolProperty (QAbstractButton *checkBox, const QString &propName)
 Helper function to connect a checkbox to a bool StelProperty. More...
 

Detailed Description

Definition at line 33 of file AddRemoveLandscapesDialog.hpp.

Member Function Documentation

virtual void AddRemoveLandscapesDialog::createDialogContent ( )
protectedvirtual

Initialize the dialog widgets and connect the signals/slots.

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.


The documentation for this class was generated from the following file: