Logo Search packages:      
Sourcecode: ktechlab version File versions

ColorCombo Class Reference

#include <colorcombo.h>

List of all members.


Detailed Description

Based on KColorCombo, Copyright (C) 1997 Martin Jones (mjones@kde.org). Allows which colours are displayed to be changed.

Author:
David Saxton

Definition at line 23 of file colorcombo.h.


Public Types

enum  ColorScheme { QtStandard = 0, LED = 1, NumberOfSchemes = 2 }

Signals

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

Public Member Functions

QColor color () const
 ColorCombo (ColorScheme colorScheme, QWidget *parent, const char *name=0L)
void setColor (const QColor &col)

Protected Slots

void slotActivated (int index)
void slotHighlighted (int index)

Protected Member Functions

void addColors ()
void createPalettes ()
virtual void resizeEvent (QResizeEvent *re)

Protected Attributes

QColor customColor
QColor internalColor
ColorScheme m_colorScheme

Static Protected Attributes

static bool createdPalettes = false
static QColor * palette [NumberOfSchemes]
static int paletteSize [NumberOfSchemes]

Properties

QColor color

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index