QAnalogClock Class Reference
[QtBaseModule]
The QAnalogClock widget displays an analog clock face. More...
#include <QAnalogClock>
Inherits QFrame.
Inherited by AnalogClockHSWidget.
Public Functions
- 13 public functions inherited from QFrame
- 206 public functions inherited from QWidget
- 29 public functions inherited from QObject
- 14 public functions inherited from QPaintDevice
Additional Inherited Members
- 6 properties inherited from QFrame
- 57 properties inherited from QWidget
- 1 property inherited from QObject
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
- 1 signal inherited from QWidget
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QWidget
- 4 static public members inherited from QObject
- 38 protected functions inherited from QWidget
- 7 protected functions inherited from QObject
- 1 protected function inherited from QPaintDevice
- 1 protected slot inherited from QWidget
- 2 protected variables inherited from QObject
- 1 protected type inherited from QPaintDevice
Detailed Description
The QAnalogClock widget displays an analog clock face.
The QAnalogClock widget displays an analog clock face.
The clock is not animated. You must call QAnalogClock::display() to display an appropriate time.
This class exists to ensure consistent appearance of such a widget in Qtopia.
Member Function Documentation
QAnalogClock::QAnalogClock ( QWidget * parent = 0 )
Creates an analog clock face with the given parent.
QAnalogClock::~QAnalogClock ()
Destroys the analog clock face.
void QAnalogClock::display ( const QTime & time )
Displays the time on the clock.
void QAnalogClock::setFace ( const QPixmap & face )
Sets the background image for the clock face. The default image is null. Hourly tick marks and the clock hands are drawn over this image.
Copyright © 2009 Trolltech |
Trademarks |
Qt Extended 4.4.3 |