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

tdeui

Signals | Public Member Functions | Protected Member Functions | List of all members
KColorPatch Class Reference

#include <kcolordialog.h>

Inherits TQFrame.

Signals

void colorChanged (const TQColor &)
 

Public Member Functions

 KColorPatch (TQWidget *parent)
 
void setColor (const TQColor &col)
 

Protected Member Functions

virtual void drawContents (TQPainter *painter)
 
virtual void mouseMoveEvent (TQMouseEvent *)
 
virtual void dragEnterEvent (TQDragEnterEvent *)
 
virtual void dropEvent (TQDropEvent *)
 
virtual void virtual_hook (int id, void *data)
 

Detailed Description

A color displayer.

The KColorPatch widget is a (usually small) widget showing a selected color e. g. in the KColorDialog. It automatically handles drag and drop from and on the widget.

Definition at line 311 of file kcolordialog.h.

Constructor & Destructor Documentation

◆ KColorPatch()

KColorPatch::KColorPatch ( TQWidget *  parent)

Definition at line 497 of file kcolordialog.cpp.

◆ ~KColorPatch()

KColorPatch::~KColorPatch ( )
virtual

Definition at line 504 of file kcolordialog.cpp.

Member Function Documentation

◆ dragEnterEvent()

void KColorPatch::dragEnterEvent ( TQDragEnterEvent *  event)
protectedvirtual

Definition at line 541 of file kcolordialog.cpp.

◆ drawContents()

void KColorPatch::drawContents ( TQPainter *  painter)
protectedvirtual

Definition at line 526 of file kcolordialog.cpp.

◆ dropEvent()

void KColorPatch::dropEvent ( TQDropEvent *  event)
protectedvirtual

Definition at line 546 of file kcolordialog.cpp.

◆ mouseMoveEvent()

void KColorPatch::mouseMoveEvent ( TQMouseEvent *  e)
protectedvirtual

Definition at line 533 of file kcolordialog.cpp.

◆ setColor()

void KColorPatch::setColor ( const TQColor &  col)

Definition at line 510 of file kcolordialog.cpp.

◆ virtual_hook()

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

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