AntiMicroX
Public Slots | Public Member Functions | Protected Member Functions | Private Attributes
AxisValueBox Class Reference

#include <axisvaluebox.h>

Inheritance diagram for AxisValueBox:
[legend]
Collaboration diagram for AxisValueBox:
[legend]

Public Slots

void setThrottle (int throttle)
 
void setValue (int value)
 
void setValue (JoyAxis *axis, int value)
 
void setDeadZone (int deadZone)
 
void setDeadZone (JoyAxis *axis, int deadZone)
 
void setMaxZone (int maxZone)
 
void setMaxZone (JoyAxis *axis, int deadZone)
 

Public Member Functions

 AxisValueBox (QWidget *parent=nullptr)
 
int getDeadZone ()
 
int getMaxZone ()
 
int getJoyValue ()
 
int getThrottle ()
 
int getMinAxValue ()
 
int getMaxAxValue ()
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 

Private Attributes

JoyAxism_axis
 
int m_deadZone
 
int m_maxZone
 
int joyValue
 
int m_throttle
 
int boxwidth
 
int boxheight
 
int lboxstart
 
int lboxend
 
int rboxstart
 
int rboxend
 
int singlewidth
 
int singleend
 

Constructor & Destructor Documentation

◆ AxisValueBox()

AxisValueBox::AxisValueBox ( QWidget *  parent = nullptr)
explicit

Member Function Documentation

◆ getDeadZone()

int AxisValueBox::getDeadZone ( )

◆ getJoyValue()

int AxisValueBox::getJoyValue ( )

◆ getMaxAxValue()

int AxisValueBox::getMaxAxValue ( )
Here is the caller graph for this function:

◆ getMaxZone()

int AxisValueBox::getMaxZone ( )

◆ getMinAxValue()

int AxisValueBox::getMinAxValue ( )

◆ getThrottle()

int AxisValueBox::getThrottle ( )

◆ paintEvent()

void AxisValueBox::paintEvent ( QPaintEvent *  event)
protectedvirtual
Here is the call graph for this function:

◆ resizeEvent()

void AxisValueBox::resizeEvent ( QResizeEvent *  event)
protectedvirtual

◆ setDeadZone [1/2]

void AxisValueBox::setDeadZone ( int  deadZone)
slot

◆ setDeadZone [2/2]

void AxisValueBox::setDeadZone ( JoyAxis axis,
int  deadZone 
)
slot

◆ setMaxZone [1/2]

void AxisValueBox::setMaxZone ( int  maxZone)
slot

◆ setMaxZone [2/2]

void AxisValueBox::setMaxZone ( JoyAxis axis,
int  deadZone 
)
slot

◆ setThrottle

void AxisValueBox::setThrottle ( int  throttle)
slot
Here is the call graph for this function:

◆ setValue [1/2]

void AxisValueBox::setValue ( int  value)
slot
Here is the caller graph for this function:

◆ setValue [2/2]

void AxisValueBox::setValue ( JoyAxis axis,
int  value 
)
slot

Field Documentation

◆ boxheight

int AxisValueBox::boxheight
private

◆ boxwidth

int AxisValueBox::boxwidth
private

◆ joyValue

int AxisValueBox::joyValue
private

◆ lboxend

int AxisValueBox::lboxend
private

◆ lboxstart

int AxisValueBox::lboxstart
private

◆ m_axis

JoyAxis* AxisValueBox::m_axis
private

◆ m_deadZone

int AxisValueBox::m_deadZone
private

◆ m_maxZone

int AxisValueBox::m_maxZone
private

◆ m_throttle

int AxisValueBox::m_throttle
private

◆ rboxend

int AxisValueBox::rboxend
private

◆ rboxstart

int AxisValueBox::rboxstart
private

◆ singleend

int AxisValueBox::singleend
private

◆ singlewidth

int AxisValueBox::singlewidth
private

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