• 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
KValueSelector Class Reference

#include <kcolordialog.h>

Inheritance diagram for KValueSelector:
TDESelector

Public Member Functions

 KValueSelector (TQWidget *parent=0, const char *name=0)
 
 KValueSelector (Orientation o, TQWidget *parent=0, const char *name=0)
 
int hue () const
 
void setHue (int h)
 
int saturation () const
 
void setSaturation (int s)
 
void updateContents ()
 
- Public Member Functions inherited from TDESelector
 TDESelector (TQWidget *parent=0, const char *name=0)
 
 TDESelector (Orientation o, TQWidget *parent=0L, const char *name=0L)
 
Orientation orientation () const
 
TQRect contentsRect () const
 
void setIndent (bool i)
 
bool indent () const
 
void setValue (int value)
 
int value () const
 
void setMinValue (int value)
 
int minValue () const
 
void setMaxValue (int value)
 
int maxValue () 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 TDESelector
virtual void drawContents (TQPainter *)
 
virtual void drawArrow (TQPainter *painter, bool show, const TQPoint &pos)
 
virtual void valueChange ()
 
virtual void paintEvent (TQPaintEvent *)
 
virtual void mousePressEvent (TQMouseEvent *e)
 
virtual void mouseMoveEvent (TQMouseEvent *e)
 
virtual void wheelEvent (TQWheelEvent *)
 
virtual void virtual_hook (int id, void *data)
 

Additional Inherited Members

- Signals inherited from TDESelector
void valueChanged (int value)
 

Detailed Description

Widget for color value selection.

See also
KHSSelector, KColorDialog
Author
Martin Jones (mjone.nosp@m.s@kd.nosp@m.e.org)

Definition at line 102 of file kcolordialog.h.

Constructor & Destructor Documentation

◆ KValueSelector() [1/2]

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

Constructs a widget for color selection.

Definition at line 265 of file kcolordialog.cpp.

◆ KValueSelector() [2/2]

KValueSelector::KValueSelector ( Orientation  o,
TQWidget *  parent = 0,
const char *  name = 0 
)

Constructs a widget for color selection with a given orientation.

Definition at line 272 of file kcolordialog.cpp.

Member Function Documentation

◆ drawContents()

void KValueSelector::drawContents ( TQPainter *  painter)
protectedvirtual

Reimplemented from TDESelector.

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

Reimplemented from TDESelector.

Definition at line 290 of file kcolordialog.cpp.

◆ drawPalette()

void KValueSelector::drawPalette ( TQPixmap *  pixmap)
protectedvirtual

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

Definition at line 295 of file kcolordialog.cpp.

◆ hue()

int KValueSelector::hue ( ) const
inline

Definition at line 116 of file kcolordialog.h.

◆ resizeEvent()

void KValueSelector::resizeEvent ( TQResizeEvent *  )
protectedvirtual

Definition at line 285 of file kcolordialog.cpp.

◆ saturation()

int KValueSelector::saturation ( ) const
inline

Definition at line 120 of file kcolordialog.h.

◆ setHue()

void KValueSelector::setHue ( int  h)
inline

Definition at line 118 of file kcolordialog.h.

◆ setSaturation()

void KValueSelector::setSaturation ( int  s)
inline

Definition at line 122 of file kcolordialog.h.

◆ updateContents()

void KValueSelector::updateContents ( )

Definition at line 280 of file kcolordialog.cpp.

◆ virtual_hook()

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

Reimplemented from TDESelector.

Definition at line 1599 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.