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

FunctionKeyboardConfig Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-console/function_keyboard.h>

Inheritance diagram for FunctionKeyboardConfig:

Inheritance graph
[legend]
Collaboration diagram for FunctionKeyboardConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FunctionKeyboardConfig (const QString &name, QWidget *wid, const char *name=0l)
 ~FunctionKeyboardConfig ()
void load (const Profile &)
void save (Profile &)

Private Slots

void slotKeyPressed (FKey, ushort, ushort, bool)
void slotChangeRows (int)
void slotChangeCols (int)
void slotChangeIcon (int)
void slotChangeLabelText (const QString &)
void slotChangeQCode (const QString &)
void slotChangeUnicode (const QString &)

Private Attributes

QString selectedHandle
ushort selectedRow
ushort selectedCol
FunctionKeyboardkb
QSpinBox * m_rowBox
QSpinBox * m_colBox
QComboBox * m_labels
QComboBox * m_qvalues
QComboBox * m_uniValues

Constructor & Destructor Documentation

FunctionKeyboardConfig::FunctionKeyboardConfig const QString name,
QWidget *  wid,
const char *  name = 0l
 

Definition at line 255 of file function_keyboard.cpp.

References QValueList< T >::count(), Qt::Horizontal, i, kb, l, Opie::Core::OResource::loadPixmap(), m_colBox, m_labels, m_qvalues, m_rowBox, m_uniValues, QPEApplication::qpeDir(), slotChangeCols(), slotChangeIcon(), slotChangeLabelText(), slotChangeQCode(), slotChangeRows(), slotChangeUnicode(), slotKeyPressed(), and tr.

FunctionKeyboardConfig::~FunctionKeyboardConfig  ) 
 

Definition at line 304 of file function_keyboard.cpp.


Member Function Documentation

void FunctionKeyboardConfig::load const Profile  )  [virtual]
 

Implements ProfileDialogWidget.

Definition at line 307 of file function_keyboard.cpp.

References QMap< Key, T >::clear(), i, QString::isEmpty(), kb, FunctionKeyboard::keys, l, FunctionKeyboard::loadDefaults(), Opie::Core::OResource::loadPixmap(), m_colBox, m_rowBox, QString::number(), Profile::readEntry(), Profile::readNumEntry(), QStringList::split(), and TRUE.

void FunctionKeyboardConfig::save Profile  )  [virtual]
 

Implements ProfileDialogWidget.

Definition at line 336 of file function_keyboard.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::end(), kb, FunctionKeyboard::keys, FKey::label, m_colBox, m_rowBox, QString::number(), FKey::pixFile, FKey::qcode, FKey::unicode, and Profile::writeEntry().

void FunctionKeyboardConfig::slotChangeCols int   )  [private, slot]
 

Definition at line 360 of file function_keyboard.cpp.

References FunctionKeyboard::changeCols(), and kb.

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotChangeIcon int   )  [private, slot]
 

Definition at line 388 of file function_keyboard.cpp.

References kb, FunctionKeyboard::keys, Opie::Core::OResource::loadPixmap(), m_labels, FunctionKeyboard::paintKey(), selectedCol, selectedHandle, and selectedRow.

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotChangeLabelText const QString  )  [private, slot]
 

Definition at line 409 of file function_keyboard.cpp.

References kb, FunctionKeyboard::keys, FunctionKeyboard::paintKey(), selectedCol, selectedHandle, and selectedRow.

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotChangeQCode const QString  )  [private, slot]
 

Definition at line 415 of file function_keyboard.cpp.

References kb, FunctionKeyboard::keys, and selectedHandle.

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotChangeRows int   )  [private, slot]
 

Definition at line 355 of file function_keyboard.cpp.

References FunctionKeyboard::changeRows(), and kb.

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotChangeUnicode const QString  )  [private, slot]
 

Definition at line 419 of file function_keyboard.cpp.

References kb, FunctionKeyboard::keys, selectedHandle, and QString::toUInt().

Referenced by FunctionKeyboardConfig().

void FunctionKeyboardConfig::slotKeyPressed FKey  ,
ushort  ,
ushort  ,
bool 
[private, slot]
 

Definition at line 364 of file function_keyboard.cpp.

References kb, FunctionKeyboard::keys, m_labels, m_qvalues, m_uniValues, QString::number(), selectedCol, selectedHandle, and selectedRow.

Referenced by FunctionKeyboardConfig().


Member Data Documentation

FunctionKeyboard* FunctionKeyboardConfig::kb [private]
 

Definition at line 107 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), load(), save(), slotChangeCols(), slotChangeIcon(), slotChangeLabelText(), slotChangeQCode(), slotChangeRows(), slotChangeUnicode(), and slotKeyPressed().

QSpinBox * FunctionKeyboardConfig::m_colBox [private]
 

Definition at line 108 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), load(), and save().

QComboBox* FunctionKeyboardConfig::m_labels [private]
 

Definition at line 109 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), slotChangeIcon(), and slotKeyPressed().

QComboBox * FunctionKeyboardConfig::m_qvalues [private]
 

Definition at line 109 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), and slotKeyPressed().

QSpinBox* FunctionKeyboardConfig::m_rowBox [private]
 

Definition at line 108 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), load(), and save().

QComboBox * FunctionKeyboardConfig::m_uniValues [private]
 

Definition at line 109 of file function_keyboard.h.

Referenced by FunctionKeyboardConfig(), and slotKeyPressed().

ushort FunctionKeyboardConfig::selectedCol [private]
 

Definition at line 105 of file function_keyboard.h.

Referenced by slotChangeIcon(), slotChangeLabelText(), and slotKeyPressed().

QString FunctionKeyboardConfig::selectedHandle [private]
 

Definition at line 104 of file function_keyboard.h.

Referenced by slotChangeIcon(), slotChangeLabelText(), slotChangeQCode(), slotChangeUnicode(), and slotKeyPressed().

ushort FunctionKeyboardConfig::selectedRow [private]
 

Definition at line 105 of file function_keyboard.h.

Referenced by slotChangeIcon(), slotChangeLabelText(), and slotKeyPressed().


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