![]() |
AntiMicroX
|
Widget visualizing possible keyboard and mouse assignments. More...
#include <virtualkeyboardmousewidget.h>
Signals | |
void | selectionFinished () |
void | selectionCleared () |
void | selectionMade (int keycode, int alias) |
void | selectionMade (JoyButtonSlot *slot) |
void | buttonDialogClosed () |
Public Member Functions | |
VirtualKeyboardMouseWidget (InputDevice *joystick, ButtonEditDialogHelper *helper, bool isNumKeypad, QuickSetDialog *quickSetDialog=nullptr, JoyButton *button=nullptr, QWidget *parent=nullptr) | |
VirtualKeyboardMouseWidget (bool isNumKeypad, QWidget *parent=nullptr) | |
bool | isKeyboardTabVisible () |
bool | is_numlock_activated () |
bool | isLaptop () |
InputDevice * | getJoystick () const |
ButtonEditDialogHelper * | getHelper () const |
QWidget * | getKeyboardTab () const |
QWidget * | getMouseTab () const |
QPushButton * | getNoneButton () const |
QPushButton * | getMouseSettingsPushButton () const |
QMenu * | getOtherKeysMenu () const |
QuickSetDialog * | getCurrentQuickDialog () const |
Static Public Attributes | |
static QHash< QString, QString > | topRowKeys = QHash<QString, QString>() |
Protected Member Functions | |
void | setupVirtualKeyboardLayout () |
QVBoxLayout * | setupMainKeyboardLayout () |
QVBoxLayout * | setupAuxKeyboardLayout () |
QVBoxLayout * | setupKeyboardNumPadLayout () |
void | setupMouseControlLayout () |
VirtualKeyPushButton * | createNewKey (QString xcodestring) |
QPushButton * | createNoneKey () |
void | populateTopRowKeys () |
void | addFButtonToOthers (int qt_keycode, QString keycode_text) |
QPushButton * | createOtherKeysMenu () |
virtual void | resizeEvent (QResizeEvent *event) |
Private Slots | |
void | processSingleKeyboardSelection (int keycode, int alias) |
void | processAdvancedKeyboardSelection (int keycode, int alias) |
void | processSingleMouseSelection (JoyButtonSlot *tempslot) |
void | processAdvancedMouseSelection (JoyButtonSlot *tempslot) |
void | clearButtonSlots () |
void | clearButtonSlotsFinish () |
void | openMouseSettingsDialog () |
void | setButtonFontSizes () |
void | otherKeysActionSingle (QAction *action, bool triggered) |
void | otherKeysActionAdvanced (QAction *action, bool triggered) |
void | nullifyDialogPointer () |
Private Attributes | |
bool | withoutQuickSetDialog |
bool | m_isNumKeypad |
InputDevice * | joystick |
JoyButton * | lastPressedBtn |
ButtonEditDialogHelper * | helper |
QWidget * | keyboardTab |
QWidget * | mouseTab |
QPushButton * | noneButton |
QPushButton * | mouseSettingsPushButton |
QMenu * | otherKeysMenu |
QuickSetDialog * | currentQuickDialog |
Widget visualizing possible keyboard and mouse assignments.
It is part of buttoneditdialog.
|
explicit |
|
explicit |
|
protected |
|
signal |
|
privateslot |
|
privateslot |
|
protected |
|
protected |
|
protected |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
QuickSetDialog * VirtualKeyboardMouseWidget::getCurrentQuickDialog | ( | ) | const |
ButtonEditDialogHelper * VirtualKeyboardMouseWidget::getHelper | ( | ) | const |
InputDevice * VirtualKeyboardMouseWidget::getJoystick | ( | ) | const |
QWidget * VirtualKeyboardMouseWidget::getKeyboardTab | ( | ) | const |
QPushButton * VirtualKeyboardMouseWidget::getMouseSettingsPushButton | ( | ) | const |
QWidget * VirtualKeyboardMouseWidget::getMouseTab | ( | ) | const |
QPushButton * VirtualKeyboardMouseWidget::getNoneButton | ( | ) | const |
QMenu * VirtualKeyboardMouseWidget::getOtherKeysMenu | ( | ) | const |
bool VirtualKeyboardMouseWidget::is_numlock_activated | ( | ) |
bool VirtualKeyboardMouseWidget::isKeyboardTabVisible | ( | ) |
bool VirtualKeyboardMouseWidget::isLaptop | ( | ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
protected |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
privateslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |