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

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

#include <VActions.h>

Inheritance diagram for VIntLineEditAction:
VLineAction

Signals

void ValueChanged (int)
 

Public Member Functions

 VIntLineEditAction (const std::string &title, int value)
 
void SetValue (int value)
 Set the numeric value held by the VIntLineEdit.
 
- Public Member Functions inherited from VLineAction
 VLineAction (const std::string &title, VHBoxWidget *container)
 

Detailed Description

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

A QWidgetAction that represents itself as a VLineItem, which contains a VLabel and a VIntLineEditAction. VWidget's standard SetValue() function can be used to retrieve and update the current value. Used within QMenu classes.

Definition at line 126 of file VActions.h.

Constructor & Destructor Documentation

◆ VIntLineEditAction()

VIntLineEditAction::VIntLineEditAction ( const std::string &  title,
int  value 
)

Member Function Documentation

◆ SetValue()

void VIntLineEditAction::SetValue ( int  value)

Set the numeric value held by the VIntLineEdit.

◆ ValueChanged

void VIntLineEditAction::ValueChanged ( int  )
signal

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