![]() |
NDEVR
API Documentation
|
A Qt compatible wrapper for an image for use with QWidgetModel. More...
Public Member Functions | |
| QTWidgetImage (QWidget *widget, const String &image_id) | |
| Constructs a widget image that captures the given widget's appearance. | |
| const String & | imageID () const |
| Retrieves the image resource identifier. | |
| void | updateImage () |
| Updates the captured image from the current widget state. | |
Protected Attributes | |
| String | m_image_id |
| The identifier for the image resource. | |
| QPixmap * | m_pixmap |
| The captured pixmap of the widget. | |
| QWidget * | m_widget_to_paint |
| The widget being captured. | |
A Qt compatible wrapper for an image for use with QWidgetModel.
Definition at line 14 of file QTWidgetModel.h.
| QTWidgetImage::QTWidgetImage | ( | QWidget * | widget, |
| const String & | image_id ) |
Constructs a widget image that captures the given widget's appearance.
| [in] | widget | The widget to paint from. |
| [in] | image_id | The identifier for the image resource. |
|
inline |
Retrieves the image resource identifier.
Definition at line 29 of file QTWidgetModel.h.
References m_image_id.