Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QGraphicsLayoutItem
Class hierarchy: QGraphicsLayoutItem
new QGraphicsLayoutItem | new | (QGraphicsLayoutItem ptr parent = 0, bool isLayout = false) | Constructor QGraphicsLayoutItem::QGraphicsLayoutItem(QGraphicsLayoutItem *parent, bool isLayout) |
[const] | QGraphicsLayoutItem ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | QRectF | contentsRect | Method QRectF QGraphicsLayoutItem::contentsRect() | |
[const] | QSizeF | effectiveSizeHint | (const Qt_SizeHint which, const QSizeF constraint = QSizeF()) | Method QSizeF QGraphicsLayoutItem::effectiveSizeHint(Qt::SizeHint which, const QSizeF &constraint) |
[const] | QRectF | geometry | Method QRectF QGraphicsLayoutItem::geometry() | |
void | geometry= | (const QRectF rect) | Method void QGraphicsLayoutItem::setGeometry(const QRectF &rect) | |
[const] | void | getContentsMargins | (double ptr left, double ptr top, double ptr right, double ptr bottom) | Virtual method void QGraphicsLayoutItem::getContentsMargins(double *left, double *top, double *right, double *bottom) |
[const] | QGraphicsItem ptr | graphicsItem | Method QGraphicsItem *QGraphicsLayoutItem::graphicsItem() | |
[const] | bool | isLayout? | Method bool QGraphicsLayoutItem::isLayout() | |
[const] | double | maximumHeight | Method double QGraphicsLayoutItem::maximumHeight() | |
void | maximumHeight= | (double height) | Method void QGraphicsLayoutItem::setMaximumHeight(double height) | |
[const] | QSizeF | maximumSize | Method QSizeF QGraphicsLayoutItem::maximumSize() | |
void | maximumSize= | (const QSizeF size) | Method void QGraphicsLayoutItem::setMaximumSize(const QSizeF &size) | |
[const] | double | maximumWidth | Method double QGraphicsLayoutItem::maximumWidth() | |
void | maximumWidth= | (double width) | Method void QGraphicsLayoutItem::setMaximumWidth(double width) | |
[const] | double | minimumHeight | Method double QGraphicsLayoutItem::minimumHeight() | |
void | minimumHeight= | (double height) | Method void QGraphicsLayoutItem::setMinimumHeight(double height) | |
[const] | QSizeF | minimumSize | Method QSizeF QGraphicsLayoutItem::minimumSize() | |
void | minimumSize= | (const QSizeF size) | Method void QGraphicsLayoutItem::setMinimumSize(const QSizeF &size) | |
[const] | double | minimumWidth | Method double QGraphicsLayoutItem::minimumWidth() | |
void | minimumWidth= | (double width) | Method void QGraphicsLayoutItem::setMinimumWidth(double width) | |
[const] | bool | ownedByLayout | Method bool QGraphicsLayoutItem::ownedByLayout() | |
[const] | QGraphicsLayoutItem ptr | parentLayoutItem | Method QGraphicsLayoutItem *QGraphicsLayoutItem::parentLayoutItem() | |
void | parentLayoutItem= | (QGraphicsLayoutItem ptr parent) | Method void QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem *parent) | |
[const] | double | preferredHeight | Method double QGraphicsLayoutItem::preferredHeight() | |
void | preferredHeight= | (double height) | Method void QGraphicsLayoutItem::setPreferredHeight(double height) | |
[const] | QSizeF | preferredSize | Method QSizeF QGraphicsLayoutItem::preferredSize() | |
void | preferredSize= | (const QSizeF size) | Method void QGraphicsLayoutItem::setPreferredSize(const QSizeF &size) | |
[const] | double | preferredWidth | Method double QGraphicsLayoutItem::preferredWidth() | |
void | preferredWidth= | (double width) | Method void QGraphicsLayoutItem::setPreferredWidth(double width) | |
void | setGeometry | (const QRectF rect) | Virtual method void QGraphicsLayoutItem::setGeometry(const QRectF &rect) | |
void | setMaximumHeight | (double height) | Method void QGraphicsLayoutItem::setMaximumHeight(double height) | |
void | setMaximumSize | (const QSizeF size) | Method void QGraphicsLayoutItem::setMaximumSize(const QSizeF &size) | |
void | setMaximumSize | (double w, double h) | Method void QGraphicsLayoutItem::setMaximumSize(double w, double h) | |
void | setMaximumWidth | (double width) | Method void QGraphicsLayoutItem::setMaximumWidth(double width) | |
void | setMinimumHeight | (double height) | Method void QGraphicsLayoutItem::setMinimumHeight(double height) | |
void | setMinimumSize | (const QSizeF size) | Method void QGraphicsLayoutItem::setMinimumSize(const QSizeF &size) | |
void | setMinimumSize | (double w, double h) | Method void QGraphicsLayoutItem::setMinimumSize(double w, double h) | |
void | setMinimumWidth | (double width) | Method void QGraphicsLayoutItem::setMinimumWidth(double width) | |
void | setParentLayoutItem | (QGraphicsLayoutItem ptr parent) | Method void QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem *parent) | |
void | setPreferredHeight | (double height) | Method void QGraphicsLayoutItem::setPreferredHeight(double height) | |
void | setPreferredSize | (const QSizeF size) | Method void QGraphicsLayoutItem::setPreferredSize(const QSizeF &size) | |
void | setPreferredSize | (double w, double h) | Method void QGraphicsLayoutItem::setPreferredSize(double w, double h) | |
void | setPreferredWidth | (double width) | Method void QGraphicsLayoutItem::setPreferredWidth(double width) | |
void | setSizePolicy | (const QSizePolicy policy) | Method void QGraphicsLayoutItem::setSizePolicy(const QSizePolicy &policy) | |
void | setSizePolicy | (const QSizePolicy_Policy hPolicy, const QSizePolicy_Policy vPolicy, const QSizePolicy_ControlType controlType = QSizePolicy::DefaultType) | Method void QGraphicsLayoutItem::setSizePolicy(QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) | |
[const] | QSizePolicy | sizePolicy | Method QSizePolicy QGraphicsLayoutItem::sizePolicy() | |
void | sizePolicy= | (const QSizePolicy policy) | Method void QGraphicsLayoutItem::setSizePolicy(const QSizePolicy &policy) | |
void | updateGeometry | Virtual method void QGraphicsLayoutItem::updateGeometry() |
void | setGraphicsItem | (QGraphicsItem ptr item) | Method void QGraphicsLayoutItem::setGraphicsItem(QGraphicsItem *item) | ||
void | setOwnedByLayout | (bool ownedByLayout) | Method void QGraphicsLayoutItem::setOwnedByLayout(bool ownedByLayout) | ||
[const] | QSizeF | sizeHint | (const Qt_SizeHint which, const QSizeF constraint) | Virtual method QSizeF QGraphicsLayoutItem::sizeHint(Qt::SizeHint which, const QSizeF &constraint) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
_const_cast | Signature: [const] QGraphicsLayoutItem ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
contentsRect | Signature: [const] QRectF contentsRect Description: Method QRectF QGraphicsLayoutItem::contentsRect() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
effectiveSizeHint | Signature: [const] QSizeF effectiveSizeHint (const Qt_SizeHint which, const QSizeF constraint = QSizeF()) Description: Method QSizeF QGraphicsLayoutItem::effectiveSizeHint(Qt::SizeHint which, const QSizeF &constraint) |
geometry | Signature: [const] QRectF geometry Description: Method QRectF QGraphicsLayoutItem::geometry() Python specific notes: |
geometry= | Signature: void geometry= (const QRectF rect) Description: Method void QGraphicsLayoutItem::setGeometry(const QRectF &rect) Python specific notes: |
getContentsMargins | Signature: [const] void getContentsMargins (double ptr left, double ptr top, double ptr right, double ptr bottom) Description: Virtual method void QGraphicsLayoutItem::getContentsMargins(double *left, double *top, double *right, double *bottom) This method can be reimplemented in a derived class. |
graphicsItem | Signature: [const] QGraphicsItem ptr graphicsItem Description: Method QGraphicsItem *QGraphicsLayoutItem::graphicsItem() |
isLayout? | Signature: [const] bool isLayout? Description: Method bool QGraphicsLayoutItem::isLayout() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
maximumHeight | Signature: [const] double maximumHeight Description: Method double QGraphicsLayoutItem::maximumHeight() Python specific notes: |
maximumHeight= | Signature: void maximumHeight= (double height) Description: Method void QGraphicsLayoutItem::setMaximumHeight(double height) Python specific notes: |
maximumSize | Signature: [const] QSizeF maximumSize Description: Method QSizeF QGraphicsLayoutItem::maximumSize() Python specific notes: |
maximumSize= | Signature: void maximumSize= (const QSizeF size) Description: Method void QGraphicsLayoutItem::setMaximumSize(const QSizeF &size) Python specific notes: |
maximumWidth | Signature: [const] double maximumWidth Description: Method double QGraphicsLayoutItem::maximumWidth() Python specific notes: |
maximumWidth= | Signature: void maximumWidth= (double width) Description: Method void QGraphicsLayoutItem::setMaximumWidth(double width) Python specific notes: |
minimumHeight | Signature: [const] double minimumHeight Description: Method double QGraphicsLayoutItem::minimumHeight() Python specific notes: |
minimumHeight= | Signature: void minimumHeight= (double height) Description: Method void QGraphicsLayoutItem::setMinimumHeight(double height) Python specific notes: |
minimumSize | Signature: [const] QSizeF minimumSize Description: Method QSizeF QGraphicsLayoutItem::minimumSize() Python specific notes: |
minimumSize= | Signature: void minimumSize= (const QSizeF size) Description: Method void QGraphicsLayoutItem::setMinimumSize(const QSizeF &size) Python specific notes: |
minimumWidth | Signature: [const] double minimumWidth Description: Method double QGraphicsLayoutItem::minimumWidth() Python specific notes: |
minimumWidth= | Signature: void minimumWidth= (double width) Description: Method void QGraphicsLayoutItem::setMinimumWidth(double width) Python specific notes: |
new | Signature: [static] new QGraphicsLayoutItem new (QGraphicsLayoutItem ptr parent = 0, bool isLayout = false) Description: Constructor QGraphicsLayoutItem::QGraphicsLayoutItem(QGraphicsLayoutItem *parent, bool isLayout) This method creates an object of class QGraphicsLayoutItem. Python specific notes: |
ownedByLayout | Signature: [const] bool ownedByLayout Description: Method bool QGraphicsLayoutItem::ownedByLayout() |
parentLayoutItem | Signature: [const] QGraphicsLayoutItem ptr parentLayoutItem Description: Method QGraphicsLayoutItem *QGraphicsLayoutItem::parentLayoutItem() Python specific notes: |
parentLayoutItem= | Signature: void parentLayoutItem= (QGraphicsLayoutItem ptr parent) Description: Method void QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem *parent) Python specific notes: |
preferredHeight | Signature: [const] double preferredHeight Description: Method double QGraphicsLayoutItem::preferredHeight() Python specific notes: |
preferredHeight= | Signature: void preferredHeight= (double height) Description: Method void QGraphicsLayoutItem::setPreferredHeight(double height) Python specific notes: |
preferredSize | Signature: [const] QSizeF preferredSize Description: Method QSizeF QGraphicsLayoutItem::preferredSize() Python specific notes: |
preferredSize= | Signature: void preferredSize= (const QSizeF size) Description: Method void QGraphicsLayoutItem::setPreferredSize(const QSizeF &size) Python specific notes: |
preferredWidth | Signature: [const] double preferredWidth Description: Method double QGraphicsLayoutItem::preferredWidth() Python specific notes: |
preferredWidth= | Signature: void preferredWidth= (double width) Description: Method void QGraphicsLayoutItem::setPreferredWidth(double width) Python specific notes: |
setGeometry | Signature: void setGeometry (const QRectF rect) Description: Virtual method void QGraphicsLayoutItem::setGeometry(const QRectF &rect) This method can be reimplemented in a derived class. |
setGraphicsItem | Signature: void setGraphicsItem (QGraphicsItem ptr item) Description: Method void QGraphicsLayoutItem::setGraphicsItem(QGraphicsItem *item) This method is protected and can only be called from inside a derived class. |
setMaximumHeight | Signature: void setMaximumHeight (double height) Description: Method void QGraphicsLayoutItem::setMaximumHeight(double height) Python specific notes: |
setMaximumSize | (1) Signature: void setMaximumSize (const QSizeF size) Description: Method void QGraphicsLayoutItem::setMaximumSize(const QSizeF &size) Python specific notes: |
(2) Signature: void setMaximumSize (double w, double h) Description: Method void QGraphicsLayoutItem::setMaximumSize(double w, double h) | |
setMaximumWidth | Signature: void setMaximumWidth (double width) Description: Method void QGraphicsLayoutItem::setMaximumWidth(double width) Python specific notes: |
setMinimumHeight | Signature: void setMinimumHeight (double height) Description: Method void QGraphicsLayoutItem::setMinimumHeight(double height) Python specific notes: |
setMinimumSize | (1) Signature: void setMinimumSize (const QSizeF size) Description: Method void QGraphicsLayoutItem::setMinimumSize(const QSizeF &size) Python specific notes: |
(2) Signature: void setMinimumSize (double w, double h) Description: Method void QGraphicsLayoutItem::setMinimumSize(double w, double h) | |
setMinimumWidth | Signature: void setMinimumWidth (double width) Description: Method void QGraphicsLayoutItem::setMinimumWidth(double width) Python specific notes: |
setOwnedByLayout | Signature: void setOwnedByLayout (bool ownedByLayout) Description: Method void QGraphicsLayoutItem::setOwnedByLayout(bool ownedByLayout) This method is protected and can only be called from inside a derived class. |
setParentLayoutItem | Signature: void setParentLayoutItem (QGraphicsLayoutItem ptr parent) Description: Method void QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem *parent) Python specific notes: |
setPreferredHeight | Signature: void setPreferredHeight (double height) Description: Method void QGraphicsLayoutItem::setPreferredHeight(double height) Python specific notes: |
setPreferredSize | (1) Signature: void setPreferredSize (const QSizeF size) Description: Method void QGraphicsLayoutItem::setPreferredSize(const QSizeF &size) Python specific notes: |
(2) Signature: void setPreferredSize (double w, double h) Description: Method void QGraphicsLayoutItem::setPreferredSize(double w, double h) | |
setPreferredWidth | Signature: void setPreferredWidth (double width) Description: Method void QGraphicsLayoutItem::setPreferredWidth(double width) Python specific notes: |
setSizePolicy | (1) Signature: void setSizePolicy (const QSizePolicy policy) Description: Method void QGraphicsLayoutItem::setSizePolicy(const QSizePolicy &policy) Python specific notes: |
(2) Signature: void setSizePolicy (const QSizePolicy_Policy hPolicy, const QSizePolicy_Policy vPolicy, const QSizePolicy_ControlType controlType = QSizePolicy::DefaultType) Description: Method void QGraphicsLayoutItem::setSizePolicy(QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) | |
sizeHint | Signature: [const] QSizeF sizeHint (const Qt_SizeHint which, const QSizeF constraint) Description: Virtual method QSizeF QGraphicsLayoutItem::sizeHint(Qt::SizeHint which, const QSizeF &constraint) This method can be reimplemented in a derived class. |
sizePolicy | Signature: [const] QSizePolicy sizePolicy Description: Method QSizePolicy QGraphicsLayoutItem::sizePolicy() Python specific notes: |
sizePolicy= | Signature: void sizePolicy= (const QSizePolicy policy) Description: Method void QGraphicsLayoutItem::setSizePolicy(const QSizePolicy &policy) Python specific notes: |
updateGeometry | Signature: void updateGeometry Description: Virtual method void QGraphicsLayoutItem::updateGeometry() This method can be reimplemented in a derived class. |