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