Main window of the Time Zone configuration plug-in.
More...
#include <TimeZoneConfigurationWindow.hpp>
|
void | retranslate () |
|
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...
|
|
|
static double | readTzOffsetString (const QString &string) |
| Parses an offset string in the format [+|-]hh[:mm[:ss]]. More...
|
|
static void | readTzTimeString (const QString &string, int &hour, int &minutes, int &seconds) |
| Parses a time string in the format hh[:mm[:ss]] to separate values. More...
|
|
static QString | getTzOffsetStringFrom (QDoubleSpinBox *spinBox) |
| Converts a decimal fraction of hours to a string containing a signed offset in the format used in the TZ variable. More...
|
|
|
void | visibleChanged (bool) |
|
| StelDialog (QObject *parent=NULL) |
|
bool | visible () const |
|
QWidget * | dialog |
| The main dialog. More...
|
|
class CustomProxy * | proxy |
|
Main window of the Time Zone configuration plug-in.
Definition at line 33 of file TimeZoneConfigurationWindow.hpp.
void TimeZoneConfigurationWindow::createDialogContent |
( |
| ) |
|
|
protectedvirtual |
Initialize the dialog widgets and connect the signals/slots.
Implements StelDialog.
static QString TimeZoneConfigurationWindow::getTzOffsetStringFrom |
( |
QDoubleSpinBox * |
spinBox | ) |
|
|
static |
Converts a decimal fraction of hours to a string containing a signed offset in the format used in the TZ variable.
The sign is inverted, as in the TZ format offset = (UTC - local time), not the traditional offset = (local time - UTC).
static double TimeZoneConfigurationWindow::readTzOffsetString |
( |
const QString & |
string | ) |
|
|
static |
Parses an offset string in the format [+|-]hh[:mm[:ss]].
- Returns
- a fraction of hours. The sign is inverted, as in the TZ format offset = (UTC - local time), and the traditional offset = (local time - UTC).
static void TimeZoneConfigurationWindow::readTzTimeString |
( |
const QString & |
string, |
|
|
int & |
hour, |
|
|
int & |
minutes, |
|
|
int & |
seconds |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: