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 isCheckable() const
Returns true if the item is checkable.
void setChecked(bool flag)
Sets whether the item is checked.
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.
QString category() const
Returns the item's category.
void setCategory(const QString &category)
Sets the item's category.
bool isRenderedAsWidget() const
Returns true if the item will be rendered using a widget.
QString title() const
Returns the item's title.
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 isEnabled() const
Returns true if the item is enabled.
bool isChecked() const
Returns true if the item is checked.
QString detail() const
Returns the detailed description for the item.
QPixmap icon() const
Returns the item's icon.