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

DateTimeDialog Class Reference

List of all members.

Public Slots

void retranslate ()
 Retranslate the content of the dialog.
void setDateTime (double newJd)
 update the editing display with new JD.
void close ()
 Closes the window (the window widget is not deleted, just not visible).

Public Member Functions

double newJd ()
bool valid (int y, int m, int d, int h, int min, int s)
void styleChanged ()
 Notify that the application style changed.

Protected Member Functions

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

Detailed Description

Definition at line 29 of file DateTimeDialog.hpp.


Member Function Documentation

void DateTimeDialog::close (  )  [slot]

Closes the window (the window widget is not deleted, just not visible).

Reimplemented from StelDialog.

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

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

void DateTimeDialog::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 DateTimeDialog::setDateTime ( double  newJd  )  [slot]

update the editing display with new JD.

void DateTimeDialog::styleChanged (  ) 

Notify that the application style changed.


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