UIKeyboardType Class Reference

#include <uitypes.h>

Inheritance diagram for UIKeyboardType:

UIType

List of all members.


Detailed Description

Definition at line 1475 of file uitypes.h.


Public Types

typedef QPtrList< UIKeyTypeKeyList

Public Member Functions

 UIKeyboardType (const QString &, int)
 ~UIKeyboardType ()
void SetContainer (LayerSet *container)
void SetArea (QRect &area)
void SetEdit (QWidget *edit)
void SetParentDialog (MythThemedDialog *parentDialog)
KeyList GetKeys ()
void AddKey (UIKeyType *key)
virtual void Draw (QPainter *, int, int)
virtual void calculateScreenArea ()
virtual void keyPressEvent (QKeyEvent *e)

Private Slots

void charKey ()
void lockOnOff ()
void shiftLOnOff ()
void shiftROnOff ()
void shiftOff ()
void altGrOnOff ()
void compOnOff ()
void updateButtons ()
void leftCursor ()
void rightCursor ()
void backspaceKey ()
void delKey ()
void close ()

Private Member Functions

void init ()
void insertChar (QString c)
void moveUp ()
void moveDown ()
void moveLeft ()
void moveRight ()
UIKeyTypefindKey (QString keyName)

Private Attributes

QRect m_area
bool m_bInitalized
bool m_bCompTrap
QString m_comp1
UIKeyTypem_altKey
UIKeyTypem_lockKey
UIKeyTypem_shiftLKey
UIKeyTypem_shiftRKey
UIKeyTypem_focusedKey
UIKeyTypem_doneKey
QWidget * m_parentEdit
MythThemedDialogm_parentDialog
LayerSetm_container
KeyList m_keyList

Member Typedef Documentation

Definition at line 1483 of file uitypes.h.


Constructor & Destructor Documentation

UIKeyboardType::UIKeyboardType ( const QString &  name,
int  order 
)

Definition at line 5652 of file uitypes.cpp.

UIKeyboardType::~UIKeyboardType (  ) 

Definition at line 5668 of file uitypes.cpp.


Member Function Documentation

void UIKeyboardType::SetContainer ( LayerSet container  )  [inline]

Definition at line 1485 of file uitypes.h.

void UIKeyboardType::SetArea ( QRect &  area  )  [inline]

Definition at line 1486 of file uitypes.h.

Referenced by XMLParse::parseKeyboard().

void UIKeyboardType::SetEdit ( QWidget *  edit  )  [inline]

Definition at line 1487 of file uitypes.h.

Referenced by VirtualKeyboard::SwitchLayout().

void UIKeyboardType::SetParentDialog ( MythThemedDialog parentDialog  )  [inline]

Definition at line 1488 of file uitypes.h.

Referenced by VirtualKeyboard::SwitchLayout().

KeyList UIKeyboardType::GetKeys (  )  [inline]

Definition at line 1491 of file uitypes.h.

void UIKeyboardType::AddKey ( UIKeyType key  ) 

Definition at line 6143 of file uitypes.cpp.

Referenced by XMLParse::parseKeyboard().

void UIKeyboardType::Draw ( QPainter *  dr,
int  drawlayer,
int  context 
) [virtual]

Reimplemented from UIType.

Definition at line 5740 of file uitypes.cpp.

void UIKeyboardType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIType.

Definition at line 5757 of file uitypes.cpp.

Referenced by XMLParse::parseKeyboard().

void UIKeyboardType::keyPressEvent ( QKeyEvent *  e  )  [virtual]

Definition at line 6016 of file uitypes.cpp.

Referenced by VirtualKeyboard::keyPressEvent().

void UIKeyboardType::charKey (  )  [private, slot]

Definition at line 5871 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::lockOnOff (  )  [private, slot]

Definition at line 5936 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::shiftLOnOff (  )  [private, slot]

Definition at line 5986 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::shiftROnOff (  )  [private, slot]

Definition at line 6000 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::shiftOff (  )  [private, slot]

Definition at line 5955 of file uitypes.cpp.

Referenced by charKey().

void UIKeyboardType::altGrOnOff (  )  [private, slot]

Definition at line 5853 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::compOnOff (  )  [private, slot]

Definition at line 5865 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::updateButtons (  )  [private, slot]

Definition at line 5974 of file uitypes.cpp.

Referenced by altGrOnOff(), lockOnOff(), shiftLOnOff(), shiftOff(), and shiftROnOff().

void UIKeyboardType::leftCursor (  )  [private, slot]

Definition at line 5765 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::rightCursor (  )  [private, slot]

Definition at line 5787 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::backspaceKey (  )  [private, slot]

Definition at line 5809 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::delKey (  )  [private, slot]

Definition at line 5831 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::close ( void   )  [private, slot]

Definition at line 5966 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::init (  )  [private]

Definition at line 5674 of file uitypes.cpp.

Referenced by Draw().

void UIKeyboardType::insertChar ( QString  c  )  [private]

Definition at line 5880 of file uitypes.cpp.

Referenced by charKey().

void UIKeyboardType::moveUp (  )  [private]

Definition at line 6058 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveDown (  )  [private]

Definition at line 6076 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveLeft (  )  [private]

Definition at line 6094 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveRight (  )  [private]

Definition at line 6112 of file uitypes.cpp.

Referenced by keyPressEvent().

UIKeyType * UIKeyboardType::findKey ( QString  keyName  )  [private]

Definition at line 6130 of file uitypes.cpp.

Referenced by moveDown(), moveLeft(), moveRight(), and moveUp().


Member Data Documentation

QRect UIKeyboardType::m_area [private]

Definition at line 1522 of file uitypes.h.

Referenced by calculateScreenArea().

Definition at line 1524 of file uitypes.h.

Referenced by Draw(), init(), and UIKeyboardType().

Definition at line 1526 of file uitypes.h.

Referenced by compOnOff(), insertChar(), and UIKeyboardType().

QString UIKeyboardType::m_comp1 [private]

Definition at line 1527 of file uitypes.h.

Referenced by compOnOff(), insertChar(), and UIKeyboardType().

Definition at line 1530 of file uitypes.h.

Referenced by altGrOnOff(), init(), lockOnOff(), shiftLOnOff(), shiftOff(), shiftROnOff(), and UIKeyboardType().

Definition at line 1532 of file uitypes.h.

Referenced by altGrOnOff(), init(), lockOnOff(), shiftLOnOff(), shiftOff(), shiftROnOff(), and UIKeyboardType().

Definition at line 1534 of file uitypes.h.

Referenced by init(), moveDown(), moveLeft(), moveRight(), moveUp(), and UIKeyboardType().

QWidget* UIKeyboardType::m_parentEdit [private]

Definition at line 1537 of file uitypes.h.

Referenced by close(), and UIKeyboardType().

Definition at line 1539 of file uitypes.h.

Referenced by UIKeyboardType(), and ~UIKeyboardType().

Definition at line 1540 of file uitypes.h.

Referenced by AddKey(), findKey(), init(), and updateButtons().


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

Generated on Sat Dec 18 05:16:12 2010 for MythTV by  doxygen 1.5.5