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

KeycodeConfig Class Reference

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

Inheritance diagram for KeycodeConfig:

Inheritance graph
[legend]
Collaboration diagram for KeycodeConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeycodeConfig (PickboardPicks *p)
void addKey (int r, const QPixmap &pm, int code)
void addGap (int r, int w)
void draw (QPainter *p)

Protected Member Functions

void pickInRow (int r, int xpos, bool press)
QValueList< QPixmap > row (int i)
void pick (bool press, int row, int item)

Private Types

enum  { xw = 8, xmarg = 8 }

Private Attributes

QValueList< int > keys1
QValueList< int > keys2
QValueList< QPixmap > keypm1
QValueList< QPixmap > keypm2

Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
xw 
xmarg 

Definition at line 201 of file pickboardcfg.h.


Constructor & Destructor Documentation

KeycodeConfig::KeycodeConfig PickboardPicks p  )  [inline]
 

Definition at line 204 of file pickboardcfg.h.


Member Function Documentation

void KeycodeConfig::addGap int  r,
int  w
 

Definition at line 662 of file pickboardcfg.cpp.

References addKey().

Referenced by PickboardPicks::initialise().

void KeycodeConfig::addKey int  r,
const QPixmap &  pm,
int  code
 

Definition at line 652 of file pickboardcfg.cpp.

References QValueList< T >::append(), keypm1, keypm2, keys1, and keys2.

Referenced by addGap(), and PickboardPicks::initialise().

void KeycodeConfig::draw QPainter *  p  )  [virtual]
 

Implements PickboardConfig.

Definition at line 631 of file pickboardcfg.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), PickboardConfig::nrows, PickboardConfig::parent, row(), Opie::MM::x, xmarg, xw, and Opie::MM::y.

void KeycodeConfig::pick bool  press,
int  row,
int  item
[protected, virtual]
 

Implements PickboardConfig.

Definition at line 618 of file pickboardcfg.cpp.

References PickboardConfig::changeMode(), PickboardConfig::generateKey(), keys1, keys2, and PickboardConfig::updateRows().

Referenced by pickInRow().

void KeycodeConfig::pickInRow int  r,
int  xpos,
bool  press
[protected, virtual]
 

Implements PickboardConfig.

Definition at line 599 of file pickboardcfg.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), pick(), row(), Opie::MM::x, xmarg, and xw.

QValueList< QPixmap > KeycodeConfig::row int  i  )  [protected]
 

Definition at line 594 of file pickboardcfg.cpp.

References keypm1, and keypm2.

Referenced by draw(), and pickInRow().


Member Data Documentation

QValueList<QPixmap> KeycodeConfig::keypm1 [private]
 

Definition at line 199 of file pickboardcfg.h.

Referenced by addKey(), and row().

QValueList<QPixmap> KeycodeConfig::keypm2 [private]
 

Definition at line 200 of file pickboardcfg.h.

Referenced by addKey(), and row().

QValueList<int> KeycodeConfig::keys1 [private]
 

Definition at line 197 of file pickboardcfg.h.

Referenced by addKey(), and pick().

QValueList<int> KeycodeConfig::keys2 [private]
 

Definition at line 198 of file pickboardcfg.h.

Referenced by addKey(), and pick().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:37:32 2005 for OPIE by  doxygen 1.4.2