#include <sysinfo.h>
Inheritance diagram for TimeInfo:
Public Member Functions | |
TimeInfo () | |
bool | init () |
void | timer () |
void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0) |
QRectF | boundingRect () const |
bool | hasTimer () |
void | setFormat (const QString &format) |
void | setAnalog (bool analog) |
QString | format () const |
bool | analog () |
Properties | |
QString | format [] |
bool | analog [] |
Private Attributes | |
QString | m_format |
QTime | m_time |
bool | m_analog |
TimeInfo::TimeInfo | ( | ) |
bool TimeInfo::analog | ( | ) | [inline] |
QRectF TimeInfo::boundingRect | ( | ) | const |
Reimplemented from GraphicText.
QString TimeInfo::format | ( | ) | const [inline] |
bool TimeInfo::hasTimer | ( | ) | [inline, virtual] |
Reimplemented from PluginInterface.
bool TimeInfo::init | ( | ) | [virtual] |
Reimplemented from GraphicText.
void TimeInfo::paint | ( | QPainter * | , | |
const QStyleOptionGraphicsItem * | , | |||
QWidget * | widget = 0 | |||
) |
Reimplemented from GraphicText.
void TimeInfo::setAnalog | ( | bool | analog | ) | [inline] |
void TimeInfo::setFormat | ( | const QString & | format | ) | [inline] |
void TimeInfo::timer | ( | ) | [virtual] |
Reimplemented from PluginInterface.
bool TimeInfo::m_analog [private] |
QString TimeInfo::m_format [private] |
QTime TimeInfo::m_time [private] |
bool TimeInfo::analog [read, write] |
QString TimeInfo::format [read, write] |