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