trikRuntime
trikGui::GamepadIndicator Class Reference

A label that shows gamepad connection status. More...

#include <gamepadIndicator.h>

Inheritance diagram for trikGui::GamepadIndicator:
Collaboration diagram for trikGui::GamepadIndicator:

Public Slots

void setOn ()
 Updates the status to 'connect'. More...
 
void setOff ()
 Updates the status to 'disconnect'. More...
 
void connected (bool connected)
 Updates the status according to connected parameters. More...
 

Public Member Functions

 GamepadIndicator (Controller &controller, QWidget *parent=0)
 

Detailed Description

A label that shows gamepad connection status.

Constructor & Destructor Documentation

GamepadIndicator::GamepadIndicator ( Controller controller,
QWidget *  parent = 0 
)
explicit
Parameters
controlleris used to get the current gamepad info

Member Function Documentation

void GamepadIndicator::connected ( bool  connected)
slot

Updates the status according to connected parameters.

void GamepadIndicator::setOff ( )
slot

Updates the status to 'disconnect'.

void GamepadIndicator::setOn ( )
slot

Updates the status to 'connect'.


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