Inherits MAppletMessage.
List of all members.
Detailed Description
An applet message for setting the geometry of a QGraphicsLayoutItem
.
Constructor & Destructor Documentation
MAppletSetGeometryMessage::MAppletSetGeometryMessage |
( |
const QRectF & |
geometry = QRectF() , |
|
|
Qt::HANDLE |
handle = 0 | |
|
) |
| | [explicit] |
Constructor.
The geometry can be set as a parameter. The default is a null rectangle.
- Parameters:
-
| geometry | the geometry property of the message. |
| handle | the pixmap handle |
MAppletSetGeometryMessage::~MAppletSetGeometryMessage |
( |
|
) |
[virtual] |
Member Function Documentation
QRectF MAppletSetGeometryMessage::geometry |
( |
|
) |
const |
Returns the geometry property of the message.
- Returns:
- the geometry.
Qt::HANDLE MAppletSetGeometryMessage::handle |
( |
|
) |
const |
Returns the X pixmap handle property of the message.
- Returns:
- the X pixmap handle.
void MAppletSetGeometryMessage::setGeometry |
( |
const QRectF & |
newGeometry |
) |
|
Sets the geometry property of the message.
- Parameters:
-
| newGeometry | the new geometry. |
void MAppletSetGeometryMessage::setHandle |
( |
Qt::HANDLE |
newHandle |
) |
|
Sets the X pixmap handle property of the message.
- Parameters:
-
| newHandle | the new X pixmap handle. |