dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
JoystickControl Class Reference

#include <joystickcontrol.h>

Inheritance diagram for JoystickControl:

Public Slots

void changePosition (double x, double y)
 Update the displayed position based on an MCC update. More...
 

Signals

void positionClicked (double x, double y)
 

Public Member Functions

 JoystickControl (QWidget *parent=nullptr)
 Constructor for JoystickControl widget. Sets up the image of a joystick. More...
 
 ~JoystickControl ()
 
void paint ()
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event)
 Redirect mouse move events to control position. More...
 
void mousePressEvent (QMouseEvent *event)
 Redirect mouse move clicks to control position. More...
 
void paintEvent (QPaintEvent *event)
 
void resizeEvent (QResizeEvent *event)
 

Detailed Description

Definition at line 40 of file joystickcontrol.h.

Member Function Documentation

void JoystickControl::positionClicked ( double  x,
double  y 
)
signal

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