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

kdeui

KColorCombo Class Reference

Combobox for colors. More...

#include <kcolorcombo.h>

Inheritance diagram for KColorCombo:

Inheritance graph
[legend]

List of all members.


Signals

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

Public Member Functions

QColor color () const
 KColorCombo (QWidget *parent, const char *name=0L)
void setColor (const QColor &col)
void showEmptyList ()
 ~KColorCombo ()

Protected Member Functions

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

Properties

QColor color

Detailed Description

Combobox for colors.

Definition at line 39 of file kcolorcombo.h.


Constructor & Destructor Documentation

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

Constructs a color combo box.

Definition at line 111 of file kcolorcombo.cpp.

KColorCombo::~KColorCombo (  ) 

Definition at line 129 of file kcolorcombo.cpp.


Member Function Documentation

void KColorCombo::activated ( const QColor &  col  )  [signal]

Emitted when a new color box has been selected.

QColor KColorCombo::color (  )  const

Returns the currently selected color.

void KColorCombo::highlighted ( const QColor &  col  )  [signal]

Emitted when a new item has been highlighted.

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

Definition at line 151 of file kcolorcombo.cpp.

void KColorCombo::setColor ( const QColor &  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.

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

Definition at line 261 of file kcolorcombo.cpp.


Property Documentation

QColor KColorCombo::color [read, write]

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

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