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

KDEUI

  • sources
  • kde-4.12
  • kdelibs
  • kdeui
  • colors
Macros | 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.

Macros

#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]
 

Macro Definition 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)
inlinestatic

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.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal