Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · 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

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.

Generated on Sat Aug 25 22:13:31 2012 for Stellarium by  doxygen 1.6.3