42 mCheckableFlag = flag;
52 mRenderAsWidgetFlag = flag;
77 return mCheckableFlag;
87 return mRenderAsWidgetFlag;
QString category() const
Returns the item's category.
void setCheckable(bool flag)
Sets whether the item is checkable.
void setDetail(const QString &detail)
Sets the detailed description for the item.
void setEnabled(bool flag)
Sets whether the item is enabled.
void setTitle(const QString &title)
Sets the title for the item.
void setChecked(bool flag)
Sets whether the item is checked.
bool isCheckable() const
Returns true if the item is checkable.
bool isEnabled() const
Returns true if the item is enabled.
QString title() const
Returns the item's title.
bool isRenderedAsWidget() const
Returns true if the item will be rendered using a widget.
QPixmap icon() const
Returns the item's icon.
QString detail() const
Returns the detailed description for the item.
void setIcon(const QPixmap &icon)
Sets the item's icon.
void setCategory(const QString &category)
Sets the item's category.
void setRenderAsWidget(bool flag)
This is a hint to the delegate to render using a widget rather than manually painting every part of t...
bool isChecked() const
Returns true if the item is checked.