|
libyui-qt
2.52.4
|
Class for the widgets of one YQCustomStatusItemSelector item. More...
#include <YQCustomStatusItemSelector.h>


Signals | |
| void | clicked (YQCustomStatusSelectorItemWidget *itemWidget) |
| Emitted when the user clicks on the heading toggle to change the status or uses a keyboard operation to do the same. | |
Signals inherited from YQSelectorItemWidget | |
| void | selectionChanged (YQSelectorItemWidget *itemWidget, bool selected) |
Public Member Functions | |
| YQCustomStatusSelectorItemWidget (YQItemSelector *parent, YItem *item) | |
| Constructor. | |
| virtual | ~YQCustomStatusSelectorItemWidget () |
| Destructor. | |
| void | setStatusIcon () |
| Set the correct status icon according to the status of this item. | |
Public Member Functions inherited from YQSelectorItemWidget | |
| YQSelectorItemWidget (YQItemSelector *parent, YItem *item) | |
| Constructor. | |
| virtual | ~YQSelectorItemWidget () |
| Destructor. | |
| virtual void | createWidgets () |
| Create the subwidgets. More... | |
| virtual void | setSelected (bool sel=true) |
| Select the appropriate widget according to the parent's selection policy (single or multi selection). | |
| virtual bool | selected () const |
| Return 'true' if this item is selected, 'false' otherwise. | |
| bool | singleSelection () const |
| Return 'true' if the parent YItemSelector has single selection (1-of-n). | |
| bool | multiSelection () const |
| Return 'true' if the parent YItemSelector has multi selection (n-of-m). | |
| QAbstractButton * | headingToggle () const |
| Return the widget that handles the selection: Either a QRadioButton or a QCheckBox. More... | |
| YQItemSelector * | parent () const |
| QLabel * | descriptionLabel () const |
| QLabel * | iconLabel () const |
| YItem * | item () const |
Protected Slots | |
| void | slotClicked () |
| Forwarder slot from the heading toggle to this class. | |
Protected Slots inherited from YQSelectorItemWidget | |
| void | slotSelectionChanged (bool selected) |
Protected Member Functions | |
| virtual QAbstractButton * | createHeadingToggle (const std::string &label, QWidget *parent) |
| Create the appropriate toggle button for this item and connect it to appropriate slots. More... | |
| void | setStatusIcon (QAbstractButton *toggle) |
| Set the correct status icon according to the status of this item. | |
| virtual int | itemDescriptionIndent () const |
| Return the amount of indentation in pixels for the description text. More... | |
Protected Member Functions inherited from YQSelectorItemWidget | |
| virtual void | createWidgets (const std::string &label, const std::string &description, const std::string &iconName, bool selected=false) |
Additional Inherited Members | |
Protected Attributes inherited from YQSelectorItemWidget | |
| YQItemSelector * | _parent |
| YItem * | _item |
| QHBoxLayout * | _hBox |
| QVBoxLayout * | _vBox |
| QAbstractButton * | _headingToggle |
| QLabel * | _descriptionLabel |
| QLabel * | _iconLabel |
Class for the widgets of one YQCustomStatusItemSelector item.
Definition at line 119 of file YQCustomStatusItemSelector.h.
|
protectedvirtual |
Create the appropriate toggle button for this item and connect it to appropriate slots.
Reimplemented from YQCustomStatusSelectorItemWidget.
Reimplemented from YQSelectorItemWidget.
Definition at line 173 of file YQCustomStatusItemSelector.cc.

|
protectedvirtual |
Return the amount of indentation in pixels for the description text.
Reimplemented from YQCustomStatusSelectorItemWidget.
Reimplemented from YQSelectorItemWidget.
Definition at line 220 of file YQCustomStatusItemSelector.cc.