KLayout Manual: Main Index » Class Index » API reference - Class QWidgetItemAPI reference - Class QWidgetItemNotation used in Ruby API documentation Description: Binding of QWidgetItem Class hierarchy: QWidgetItem » QLayoutItem Public constructors
Public methods
Detailed descriptionvoid createDescription: 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. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [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. [virtual,const] int expandingDirectionsDescription: Virtual method QFlags<enum Qt::Orientation> QWidgetItem::expandingDirections() This method can be reimplemented in a derived class. [virtual,const] QRect geometryDescription: Virtual method QRect QWidgetItem::geometry() This method can be reimplemented in a derived class. void geometry=(const QRect arg1)Description: Method void QWidgetItem::setGeometry(const QRect &) This is a reimplementation of QLayoutItem::setGeometry [virtual,const] bool hasHeightForWidthDescription: Virtual method bool QWidgetItem::hasHeightForWidth() This method can be reimplemented in a derived class. [virtual,const] int heightForWidth(int arg1)Description: Virtual method int QWidgetItem::heightForWidth(int ) This method can be reimplemented in a derived class. [virtual] void invalidateDescription: Virtual method void QWidgetItem::invalidate() This method can be reimplemented in a derived class. [virtual,const] bool isEmptyDescription: Virtual method bool QWidgetItem::isEmpty() This method can be reimplemented in a derived class. [const] bool isEmpty?Description: Method bool QWidgetItem::isEmpty() This is a reimplementation of QLayoutItem::isEmpty [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. [virtual] QLayout ptr layoutDescription: Virtual method QLayout * QWidgetItem::layout() This method can be reimplemented in a derived class. [virtual,const] QSize maximumSizeDescription: Virtual method QSize QWidgetItem::maximumSize() This method can be reimplemented in a derived class. [virtual,const] int minimumHeightForWidth(int arg1)Description: Virtual method int QWidgetItem::minimumHeightForWidth(int ) This method can be reimplemented in a derived class. [virtual,const] QSize minimumSizeDescription: Virtual method QSize QWidgetItem::minimumSize() This method can be reimplemented in a derived class. [static] new QWidgetItem new(QWidget ptr w)Description: Constructor QWidgetItem::QWidgetItem(QWidget *w) This method creates an object of class QWidgetItem. [virtual] void setGeometry(const QRect arg1)Description: Virtual method void QWidgetItem::setGeometry(const QRect &) This method can be reimplemented in a derived class. [virtual,const] QSize sizeHintDescription: Virtual method QSize QWidgetItem::sizeHint() This method can be reimplemented in a derived class. [virtual] QSpacerItem ptr spacerItemDescription: Virtual method QSpacerItem * QWidgetItem::spacerItem() This method can be reimplemented in a derived class. [virtual] QWidget ptr widgetDescription: Virtual method QWidget * QWidgetItem::widget() This method can be reimplemented in a derived class. |