![]() |
AntiMicroX
|
Widget representing image of reference Xbox controller. More...
#include <gamecontrollerexample.h>
Public Types | |
enum | ButtonType { Button, AxisX, AxisY } |
Public Slots | |
void | setActiveButton (int button) |
Signals | |
void | indexUpdated (int index) |
Public Member Functions | |
GameControllerExample (QWidget *parent=nullptr) | |
Static Public Attributes | |
static const int | MAXBUTTONINDEX = 20 |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
Private Attributes | |
QImage | controllerimage |
QImage | buttonimage |
QImage | axisimage |
QImage | rotatedaxisimage |
int | currentIndex |
Widget representing image of reference Xbox controller.
It can also mark selected buttons
|
explicit |
|
signal |
|
protectedvirtual |
|
slot |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |