class KKeyButton

A push button that looks like a keyboard key. More...

Internal Use Only
Definition#include <kkeybutton.h>
InheritsQPushButton (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Protected Methods


Detailed Description

A push button that looks like a keyboard key.

 KKeyButton ( QWidget *parent=0, const char *name=0 )

KKeyButton

Constructs a key button widget.

 ~KKeyButton ()

~KKeyButton

Destructs the key button widget.

void  setKey ( uint key )

setKey

uint  getKey ()

getKey

void  setText ( const QString& text )

setText

Reimplemented for internal purposes.

void  captureKey ( bool bCapture )

captureKey

Sets the widget into editing mode or not. In editing mode, the widget has a different look.

bool  isCapturing ()

isCapturing

[const]

Returns: whether the widget is in editing mode.

void  capturedKey ( uint key )

capturedKey

[signal]

void  captureKey ()

captureKey

[slot]

bool  x11Event ( XEvent *pEvent )

x11Event

[protected virtual]

void  keyPressEventX ( XEvent *pEvent )

keyPressEventX

[protected]

void  drawButton ( QPainter* _painter )

drawButton

[protected]

Reimplemented for internal reasons.

Reimplemented from QPushButton.