Stellarium 0.14.3
|
Main window of the Time Zone configuration plug-in. More...
#include <TimeZoneConfigurationWindow.hpp>
Public Slots | |
void | retranslate () |
Static Public Member Functions | |
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... | |
Protected Member Functions | |
void | createDialogContent () |
Main window of the Time Zone configuration plug-in.
Definition at line 33 of file TimeZoneConfigurationWindow.hpp.
|
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 |
Parses an offset string in the format [+|-]hh[:mm[:ss]].
|
static |
Parses a time string in the format hh[:mm[:ss]] to separate values.
Used both by readTzOffsetString() and in DefineTimeZoneWindow.