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

kdeui

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

#include <kcolorcombo.h>

Inherits TQComboBox.

Signals

void activated (const TQColor &col)
 
void highlighted (const TQColor &col)
 

Public Member Functions

 KColorCombo (TQWidget *parent, const char *name=0L)
 
void setColor (const TQColor &col)
 
TQColor color () const
 
void showEmptyList ()
 

Protected Member Functions

virtual void resizeEvent (TQResizeEvent *re)
 
virtual void virtual_hook (int id, void *data)
 

Properties

TQColor color
 

Detailed Description

Combobox for colors.

Definition at line 39 of file kcolorcombo.h.

Constructor & Destructor Documentation

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

Constructs a color combo box.

Definition at line 111 of file kcolorcombo.cpp.

Member Function Documentation

void KColorCombo::activated ( const TQColor &  col)
signal

Emitted when a new color box has been selected.

TQColor KColorCombo::color ( ) const

Returns the currently selected color.

void KColorCombo::highlighted ( const TQColor &  col)
signal

Emitted when a new item has been highlighted.

void KColorCombo::setColor ( const TQColor &  col)

Selects the color col.

Sets the current color.

Definition at line 136 of file kcolorcombo.cpp.

void KColorCombo::showEmptyList ( )

Clear the color list and don't show it, till the next setColor() call.

Show an empty list, till the next color is set with setColor.

Definition at line 161 of file kcolorcombo.cpp.

Property Documentation

TQColor KColorCombo::color
readwrite

Returns the currently selected color.

Definition at line 42 of file kcolorcombo.h.


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

kdeui

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

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |