• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

Defines | Functions | Variables

kcolorcombo.cpp File Reference

#include "kcolorcombo.h"
#include <QtGui/QAbstractItemDelegate>
#include <QtGui/QApplication>
#include <QtGui/QStylePainter>
#include <klocale.h>
#include "kcolordialog.h"
#include "kcolorcombo.moc"
Include dependency graph for kcolorcombo.cpp:

Go to the source code of this file.

Defines

#define STANDARD_PALETTE_SIZE   (int(sizeof(standardPalette) / sizeof(*standardPalette)))

Functions

static QBrush k_colorcombodelegate_brush (const QModelIndex &index, int role)
static QColor standardColor (int i)

Variables

static const uchar standardPalette [][4]

Define Documentation

#define STANDARD_PALETTE_SIZE   (int(sizeof(standardPalette) / sizeof(*standardPalette)))

Definition at line 168 of file kcolorcombo.cpp.


Function Documentation

static QBrush k_colorcombodelegate_brush ( const QModelIndex &  index,
int  role 
) [static]

Definition at line 50 of file kcolorcombo.cpp.

static QColor standardColor ( int  i) [inline, static]

Definition at line 170 of file kcolorcombo.cpp.


Variable Documentation

const uchar standardPalette[][4] [static]
Initial value:
 {
    { 255, 255, 255 }, 
    { 192, 192, 192 }, 
    { 160, 160, 160 }, 
    { 128, 128, 128 }, 
    { 0, 0, 0 }, 

    { 255, 128, 128 }, 
    { 255, 192, 128 }, 
    { 255, 255, 128 }, 
    { 128, 255, 128 }, 
    { 128, 255, 255 }, 
    { 128, 128, 255 }, 
    { 255, 128, 255 }, 
    { 255, 0, 0 }, 
    { 255, 128, 0 }, 
    { 255, 255, 0 }, 
    { 0, 255, 0 }, 
    { 0, 255, 255 }, 
    { 0, 0, 255 }, 
    { 255, 0, 255 }, 
    { 128, 0, 0 }, 
    { 128, 64, 0 }, 
    { 128, 128, 0 }, 
    { 0, 128, 0 }, 
    { 0, 128, 128 }, 
    { 0, 0, 128 }, 
    { 128, 0, 128 } 
}

Definition at line 138 of file kcolorcombo.cpp.

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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