UIKeyboardType Class Reference

#include <uitypes.h>

Inheritance diagram for UIKeyboardType:
UIType

List of all members.

Public Types

typedef QList< UIKeyType * > KeyList

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

Detailed Description

Definition at line 237 of file uitypes.h.


Member Typedef Documentation

Definition at line 245 of file uitypes.h.


Constructor & Destructor Documentation

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

Definition at line 610 of file uitypes.cpp.

UIKeyboardType::~UIKeyboardType (  ) 

Definition at line 626 of file uitypes.cpp.


Member Function Documentation

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

Definition at line 247 of file uitypes.h.

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

Definition at line 248 of file uitypes.h.

Referenced by XMLParse::parseKeyboard().

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

Definition at line 249 of file uitypes.h.

Referenced by VirtualKeyboardQt::SwitchLayout().

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

Definition at line 250 of file uitypes.h.

Referenced by VirtualKeyboardQt::SwitchLayout().

KeyList UIKeyboardType::GetKeys (  )  [inline]

Definition at line 253 of file uitypes.h.

void UIKeyboardType::AddKey ( UIKeyType key  ) 

Definition at line 1110 of file uitypes.cpp.

Referenced by XMLParse::parseKeyboard().

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

Reimplemented from UIType.

Definition at line 699 of file uitypes.cpp.

void UIKeyboardType::calculateScreenArea (  )  [virtual]

Reimplemented from UIType.

Definition at line 716 of file uitypes.cpp.

Referenced by XMLParse::parseKeyboard().

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

Definition at line 984 of file uitypes.cpp.

Referenced by VirtualKeyboardQt::keyPressEvent().

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

Definition at line 836 of file uitypes.cpp.

Referenced by init().

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

Definition at line 906 of file uitypes.cpp.

Referenced by init().

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

Definition at line 954 of file uitypes.cpp.

Referenced by init().

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

Definition at line 968 of file uitypes.cpp.

Referenced by init().

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

Definition at line 925 of file uitypes.cpp.

Referenced by charKey().

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

Definition at line 818 of file uitypes.cpp.

Referenced by init().

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

Definition at line 830 of file uitypes.cpp.

Referenced by init().

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

Definition at line 944 of file uitypes.cpp.

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

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

Definition at line 724 of file uitypes.cpp.

Referenced by init().

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

Definition at line 748 of file uitypes.cpp.

Referenced by init().

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

Definition at line 772 of file uitypes.cpp.

Referenced by init().

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

Definition at line 795 of file uitypes.cpp.

Referenced by init().

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

Definition at line 936 of file uitypes.cpp.

Referenced by init().

void UIKeyboardType::init (  )  [private]

Definition at line 632 of file uitypes.cpp.

Referenced by Draw().

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

Definition at line 845 of file uitypes.cpp.

Referenced by charKey().

void UIKeyboardType::moveUp (  )  [private]

Definition at line 1027 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveDown (  )  [private]

Definition at line 1045 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveLeft (  )  [private]

Definition at line 1063 of file uitypes.cpp.

Referenced by keyPressEvent().

void UIKeyboardType::moveRight (  )  [private]

Definition at line 1081 of file uitypes.cpp.

Referenced by keyPressEvent().

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

Definition at line 1099 of file uitypes.cpp.

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


Member Data Documentation

QRect UIKeyboardType::m_area [private]

Definition at line 284 of file uitypes.h.

Referenced by calculateScreenArea().

Definition at line 286 of file uitypes.h.

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

Definition at line 288 of file uitypes.h.

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

QString UIKeyboardType::m_comp1 [private]

Definition at line 289 of file uitypes.h.

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

Definition at line 292 of file uitypes.h.

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

Definition at line 294 of file uitypes.h.

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

Definition at line 296 of file uitypes.h.

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

QWidget* UIKeyboardType::m_parentEdit [private]

Definition at line 299 of file uitypes.h.

Referenced by close(), and UIKeyboardType().

Definition at line 301 of file uitypes.h.

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

Definition at line 302 of file uitypes.h.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:30 2012 for MythTV by  doxygen 1.6.3