• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Member Functions | Protected Member Functions | List of all members
KHSSelector Class Reference

#include <kcolordialog.h>

Inheritance diagram for KHSSelector:
KXYSelector

Public Member Functions

 KHSSelector (TQWidget *parent=0, const char *name=0)
 
- Public Member Functions inherited from KXYSelector
 KXYSelector (TQWidget *parent=0, const char *name=0)
 
 ~KXYSelector ()
 
void setValues (int xPos, int yPos)
 
void setXValue (int xPos)
 
void setYValue (int yPos)
 
void setRange (int minX, int minY, int maxX, int maxY)
 
int xValue () const
 
int yValue () const
 
TQRect contentsRect () const
 

Protected Member Functions

virtual void drawPalette (TQPixmap *pixmap)
 
virtual void resizeEvent (TQResizeEvent *)
 
virtual void drawContents (TQPainter *painter)
 
virtual void virtual_hook (int id, void *data)
 
- Protected Member Functions inherited from KXYSelector
virtual void drawContents (TQPainter *)
 
virtual void drawCursor (TQPainter *p, int xp, int yp)
 
virtual void paintEvent (TQPaintEvent *e)
 
virtual void mousePressEvent (TQMouseEvent *e)
 
virtual void mouseMoveEvent (TQMouseEvent *e)
 
virtual void wheelEvent (TQWheelEvent *)
 
void valuesFromPosition (int x, int y, int &xVal, int &yVal) const
 
virtual void virtual_hook (int id, void *data)
 

Additional Inherited Members

- Signals inherited from KXYSelector
void valueChanged (int x, int y)
 

Detailed Description

Widget for Hue/Saturation colour selection.

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

KDE Hue/Saturation Selection Widget
See also
KXYSelector, KValueSelector, KColorDialog
Author
Martin Jones (mjone.nosp@m.s@kd.nosp@m.e.org)

Definition at line 58 of file kcolordialog.h.

Constructor & Destructor Documentation

◆ KHSSelector()

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

Constructs a hue/saturation selection widget.

Definition at line 214 of file kcolordialog.cpp.

Member Function Documentation

◆ drawContents()

void KHSSelector::drawContents ( TQPainter *  painter)
protectedvirtual

Reimplemented from KXYSelector.

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

Reimplemented from KXYSelector.

Definition at line 230 of file kcolordialog.cpp.

◆ drawPalette()

void KHSSelector::drawPalette ( TQPixmap *  pixmap)
protectedvirtual

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

Definition at line 235 of file kcolordialog.cpp.

◆ resizeEvent()

void KHSSelector::resizeEvent ( TQResizeEvent *  )
protectedvirtual

Definition at line 225 of file kcolordialog.cpp.

◆ virtual_hook()

void KHSSelector::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.