• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
Note: This is a reduced mirror of the KDE API documentation hosted by Michael Pyne.
 

KDEUI

KCharSelectTable Class Reference

Character selection table. More...

#include <kcharselect_p.h>

Inheritance diagram for KCharSelectTable:

Inheritance graph
[legend]

List of all members.


Signals

void activated (const QChar &c)
void focusItemChanged (const QChar &c)
void showCharRequested (const QChar &c)

Public Member Functions

virtual QChar chr ()
QList< QChar > displayedChars () const
QFont font () const
 KCharSelectTable (QWidget *parent, const QFont &_font)
virtual void resizeEvent (QResizeEvent *)
virtual void scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible)
virtual void setChar (const QChar &c)
void setContents (QList< QChar > chars)
virtual void setFont (const QFont &_font)
 ~KCharSelectTable ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)

Detailed Description

Character selection table.

A table widget which displays the characters of a font. Internally used by KCharSelect. See the KCharSelect documentation for further details.

Author:
Reginald Stadlbauer <reggie@kde.org>

Daniel Laidig <d.laidig@gmx.de>

Definition at line 49 of file kcharselect_p.h.


Constructor & Destructor Documentation

KCharSelectTable::KCharSelectTable ( QWidget *  parent,
const QFont &  _font 
)

Constructor.

Using _font, draw a table of chars.

See also:
setContents

Definition at line 125 of file kcharselect.cpp.

KCharSelectTable::~KCharSelectTable (  ) 

Definition at line 151 of file kcharselect.cpp.


Member Function Documentation

void KCharSelectTable::activated ( const QChar &  c  )  [signal]

Emitted to indicate that character c is activated (such as by double-clicking it).

QChar KCharSelectTable::chr (  )  [virtual]

Returns:
Currently highlighted character.

Definition at line 164 of file kcharselect.cpp.

QList< QChar > KCharSelectTable::displayedChars (  )  const

Returns a list of currently displayed characters.

Definition at line 174 of file kcharselect.cpp.

void KCharSelectTable::focusItemChanged ( const QChar &  c  )  [signal]

QFont KCharSelectTable::font (  )  const

Returns the currently displayed font.

Definition at line 169 of file kcharselect.cpp.

void KCharSelectTable::keyPressEvent ( QKeyEvent *  e  )  [protected, virtual]

Reimplemented.

Definition at line 277 of file kcharselect.cpp.

void KCharSelectTable::resizeEvent ( QResizeEvent *  e  )  [virtual]

Reimplemented.

Definition at line 226 of file kcharselect.cpp.

void KCharSelectTable::scrollTo ( const QModelIndex &  index,
ScrollHint  hint = EnsureVisible 
) [virtual]

Reimplemented.

Definition at line 204 of file kcharselect.cpp.

void KCharSelectTable::setChar ( const QChar &  c  )  [virtual]

Set the highlighted character to c .

Definition at line 179 of file kcharselect.cpp.

void KCharSelectTable::setContents ( QList< QChar >  chars  ) 

Set the contents of the table to chars .

Definition at line 187 of file kcharselect.cpp.

void KCharSelectTable::setFont ( const QFont &  _font  )  [virtual]

Set the font to be displayed to _font .

Definition at line 156 of file kcharselect.cpp.

void KCharSelectTable::showCharRequested ( const QChar &  c  )  [signal]


The documentation for this class was generated from the following files:
  • kcharselect_p.h
  • kcharselect.cpp

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

Class Picker

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  •     Sodep
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.9
This website is maintained by Michael Pyne, and is a reduced mirror of the KDE API docs. KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal