API reference - Class QTreeWidgetItemNotation used in Ruby API documentation Description: Binding of QTreeWidgetItem Class hierarchy: QTreeWidgetItem Sub-classes: ChildIndicatorPolicy
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[virtual,const] bool <(const QTreeWidgetItem other)Description: Virtual method bool QTreeWidgetItem::operator<(const QTreeWidgetItem &other) This method can be reimplemented in a derived class. [static,const] new QTreeWidgetItem_ChildIndicatorPolicy ptr DontShowIndicatorDescription: Enum constant QTreeWidgetItem::DontShowIndicator [static,const] new QTreeWidgetItem_ChildIndicatorPolicy ptr DontShowIndicatorWhenChildlessDescription: Enum constant QTreeWidgetItem::DontShowIndicatorWhenChildless [static,const] new QTreeWidgetItem_ChildIndicatorPolicy ptr ShowIndicatorDescription: Enum constant QTreeWidgetItem::ShowIndicator void _assign(const QTreeWidgetItem other)Description: Assigns another object to self void _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 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. [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. [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. void _manageDescription: 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. void _unmanageDescription: 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. void addChild(QTreeWidgetItem ptr child)Description: Method void QTreeWidgetItem::addChild(QTreeWidgetItem *child) void addChildren(QTreeWidgetItem ptr[] children)Description: Method void QTreeWidgetItem::addChildren(const QList<QTreeWidgetItem *> &children) void assign(const QTreeWidgetItem other)Description: Assigns another object to self [const] QBrush background(int column)Description: Method QBrush QTreeWidgetItem::background(int column) [const] QColor backgroundColor(int column)Description: Method QColor QTreeWidgetItem::backgroundColor(int column) [const] Qt_CheckState checkState(int column)Description: Method Qt::CheckState QTreeWidgetItem::checkState(int column) [const] QTreeWidgetItem ptr child(int index)Description: Method QTreeWidgetItem *QTreeWidgetItem::child(int index) [const] int childCountDescription: Method int QTreeWidgetItem::childCount() [const] QTreeWidgetItem_ChildIndicatorPolicy childIndicatorPolicyDescription: Method QTreeWidgetItem::ChildIndicatorPolicy QTreeWidgetItem::childIndicatorPolicy() Python specific notes:The object exposes a readable attribute 'childIndicatorPolicy'. This is the getter. void childIndicatorPolicy=(const QTreeWidgetItem_ChildIndicatorPolicy policy)Description: Method void QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy policy) Python specific notes:The object exposes a writable attribute 'childIndicatorPolicy'. This is the setter. [virtual,const] QTreeWidgetItem ptr cloneDescription: Virtual method QTreeWidgetItem *QTreeWidgetItem::clone() This method can be reimplemented in a derived class. [const] int columnCountDescription: Method int QTreeWidgetItem::columnCount() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [virtual,const] QVariant data(int column,int role)Description: Virtual method QVariant QTreeWidgetItem::data(int column, int role) This method can be reimplemented in a derived class. void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] bool disabledDescription: Method bool QTreeWidgetItem::isDisabled() Python specific notes:The object exposes a readable attribute 'disabled'. This is the getter. void disabled=(bool disabled)Description: Method void QTreeWidgetItem::setDisabled(bool disabled) Python specific notes:The object exposes a writable attribute 'disabled'. This is the setter. [const] new QTreeWidgetItem ptr dupDescription: Creates a copy of self void emitDataChangedDescription: Method void QTreeWidgetItem::emitDataChanged() This method is protected and can only be called from inside a derived class. [const] bool expandedDescription: Method bool QTreeWidgetItem::isExpanded() Python specific notes:The object exposes a readable attribute 'expanded'. This is the getter. void expanded=(bool expand)Description: Method void QTreeWidgetItem::setExpanded(bool expand) Python specific notes:The object exposes a writable attribute 'expanded'. This is the setter. [const] bool firstColumnSpannedDescription: Method bool QTreeWidgetItem::isFirstColumnSpanned() Python specific notes:The object exposes a readable attribute 'firstColumnSpanned'. This is the getter. void firstColumnSpanned=(bool span)Description: Method void QTreeWidgetItem::setFirstColumnSpanned(bool span) Python specific notes:The object exposes a writable attribute 'firstColumnSpanned'. This is the setter. [const] Qt_QFlags_ItemFlag flagsDescription: Method QFlags<Qt::ItemFlag> QTreeWidgetItem::flags() Python specific notes:The object exposes a readable attribute 'flags'. This is the getter. void flags=(const Qt_QFlags_ItemFlag flags)Description: Method void QTreeWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) Python specific notes:The object exposes a writable attribute 'flags'. This is the setter. [const] QFont font(int column)Description: Method QFont QTreeWidgetItem::font(int column) [const] QBrush foreground(int column)Description: Method QBrush QTreeWidgetItem::foreground(int column) [const] bool hiddenDescription: Method bool QTreeWidgetItem::isHidden() Python specific notes:The object exposes a readable attribute 'hidden'. This is the getter. void hidden=(bool hide)Description: Method void QTreeWidgetItem::setHidden(bool hide) Python specific notes:The object exposes a writable attribute 'hidden'. This is the setter. [const] QIcon icon(int column)Description: Method QIcon QTreeWidgetItem::icon(int column) [const] int indexOfChild(QTreeWidgetItem ptr child)Description: Method int QTreeWidgetItem::indexOfChild(QTreeWidgetItem *child) void insertChild(int index,QTreeWidgetItem ptr child)Description: Method void QTreeWidgetItem::insertChild(int index, QTreeWidgetItem *child) void insertChildren(int index,QTreeWidgetItem ptr[] children)Description: Method void QTreeWidgetItem::insertChildren(int index, const QList<QTreeWidgetItem *> &children) [const] bool isDisabled?Description: Method bool QTreeWidgetItem::isDisabled() Python specific notes:The object exposes a readable attribute 'disabled'. This is the getter. [const] bool isExpanded?Description: Method bool QTreeWidgetItem::isExpanded() Python specific notes:The object exposes a readable attribute 'expanded'. This is the getter. [const] bool isFirstColumnSpanned?Description: Method bool QTreeWidgetItem::isFirstColumnSpanned() Python specific notes:The object exposes a readable attribute 'firstColumnSpanned'. This is the getter. [const] bool isHidden?Description: Method bool QTreeWidgetItem::isHidden() Python specific notes:The object exposes a readable attribute 'hidden'. This is the getter. [const] bool isSelected?Description: Method bool QTreeWidgetItem::isSelected() Python specific notes:The object exposes a readable attribute 'selected'. This is the getter. [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 [static] new QTreeWidgetItem new(int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(string[] strings,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(const QStringList &strings, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidget ptr view,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidget *view, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidget ptr view,string[] strings,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidget *view, const QStringList &strings, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidget ptr view,QTreeWidgetItem ptr after,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidget *view, QTreeWidgetItem *after, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidgetItem ptr parent,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem *parent, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidgetItem ptr parent,string[] strings,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem *parent, const QStringList &strings, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [static] new QTreeWidgetItem new(QTreeWidgetItem ptr parent,QTreeWidgetItem ptr after,int type = QTreeWidgetItem::Type)Description: Constructor QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *after, int type) This method creates an object of class QTreeWidgetItem. Python specific notes:This method is the default initializer of the object [const] QTreeWidgetItem ptr parentDescription: Method QTreeWidgetItem *QTreeWidgetItem::parent() [virtual] void read(QDataStream in)Description: Virtual method void QTreeWidgetItem::read(QDataStream &in) This method can be reimplemented in a derived class. void removeChild(QTreeWidgetItem ptr child)Description: Method void QTreeWidgetItem::removeChild(QTreeWidgetItem *child) [const] bool selectedDescription: Method bool QTreeWidgetItem::isSelected() Python specific notes:The object exposes a readable attribute 'selected'. This is the getter. void selected=(bool select)Description: Method void QTreeWidgetItem::setSelected(bool select) Python specific notes:The object exposes a writable attribute 'selected'. This is the setter. void setBackground(int column,const QBrush brush)Description: Method void QTreeWidgetItem::setBackground(int column, const QBrush &brush) void setBackgroundColor(int column,const QColor color)Description: Method void QTreeWidgetItem::setBackgroundColor(int column, const QColor &color) void setCheckState(int column,const Qt_CheckState state)Description: Method void QTreeWidgetItem::setCheckState(int column, Qt::CheckState state) void setChildIndicatorPolicy(const QTreeWidgetItem_ChildIndicatorPolicy policy)Description: Method void QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy policy) Python specific notes:The object exposes a writable attribute 'childIndicatorPolicy'. This is the setter. [virtual] void setData(int column,int role,const QVariant value)Description: Virtual method void QTreeWidgetItem::setData(int column, int role, const QVariant &value) This method can be reimplemented in a derived class. void setDisabled(bool disabled)Description: Method void QTreeWidgetItem::setDisabled(bool disabled) Python specific notes:The object exposes a writable attribute 'disabled'. This is the setter. void setExpanded(bool expand)Description: Method void QTreeWidgetItem::setExpanded(bool expand) Python specific notes:The object exposes a writable attribute 'expanded'. This is the setter. void setFirstColumnSpanned(bool span)Description: Method void QTreeWidgetItem::setFirstColumnSpanned(bool span) Python specific notes:The object exposes a writable attribute 'firstColumnSpanned'. This is the setter. void setFlags(const Qt_QFlags_ItemFlag flags)Description: Method void QTreeWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) Python specific notes:The object exposes a writable attribute 'flags'. This is the setter. void setFont(int column,const QFont font)Description: Method void QTreeWidgetItem::setFont(int column, const QFont &font) void setForeground(int column,const QBrush brush)Description: Method void QTreeWidgetItem::setForeground(int column, const QBrush &brush) void setHidden(bool hide)Description: Method void QTreeWidgetItem::setHidden(bool hide) Python specific notes:The object exposes a writable attribute 'hidden'. This is the setter. void setIcon(int column,const QIcon icon)Description: Method void QTreeWidgetItem::setIcon(int column, const QIcon &icon) void setSelected(bool select)Description: Method void QTreeWidgetItem::setSelected(bool select) Python specific notes:The object exposes a writable attribute 'selected'. This is the setter. void setSizeHint(int column,const QSize size)Description: Method void QTreeWidgetItem::setSizeHint(int column, const QSize &size) void setStatusTip(int column,string statusTip)Description: Method void QTreeWidgetItem::setStatusTip(int column, const QString &statusTip) void setText(int column,string text)Description: Method void QTreeWidgetItem::setText(int column, const QString &text) void setTextAlignment(int column,int alignment)Description: Method void QTreeWidgetItem::setTextAlignment(int column, int alignment) void setTextColor(int column,const QColor color)Description: Method void QTreeWidgetItem::setTextColor(int column, const QColor &color) void setToolTip(int column,string toolTip)Description: Method void QTreeWidgetItem::setToolTip(int column, const QString &toolTip) void setWhatsThis(int column,string whatsThis)Description: Method void QTreeWidgetItem::setWhatsThis(int column, const QString &whatsThis) [const] QSize sizeHint(int column)Description: Method QSize QTreeWidgetItem::sizeHint(int column) void sortChildren(int column,const Qt_SortOrder order)Description: Method void QTreeWidgetItem::sortChildren(int column, Qt::SortOrder order) [const] string statusTip(int column)Description: Method QString QTreeWidgetItem::statusTip(int column) new QTreeWidgetItem ptr takeChild(int index)Description: Method QTreeWidgetItem *QTreeWidgetItem::takeChild(int index) QTreeWidgetItem ptr[] takeChildrenDescription: Method QList<QTreeWidgetItem *> QTreeWidgetItem::takeChildren() [const] string text(int column)Description: Method QString QTreeWidgetItem::text(int column) [const] int textAlignment(int column)Description: Method int QTreeWidgetItem::textAlignment(int column) [const] QColor textColor(int column)Description: Method QColor QTreeWidgetItem::textColor(int column) [const] string toolTip(int column)Description: Method QString QTreeWidgetItem::toolTip(int column) [const] QTreeWidget ptr treeWidgetDescription: Method QTreeWidget *QTreeWidgetItem::treeWidget() [const] int typeDescription: Method int QTreeWidgetItem::type() [const] string whatsThis(int column)Description: Method QString QTreeWidgetItem::whatsThis(int column) [virtual,const] void write(QDataStream out)Description: Virtual method void QTreeWidgetItem::write(QDataStream &out) This method can be reimplemented in a derived class. |