![]() |
VR-Forces 4.0.4 Class Documentation
|

Signals | |
| void | clicked () |
Public Member Functions | |
| DtToDImageWidget (QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtToDImageWidget () |
| DTOR. | |
| virtual void | setPixmap (QPixmap p) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | paintEvent (QPaintEvent *) |
| If enabled, draws myToDPixmap and otherwise draws myDisabledPixmap. | |
| virtual void | createDisabledPixmap (const char *filename) |
| Creates a disabled (grayscale) pixmap of the given filename and stores it in myDisabledPixmap. | |
Protected Attributes | |
| QPixmap | myToDPixmap |
| QPixmap | myDisabledPixmap |
| Grayscale pixmap shown when the DtToDImageWidget is disabled. | |
| makVrf::DtToDImageWidget::DtToDImageWidget | ( | QWidget * | parent = 0 | ) |
CTOR.
| virtual makVrf::DtToDImageWidget::~DtToDImageWidget | ( | ) | [virtual] |
DTOR.
| virtual void makVrf::DtToDImageWidget::setPixmap | ( | QPixmap | p | ) | [virtual] |
| virtual void makVrf::DtToDImageWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [virtual] |
| virtual void makVrf::DtToDImageWidget::paintEvent | ( | QPaintEvent * | ) | [virtual] |
If enabled, draws myToDPixmap and otherwise draws myDisabledPixmap.
| virtual void makVrf::DtToDImageWidget::createDisabledPixmap | ( | const char * | filename | ) | [virtual] |
Creates a disabled (grayscale) pixmap of the given filename and stores it in myDisabledPixmap.
This image will be shown when the DtToDImageWidget is disabled. By default DtEnvironmentControlAreaWidget::setupUi will call this with the image which represents 12:00.
| void makVrf::DtToDImageWidget::clicked | ( | ) | [signal] |
QPixmap makVrf::DtToDImageWidget::myToDPixmap [protected] |
QPixmap makVrf::DtToDImageWidget::myDisabledPixmap [protected] |
Grayscale pixmap shown when the DtToDImageWidget is disabled.
Created by createDisabledPixmap