#include <YQCustomStatusItemSelector.h>
|
virtual QAbstractButton * | createHeadingToggle (const std::string &label, QWidget *parent) |
|
void | setStatusIcon (QAbstractButton *toggle) |
|
virtual int | itemDescriptionIndent () const |
|
virtual void | createWidgets (const std::string &label, const std::string &description, const std::string &iconName, bool selected=false) |
|
|
YQItemSelector * | _parent |
|
YItem * | _item |
|
QHBoxLayout * | _hBox |
|
QVBoxLayout * | _vBox |
|
QAbstractButton * | _headingToggle |
|
QLabel * | _descriptionLabel |
|
QLabel * | _iconLabel |
|
Class for the widgets of one YQCustomStatusItemSelector item.
◆ YQCustomStatusSelectorItemWidget()
YQCustomStatusSelectorItemWidget::YQCustomStatusSelectorItemWidget |
( |
YQItemSelector * | parent, |
|
|
YItem * | item ) |
◆ ~YQCustomStatusSelectorItemWidget()
YQCustomStatusSelectorItemWidget::~YQCustomStatusSelectorItemWidget |
( |
| ) |
|
|
virtual |
◆ clicked
Emitted when the user clicks on the heading toggle to change the status or uses a keyboard operation to do the same.
◆ createHeadingToggle()
QAbstractButton * YQCustomStatusSelectorItemWidget::createHeadingToggle |
( |
const std::string & | label, |
|
|
QWidget * | parent ) |
|
protectedvirtual |
◆ itemDescriptionIndent()
int YQCustomStatusSelectorItemWidget::itemDescriptionIndent |
( |
| ) |
const |
|
protectedvirtual |
◆ setStatusIcon() [1/2]
void YQCustomStatusSelectorItemWidget::setStatusIcon |
( |
| ) |
|
Set the correct status icon according to the status of this item.
◆ setStatusIcon() [2/2]
void YQCustomStatusSelectorItemWidget::setStatusIcon |
( |
QAbstractButton * | toggle | ) |
|
|
protected |
Set the correct status icon according to the status of this item.
◆ slotClicked
void YQCustomStatusSelectorItemWidget::slotClicked |
( |
| ) |
|
|
protectedslot |
Forwarder slot from the heading toggle to this class.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQCustomStatusItemSelector.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQCustomStatusItemSelector.cc