• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KHSSelector Class Reference

Widget for Hue/Saturation colour selection. More...

#include <kcolordialog.h>

Inheritance diagram for KHSSelector:

Inheritance graph
[legend]

List of all members.


Public Member Functions

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

Protected Member Functions

virtual void drawContents (QPainter *painter)
virtual void drawPalette (QPixmap *pixmap)
virtual void resizeEvent (QResizeEvent *)
virtual void virtual_hook (int id, void *data)

Detailed Description

Widget for Hue/Saturation colour selection.

The actual values can be fetched using the inherited xValue and yValue methods.

khsselector.png

KDE Hue/Saturation Selection Widget

See also:
KXYSelector, KValueSelector, KColorDialog
Author:
Martin Jones (mjones@kde.org)

Definition at line 58 of file kcolordialog.h.


Constructor & Destructor Documentation

KHSSelector::KHSSelector ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructs a hue/saturation selection widget.

Definition at line 211 of file kcolordialog.cpp.


Member Function Documentation

void KHSSelector::drawContents ( QPainter *  painter  )  [protected, virtual]

Reimplemented from KXYSelector.

This drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used.

Reimplemented from KXYSelector.

Definition at line 227 of file kcolordialog.cpp.

void KHSSelector::drawPalette ( QPixmap *  pixmap  )  [protected, virtual]

Draws the contents of the widget on a pixmap, which is used for buffering.

Definition at line 232 of file kcolordialog.cpp.

void KHSSelector::resizeEvent ( QResizeEvent *   )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 222 of file kcolordialog.cpp.

void KHSSelector::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Reimplemented from KXYSelector.

Definition at line 1596 of file kcolordialog.cpp.


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

kdeui

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal