VR-Forces 4.1 Class Documentation
List of all members | Signals | Public Member Functions | Protected Attributes
makVrf::DtToDImageWidget Class Reference
Inheritance diagram for makVrf::DtToDImageWidget:
Inheritance graph
[legend]

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.

Constructor & Destructor Documentation

makVrf::DtToDImageWidget::DtToDImageWidget ( QWidget parent = 0)

CTOR.

virtual makVrf::DtToDImageWidget::~DtToDImageWidget ( )
virtual

DTOR.

Member Function Documentation

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

Member Data Documentation

QPixmap makVrf::DtToDImageWidget::myToDPixmap
protected
QPixmap makVrf::DtToDImageWidget::myDisabledPixmap
protected

Grayscale pixmap shown when the DtToDImageWidget is disabled.

Created by createDisabledPixmap


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)