Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/classTimeZoneConfigurationWindow.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:59:16 2014
Кодировка:

Поисковые слова: п п п п п п
Stellarium: TimeZoneConfigurationWindow Class Reference
Stellarium 0.12.3
List of all members | Public Slots | Static Public Member Functions | Protected Member Functions
TimeZoneConfigurationWindow Class Reference

Main window of the Time Zone configuration plug-in. More...

#include <TimeZoneConfigurationWindow.hpp>

Public Slots

void retranslate ()
 
- 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...
 

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 ()
 Initialize the dialog widgets and connect the signals/slots. More...
 

Additional Inherited Members

- Signals inherited from StelDialog
void visibleChanged (bool)
 
- Public Member Functions inherited from StelDialog
 StelDialog (QObject *parent=NULL)
 
bool visible () const
 
- Protected Attributes inherited from StelDialog
QWidget * dialog
 The main dialog. More...
 
class CustomProxy * proxy
 

Detailed Description

Main window of the Time Zone configuration plug-in.

Definition at line 33 of file TimeZoneConfigurationWindow.hpp.

Member Function Documentation

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

Parses a time string in the format hh[:mm[:ss]] to separate values.

Used both by readTzOffsetString() and in DefineTimeZoneWindow.


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