Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KeyboardInput::Keyboard Class Reference

#include </home/clem/local/src/opie/inputmethods/keyboard/keyboard.h>

Collaboration diagram for KeyboardInput::Keyboard:

Collaboration graph
[legend]
List of all members.

Signals

void key (ushort scancode, ushort unicode, ushort modifiers, bool, bool)

Public Member Functions

 Keyboard (QWidget *parent=0, const char *name=0, WFlags f=0)
void resetState ()
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void resizeEvent (QResizeEvent *)
void paintEvent (QPaintEvent *e)
void timerEvent (QTimerEvent *e)
void drawKeyboard (QPainter &p, int key=-1)
void setMode (int mode)
QSize sizeHint () const

Private Slots

void repeat ()

Private Member Functions

int getKey (int &w, int j=-1)
void clearHighlight ()

Private Attributes

uint shift:1
uint lock:1
uint ctrl:1
uint alt:1
uint useLargeKeys:1
uint useOptiKeys:1
int pressedKey
KeyboardPickspicks
int keyHeight
int defaultKeyWidth
int xoffs
int unicode
int qkeycode
int modifiers
int pressTid
bool pressed
QTimer * repeatTimer

Constructor & Destructor Documentation

KeyboardInput::Keyboard::Keyboard QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 


Member Function Documentation

void KeyboardInput::Keyboard::clearHighlight  )  [private]
 

void KeyboardInput::Keyboard::drawKeyboard QPainter &  p,
int  key = -1
 

int KeyboardInput::Keyboard::getKey int &  w,
int  j = -1
[private]
 

void KeyboardInput::Keyboard::key ushort  scancode,
ushort  unicode,
ushort  modifiers,
bool  ,
bool 
[signal]
 

void KeyboardInput::Keyboard::mousePressEvent QMouseEvent *   ) 
 

void KeyboardInput::Keyboard::mouseReleaseEvent QMouseEvent *   ) 
 

void KeyboardInput::Keyboard::paintEvent QPaintEvent *  e  ) 
 

void KeyboardInput::Keyboard::repeat  )  [private, slot]
 

void KeyboardInput::Keyboard::resetState  ) 
 

void KeyboardInput::Keyboard::resizeEvent QResizeEvent *   ) 
 

void KeyboardInput::Keyboard::setMode int  mode  )  [inline]
 

Definition at line 68 of file keyboard.h.

References useOptiKeys.

QSize KeyboardInput::Keyboard::sizeHint  )  const
 

void KeyboardInput::Keyboard::timerEvent QTimerEvent *  e  ) 
 


Member Data Documentation

uint KeyboardInput::Keyboard::alt [private]
 

Definition at line 85 of file keyboard.h.

uint KeyboardInput::Keyboard::ctrl [private]
 

Definition at line 84 of file keyboard.h.

int KeyboardInput::Keyboard::defaultKeyWidth [private]
 

Definition at line 94 of file keyboard.h.

int KeyboardInput::Keyboard::keyHeight [private]
 

Definition at line 93 of file keyboard.h.

uint KeyboardInput::Keyboard::lock [private]
 

Definition at line 83 of file keyboard.h.

int KeyboardInput::Keyboard::modifiers [private]
 

Definition at line 99 of file keyboard.h.

KeyboardPicks* KeyboardInput::Keyboard::picks [private]
 

Definition at line 91 of file keyboard.h.

bool KeyboardInput::Keyboard::pressed [private]
 

Definition at line 102 of file keyboard.h.

int KeyboardInput::Keyboard::pressedKey [private]
 

Definition at line 89 of file keyboard.h.

int KeyboardInput::Keyboard::pressTid [private]
 

Definition at line 101 of file keyboard.h.

int KeyboardInput::Keyboard::qkeycode [private]
 

Definition at line 98 of file keyboard.h.

QTimer* KeyboardInput::Keyboard::repeatTimer [private]
 

Definition at line 104 of file keyboard.h.

uint KeyboardInput::Keyboard::shift [private]
 

Definition at line 82 of file keyboard.h.

int KeyboardInput::Keyboard::unicode [private]
 

Definition at line 97 of file keyboard.h.

uint KeyboardInput::Keyboard::useLargeKeys [private]
 

Definition at line 86 of file keyboard.h.

uint KeyboardInput::Keyboard::useOptiKeys [private]
 

Definition at line 87 of file keyboard.h.

Referenced by setMode().

int KeyboardInput::Keyboard::xoffs [private]
 

Definition at line 95 of file keyboard.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:59:04 2005 for OPIE by  doxygen 1.4.2