Notation used in Ruby API documentation
Module: QtWidgets
Description: Binding of QTableWidgetItem
Class hierarchy: QTableWidgetItem
new QTableWidgetItem | new | (int type = QTableWidgetItem::Type) | Constructor QTableWidgetItem::QTableWidgetItem(int type) |
new QTableWidgetItem | new | (string text, int type = QTableWidgetItem::Type) | Constructor QTableWidgetItem::QTableWidgetItem(const QString &text, int type) |
new QTableWidgetItem | new | (const QIcon icon, string text, int type = QTableWidgetItem::Type) | Constructor QTableWidgetItem::QTableWidgetItem(const QIcon &icon, const QString &text, int type) |
new QTableWidgetItem | new | (const QTableWidgetItem other) | Constructor QTableWidgetItem::QTableWidgetItem(const QTableWidgetItem &other) |
[const] | bool | < | (const QTableWidgetItem other) | Virtual method bool QTableWidgetItem::operator<(const QTableWidgetItem &other) |
void | _assign | (const QTableWidgetItem other) | Assigns another object to self | |
[const] | QTableWidgetItem 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] | new QTableWidgetItem ptr | _dup | Creates a copy of self | |
[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. | ||
QTableWidgetItem | assign | (const QTableWidgetItem other) | Method QTableWidgetItem &QTableWidgetItem::operator=(const QTableWidgetItem &other) | |
[const] | QBrush | background | Method QBrush QTableWidgetItem::background() | |
void | background= | (const QBrush brush) | Method void QTableWidgetItem::setBackground(const QBrush &brush) | |
[const] | QColor | backgroundColor | Method QColor QTableWidgetItem::backgroundColor() | |
void | backgroundColor= | (const QColor color) | Method void QTableWidgetItem::setBackgroundColor(const QColor &color) | |
[const] | Qt_CheckState | checkState | Method Qt::CheckState QTableWidgetItem::checkState() | |
void | checkState= | (const Qt_CheckState state) | Method void QTableWidgetItem::setCheckState(Qt::CheckState state) | |
[const] | QTableWidgetItem ptr | clone | Virtual method QTableWidgetItem *QTableWidgetItem::clone() | |
[const] | int | column | Method int QTableWidgetItem::column() | |
[const] | variant | data | (int role) | Virtual method QVariant QTableWidgetItem::data(int role) |
[const] | new QTableWidgetItem ptr | dup | Creates a copy of self | |
[const] | Qt_QFlags_ItemFlag | flags | Method QFlags<Qt::ItemFlag> QTableWidgetItem::flags() | |
void | flags= | (Qt_QFlags_ItemFlag flags) | Method void QTableWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) | |
[const] | QFont | font | Method QFont QTableWidgetItem::font() | |
void | font= | (const QFont font) | Method void QTableWidgetItem::setFont(const QFont &font) | |
[const] | QBrush | foreground | Method QBrush QTableWidgetItem::foreground() | |
void | foreground= | (const QBrush brush) | Method void QTableWidgetItem::setForeground(const QBrush &brush) | |
[const] | QIcon | icon | Method QIcon QTableWidgetItem::icon() | |
void | icon= | (const QIcon icon) | Method void QTableWidgetItem::setIcon(const QIcon &icon) | |
[const] | bool | isSelected? | Method bool QTableWidgetItem::isSelected() | |
void | read | (QDataStream in) | Virtual method void QTableWidgetItem::read(QDataStream &in) | |
[const] | int | row | Method int QTableWidgetItem::row() | |
[const] | bool | selected | Method bool QTableWidgetItem::isSelected() | |
void | selected= | (bool select) | Method void QTableWidgetItem::setSelected(bool select) | |
void | setBackground | (const QBrush brush) | Method void QTableWidgetItem::setBackground(const QBrush &brush) | |
void | setBackgroundColor | (const QColor color) | Method void QTableWidgetItem::setBackgroundColor(const QColor &color) | |
void | setCheckState | (const Qt_CheckState state) | Method void QTableWidgetItem::setCheckState(Qt::CheckState state) | |
void | setData | (int role, variant value) | Virtual method void QTableWidgetItem::setData(int role, const QVariant &value) | |
void | setFlags | (Qt_QFlags_ItemFlag flags) | Method void QTableWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) | |
void | setFont | (const QFont font) | Method void QTableWidgetItem::setFont(const QFont &font) | |
void | setForeground | (const QBrush brush) | Method void QTableWidgetItem::setForeground(const QBrush &brush) | |
void | setIcon | (const QIcon icon) | Method void QTableWidgetItem::setIcon(const QIcon &icon) | |
void | setSelected | (bool select) | Method void QTableWidgetItem::setSelected(bool select) | |
void | setSizeHint | (const QSize size) | Method void QTableWidgetItem::setSizeHint(const QSize &size) | |
void | setStatusTip | (string statusTip) | Method void QTableWidgetItem::setStatusTip(const QString &statusTip) | |
void | setText | (string text) | Method void QTableWidgetItem::setText(const QString &text) | |
void | setTextAlignment | (int alignment) | Method void QTableWidgetItem::setTextAlignment(int alignment) | |
void | setTextColor | (const QColor color) | Method void QTableWidgetItem::setTextColor(const QColor &color) | |
void | setToolTip | (string toolTip) | Method void QTableWidgetItem::setToolTip(const QString &toolTip) | |
void | setWhatsThis | (string whatsThis) | Method void QTableWidgetItem::setWhatsThis(const QString &whatsThis) | |
[const] | QSize | sizeHint | Method QSize QTableWidgetItem::sizeHint() | |
void | sizeHint= | (const QSize size) | Method void QTableWidgetItem::setSizeHint(const QSize &size) | |
[const] | string | statusTip | Method QString QTableWidgetItem::statusTip() | |
void | statusTip= | (string statusTip) | Method void QTableWidgetItem::setStatusTip(const QString &statusTip) | |
[const] | QTableWidget ptr | tableWidget | Method QTableWidget *QTableWidgetItem::tableWidget() | |
[const] | string | text | Method QString QTableWidgetItem::text() | |
void | text= | (string text) | Method void QTableWidgetItem::setText(const QString &text) | |
[const] | int | textAlignment | Method int QTableWidgetItem::textAlignment() | |
void | textAlignment= | (int alignment) | Method void QTableWidgetItem::setTextAlignment(int alignment) | |
[const] | QColor | textColor | Method QColor QTableWidgetItem::textColor() | |
void | textColor= | (const QColor color) | Method void QTableWidgetItem::setTextColor(const QColor &color) | |
[const] | string | toolTip | Method QString QTableWidgetItem::toolTip() | |
void | toolTip= | (string toolTip) | Method void QTableWidgetItem::setToolTip(const QString &toolTip) | |
[const] | int | type | Method int QTableWidgetItem::type() | |
[const] | string | whatsThis | Method QString QTableWidgetItem::whatsThis() | |
void | whatsThis= | (string whatsThis) | Method void QTableWidgetItem::setWhatsThis(const QString &whatsThis) | |
[const] | void | write | (QDataStream out) | Virtual method void QTableWidgetItem::write(QDataStream &out) |
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 |
< | Signature: [const] bool < (const QTableWidgetItem other) Description: Virtual method bool QTableWidgetItem::operator<(const QTableWidgetItem &other) This method can be reimplemented in a derived class. |
_assign | Signature: void _assign (const QTableWidgetItem other) Description: Assigns another object to self |
_const_cast | Signature: [const] QTableWidgetItem 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. |
_dup | Signature: [const] new QTableWidgetItem ptr _dup Description: Creates a copy of self |
_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. |
assign | Signature: QTableWidgetItem assign (const QTableWidgetItem other) Description: Method QTableWidgetItem &QTableWidgetItem::operator=(const QTableWidgetItem &other) |
background | Signature: [const] QBrush background Description: Method QBrush QTableWidgetItem::background() Python specific notes: |
background= | Signature: void background= (const QBrush brush) Description: Method void QTableWidgetItem::setBackground(const QBrush &brush) Python specific notes: |
backgroundColor | Signature: [const] QColor backgroundColor Description: Method QColor QTableWidgetItem::backgroundColor() Python specific notes: |
backgroundColor= | Signature: void backgroundColor= (const QColor color) Description: Method void QTableWidgetItem::setBackgroundColor(const QColor &color) Python specific notes: |
checkState | Signature: [const] Qt_CheckState checkState Description: Method Qt::CheckState QTableWidgetItem::checkState() Python specific notes: |
checkState= | Signature: void checkState= (const Qt_CheckState state) Description: Method void QTableWidgetItem::setCheckState(Qt::CheckState state) Python specific notes: |
clone | Signature: [const] QTableWidgetItem ptr clone Description: Virtual method QTableWidgetItem *QTableWidgetItem::clone() This method can be reimplemented in a derived class. |
column | Signature: [const] int column Description: Method int QTableWidgetItem::column() |
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. |
data | Signature: [const] variant data (int role) Description: Virtual method QVariant QTableWidgetItem::data(int role) This method can be reimplemented in a derived class. |
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. |
dup | Signature: [const] new QTableWidgetItem ptr dup Description: Creates a copy of self Python specific notes: |
flags | Signature: [const] Qt_QFlags_ItemFlag flags Description: Method QFlags<Qt::ItemFlag> QTableWidgetItem::flags() Python specific notes: |
flags= | Signature: void flags= (Qt_QFlags_ItemFlag flags) Description: Method void QTableWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) Python specific notes: |
font | Signature: [const] QFont font Description: Method QFont QTableWidgetItem::font() Python specific notes: |
font= | Signature: void font= (const QFont font) Description: Method void QTableWidgetItem::setFont(const QFont &font) Python specific notes: |
foreground | Signature: [const] QBrush foreground Description: Method QBrush QTableWidgetItem::foreground() Python specific notes: |
foreground= | Signature: void foreground= (const QBrush brush) Description: Method void QTableWidgetItem::setForeground(const QBrush &brush) Python specific notes: |
icon | Signature: [const] QIcon icon Description: Method QIcon QTableWidgetItem::icon() Python specific notes: |
icon= | Signature: void icon= (const QIcon icon) Description: Method void QTableWidgetItem::setIcon(const QIcon &icon) Python specific notes: |
isSelected? | Signature: [const] bool isSelected? Description: Method bool QTableWidgetItem::isSelected() Python specific notes: |
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. |
new | (1) Signature: [static] new QTableWidgetItem new (int type = QTableWidgetItem::Type) Description: Constructor QTableWidgetItem::QTableWidgetItem(int type) This method creates an object of class QTableWidgetItem. Python specific notes: |
(2) Signature: [static] new QTableWidgetItem new (string text, int type = QTableWidgetItem::Type) Description: Constructor QTableWidgetItem::QTableWidgetItem(const QString &text, int type) This method creates an object of class QTableWidgetItem. Python specific notes: | |
(3) Signature: [static] new QTableWidgetItem new (const QIcon icon, string text, int type = QTableWidgetItem::Type) Description: Constructor QTableWidgetItem::QTableWidgetItem(const QIcon &icon, const QString &text, int type) This method creates an object of class QTableWidgetItem. Python specific notes: | |
(4) Signature: [static] new QTableWidgetItem new (const QTableWidgetItem other) Description: Constructor QTableWidgetItem::QTableWidgetItem(const QTableWidgetItem &other) This method creates an object of class QTableWidgetItem. Python specific notes: | |
read | Signature: void read (QDataStream in) Description: Virtual method void QTableWidgetItem::read(QDataStream &in) This method can be reimplemented in a derived class. |
row | Signature: [const] int row Description: Method int QTableWidgetItem::row() |
selected | Signature: [const] bool selected Description: Method bool QTableWidgetItem::isSelected() Python specific notes: |
selected= | Signature: void selected= (bool select) Description: Method void QTableWidgetItem::setSelected(bool select) Python specific notes: |
setBackground | Signature: void setBackground (const QBrush brush) Description: Method void QTableWidgetItem::setBackground(const QBrush &brush) Python specific notes: |
setBackgroundColor | Signature: void setBackgroundColor (const QColor color) Description: Method void QTableWidgetItem::setBackgroundColor(const QColor &color) Python specific notes: |
setCheckState | Signature: void setCheckState (const Qt_CheckState state) Description: Method void QTableWidgetItem::setCheckState(Qt::CheckState state) Python specific notes: |
setData | Signature: void setData (int role, variant value) Description: Virtual method void QTableWidgetItem::setData(int role, const QVariant &value) This method can be reimplemented in a derived class. |
setFlags | Signature: void setFlags (Qt_QFlags_ItemFlag flags) Description: Method void QTableWidgetItem::setFlags(QFlags<Qt::ItemFlag> flags) Python specific notes: |
setFont | Signature: void setFont (const QFont font) Description: Method void QTableWidgetItem::setFont(const QFont &font) Python specific notes: |
setForeground | Signature: void setForeground (const QBrush brush) Description: Method void QTableWidgetItem::setForeground(const QBrush &brush) Python specific notes: |
setIcon | Signature: void setIcon (const QIcon icon) Description: Method void QTableWidgetItem::setIcon(const QIcon &icon) Python specific notes: |
setSelected | Signature: void setSelected (bool select) Description: Method void QTableWidgetItem::setSelected(bool select) Python specific notes: |
setSizeHint | Signature: void setSizeHint (const QSize size) Description: Method void QTableWidgetItem::setSizeHint(const QSize &size) Python specific notes: |
setStatusTip | Signature: void setStatusTip (string statusTip) Description: Method void QTableWidgetItem::setStatusTip(const QString &statusTip) Python specific notes: |
setText | Signature: void setText (string text) Description: Method void QTableWidgetItem::setText(const QString &text) Python specific notes: |
setTextAlignment | Signature: void setTextAlignment (int alignment) Description: Method void QTableWidgetItem::setTextAlignment(int alignment) Python specific notes: |
setTextColor | Signature: void setTextColor (const QColor color) Description: Method void QTableWidgetItem::setTextColor(const QColor &color) Python specific notes: |
setToolTip | Signature: void setToolTip (string toolTip) Description: Method void QTableWidgetItem::setToolTip(const QString &toolTip) Python specific notes: |
setWhatsThis | Signature: void setWhatsThis (string whatsThis) Description: Method void QTableWidgetItem::setWhatsThis(const QString &whatsThis) Python specific notes: |
sizeHint | Signature: [const] QSize sizeHint Description: Method QSize QTableWidgetItem::sizeHint() Python specific notes: |
sizeHint= | Signature: void sizeHint= (const QSize size) Description: Method void QTableWidgetItem::setSizeHint(const QSize &size) Python specific notes: |
statusTip | Signature: [const] string statusTip Description: Method QString QTableWidgetItem::statusTip() Python specific notes: |
statusTip= | Signature: void statusTip= (string statusTip) Description: Method void QTableWidgetItem::setStatusTip(const QString &statusTip) Python specific notes: |
tableWidget | Signature: [const] QTableWidget ptr tableWidget Description: Method QTableWidget *QTableWidgetItem::tableWidget() |
text | Signature: [const] string text Description: Method QString QTableWidgetItem::text() Python specific notes: |
text= | Signature: void text= (string text) Description: Method void QTableWidgetItem::setText(const QString &text) Python specific notes: |
textAlignment | Signature: [const] int textAlignment Description: Method int QTableWidgetItem::textAlignment() Python specific notes: |
textAlignment= | Signature: void textAlignment= (int alignment) Description: Method void QTableWidgetItem::setTextAlignment(int alignment) Python specific notes: |
textColor | Signature: [const] QColor textColor Description: Method QColor QTableWidgetItem::textColor() Python specific notes: |
textColor= | Signature: void textColor= (const QColor color) Description: Method void QTableWidgetItem::setTextColor(const QColor &color) Python specific notes: |
toolTip | Signature: [const] string toolTip Description: Method QString QTableWidgetItem::toolTip() Python specific notes: |
toolTip= | Signature: void toolTip= (string toolTip) Description: Method void QTableWidgetItem::setToolTip(const QString &toolTip) Python specific notes: |
type | Signature: [const] int type Description: Method int QTableWidgetItem::type() |
whatsThis | Signature: [const] string whatsThis Description: Method QString QTableWidgetItem::whatsThis() Python specific notes: |
whatsThis= | Signature: void whatsThis= (string whatsThis) Description: Method void QTableWidgetItem::setWhatsThis(const QString &whatsThis) Python specific notes: |
write | Signature: [const] void write (QDataStream out) Description: Virtual method void QTableWidgetItem::write(QDataStream &out) This method can be reimplemented in a derived class. |