VAPOR3 3.9.4
|
A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem. More...
#include <VActions.h>
Signals | |
void | clicked (bool) |
Public Member Functions | |
VCheckBoxAction (const std::string &title, bool value) | |
void | SetValue (bool value) |
Set the checkstate of the VCheckBox (0=unchecked, 1=checked) | |
Public Member Functions inherited from VLineAction | |
VLineAction (const std::string &title, VHBoxWidget *container) | |
A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem.
A QWidgetAction that represents itself as a VLineItem, which contains a VLabel and a VCheckBox. VWidget's standard SetValue() function can be used to retrieve and update the current value. Used within QMenu classes.
Definition at line 64 of file VActions.h.
VCheckBoxAction::VCheckBoxAction | ( | const std::string & | title, |
bool | value | ||
) |
|
signal |
void VCheckBoxAction::SetValue | ( | bool | value | ) |
Set the checkstate of the VCheckBox (0=unchecked, 1=checked)