VAPOR3 3.9.4
Signals | Public Member Functions | List of all members
VCheckBoxAction Class Reference

A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem. More...

#include <VActions.h>

Inheritance diagram for VCheckBoxAction:
VLineAction

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ VCheckBoxAction()

VCheckBoxAction::VCheckBoxAction ( const std::string &  title,
bool  value 
)

Member Function Documentation

◆ clicked

void VCheckBoxAction::clicked ( bool  )
signal

◆ SetValue()

void VCheckBoxAction::SetValue ( bool  value)

Set the checkstate of the VCheckBox (0=unchecked, 1=checked)


The documentation for this class was generated from the following file: