#include <uitypes.h>

Definition at line 1388 of file uitypes.h.
Public Slots | |
| void | push () |
| void | unPush () |
| void | activate () |
Signals | |
| void | pushed () |
Public Member Functions | |
| UIKeyType (const QString &) | |
| ~UIKeyType () | |
| QPoint | GetPosition () |
| void | SetArea (QRect &area) |
| void | SetPosition (QPoint pos) |
| void | SetImages (QPixmap *normal, QPixmap *focused, QPixmap *down, QPixmap *downFocused) |
| void | SetDefaultImages (QPixmap *normal, QPixmap *focused, QPixmap *down, QPixmap *downFocused) |
| void | SetFonts (fontProp *normal, fontProp *focused, fontProp *down, fontProp *downFocused) |
| void | SetDefaultFonts (fontProp *normal, fontProp *focused, fontProp *down, fontProp *downFocused) |
| void | SetType (QString type) |
| QString | GetType () |
| void | SetChars (QString normal, QString shift, QString alt, QString shiftAlt) |
| QString | GetChar () |
| void | SetMoves (QString moveLeft, QString moveRight, QString moveUp, QString moveDown) |
| QString | GetMove (QString direction) |
| void | SetShiftState (bool sh, bool ag) |
| void | SetOn (bool bOn) |
| bool | IsOn (void) |
| void | SetToggleKey (bool bOn) |
| bool | IsToggleKey (void) |
| virtual void | Draw (QPainter *, int, int) |
| virtual void | calculateScreenArea () |
Private Member Functions | |
| QString | decodeChar (QString c) |
Private Attributes | |
| QRect | m_area |
| QString | m_type |
| QPixmap * | m_normalImg |
| QPixmap * | m_focusedImg |
| QPixmap * | m_downImg |
| QPixmap * | m_downFocusedImg |
| fontProp * | m_normalFont |
| fontProp * | m_focusedFont |
| fontProp * | m_downFont |
| fontProp * | m_downFocusedFont |
| QPoint | m_pos |
| QString | m_normalChar |
| QString | m_shiftChar |
| QString | m_altChar |
| QString | m_shiftAltChar |
| QString | m_moveLeft |
| QString | m_moveRight |
| QString | m_moveUp |
| QString | m_moveDown |
| bool | m_bShift |
| bool | m_bAlt |
| bool | m_bDown |
| bool | m_bToggle |
| bool | m_bPushed |
| QTimer | m_pushTimer |
| UIKeyType::UIKeyType | ( | const QString & | name | ) |
Definition at line 5333 of file uitypes.cpp.
| UIKeyType::~UIKeyType | ( | ) |
Definition at line 5350 of file uitypes.cpp.
| void UIKeyType::SetPosition | ( | QPoint | pos | ) | [inline] |
| void UIKeyType::SetImages | ( | QPixmap * | normal, | |
| QPixmap * | focused, | |||
| QPixmap * | down, | |||
| QPixmap * | downFocused | |||
| ) |
| void UIKeyType::SetDefaultImages | ( | QPixmap * | normal, | |
| QPixmap * | focused, | |||
| QPixmap * | down, | |||
| QPixmap * | downFocused | |||
| ) |
Definition at line 5440 of file uitypes.cpp.
| void UIKeyType::SetDefaultFonts | ( | fontProp * | normal, | |
| fontProp * | focused, | |||
| fontProp * | down, | |||
| fontProp * | downFocused | |||
| ) |
Definition at line 5458 of file uitypes.cpp.
| void UIKeyType::SetType | ( | QString | type | ) | [inline] |
| QString UIKeyType::GetType | ( | ) | [inline] |
Definition at line 1411 of file uitypes.h.
Referenced by UIKeyboardType::AddKey(), UIKeyboardType::charKey(), and UIKeyboardType::init().
| void UIKeyType::SetChars | ( | QString | normal, | |
| QString | shift, | |||
| QString | alt, | |||
| QString | shiftAlt | |||
| ) |
| QString UIKeyType::GetChar | ( | ) |
| void UIKeyType::SetMoves | ( | QString | moveLeft, | |
| QString | moveRight, | |||
| QString | moveUp, | |||
| QString | moveDown | |||
| ) |
| QString UIKeyType::GetMove | ( | QString | direction | ) |
Definition at line 5532 of file uitypes.cpp.
Referenced by UIKeyboardType::moveDown(), UIKeyboardType::moveLeft(), UIKeyboardType::moveRight(), and UIKeyboardType::moveUp().
| void UIKeyType::SetOn | ( | bool | bOn | ) | [inline] |
Definition at line 1421 of file uitypes.h.
Referenced by UIKeyboardType::altGrOnOff(), UIKeyboardType::lockOnOff(), UIKeyboardType::shiftLOnOff(), UIKeyboardType::shiftOff(), and UIKeyboardType::shiftROnOff().
| bool UIKeyType::IsOn | ( | void | ) | [inline] |
Definition at line 1422 of file uitypes.h.
Referenced by UIKeyboardType::altGrOnOff(), UIKeyboardType::leftCursor(), UIKeyboardType::lockOnOff(), UIKeyboardType::rightCursor(), UIKeyboardType::shiftLOnOff(), UIKeyboardType::shiftOff(), UIKeyboardType::shiftROnOff(), and UIKeyboardType::updateButtons().
| void UIKeyType::SetToggleKey | ( | bool | bOn | ) | [inline] |
| void UIKeyType::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
| void UIKeyType::calculateScreenArea | ( | void | ) | [virtual] |
| void UIKeyType::push | ( | ) | [slot] |
Definition at line 5568 of file uitypes.cpp.
| void UIKeyType::unPush | ( | ) | [slot] |
| void UIKeyType::activate | ( | ) | [inline, virtual, slot] |
Reimplemented from UIType.
Definition at line 1433 of file uitypes.h.
Referenced by UIKeyboardType::keyPressEvent().
| void UIKeyType::pushed | ( | ) | [signal] |
Referenced by push().
| QString UIKeyType::decodeChar | ( | QString | c | ) | [private] |
QRect UIKeyType::m_area [private] |
QString UIKeyType::m_type [private] |
QPixmap* UIKeyType::m_normalImg [private] |
Definition at line 1444 of file uitypes.h.
Referenced by calculateScreenArea(), Draw(), SetDefaultImages(), SetImages(), and UIKeyType().
QPixmap* UIKeyType::m_focusedImg [private] |
Definition at line 1445 of file uitypes.h.
Referenced by Draw(), SetDefaultImages(), SetImages(), and UIKeyType().
QPixmap* UIKeyType::m_downImg [private] |
Definition at line 1446 of file uitypes.h.
Referenced by Draw(), SetDefaultImages(), SetImages(), and UIKeyType().
QPixmap* UIKeyType::m_downFocusedImg [private] |
Definition at line 1447 of file uitypes.h.
Referenced by Draw(), SetDefaultImages(), SetImages(), and UIKeyType().
fontProp* UIKeyType::m_normalFont [private] |
Definition at line 1449 of file uitypes.h.
Referenced by Draw(), SetDefaultFonts(), SetFonts(), and UIKeyType().
fontProp* UIKeyType::m_focusedFont [private] |
Definition at line 1450 of file uitypes.h.
Referenced by Draw(), SetDefaultFonts(), SetFonts(), and UIKeyType().
fontProp* UIKeyType::m_downFont [private] |
Definition at line 1451 of file uitypes.h.
Referenced by Draw(), SetDefaultFonts(), SetFonts(), and UIKeyType().
fontProp* UIKeyType::m_downFocusedFont [private] |
Definition at line 1452 of file uitypes.h.
Referenced by Draw(), SetDefaultFonts(), SetFonts(), and UIKeyType().
QPoint UIKeyType::m_pos [private] |
Definition at line 1454 of file uitypes.h.
Referenced by calculateScreenArea(), Draw(), and UIKeyType().
QString UIKeyType::m_normalChar [private] |
QString UIKeyType::m_shiftChar [private] |
QString UIKeyType::m_altChar [private] |
QString UIKeyType::m_shiftAltChar [private] |
QString UIKeyType::m_moveLeft [private] |
QString UIKeyType::m_moveRight [private] |
QString UIKeyType::m_moveUp [private] |
QString UIKeyType::m_moveDown [private] |
bool UIKeyType::m_bShift [private] |
Definition at line 1466 of file uitypes.h.
Referenced by Draw(), GetChar(), SetShiftState(), and UIKeyType().
bool UIKeyType::m_bAlt [private] |
Definition at line 1467 of file uitypes.h.
Referenced by Draw(), GetChar(), SetShiftState(), and UIKeyType().
bool UIKeyType::m_bDown [private] |
bool UIKeyType::m_bToggle [private] |
bool UIKeyType::m_bPushed [private] |
QTimer UIKeyType::m_pushTimer [private] |
1.5.5