[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project

KLFColorList Class Reference

#include <klfcolorchooser_p.h>

Inheritance diagram for KLFColorList:

Inheritance graph
[legend]
Collaboration diagram for KLFColorList:

Collaboration graph
[legend]

List of all members.

Public Slots

void setMaxSize (int maxsize)
void addColor (const QColor &color)
void removeColor (const QColor &color)
void notifyListChanged ()

Signals

void listChanged ()

Public Member Functions

 KLFColorList (int maxsize)
int maxSize () const

Public Attributes

QList< QColor > list

Properties

int maxSize


Detailed Description

Definition at line 32 of file klfcolorchooser_p.h.


Constructor & Destructor Documentation

KLFColorList::KLFColorList ( int  maxsize  )  [inline]

Definition at line 38 of file klfcolorchooser_p.h.


Member Function Documentation

int KLFColorList::maxSize (  )  const [inline]

Definition at line 40 of file klfcolorchooser_p.h.

void KLFColorList::listChanged (  )  [signal]

Referenced by addColor(), and removeColor().

void KLFColorList::setMaxSize ( int  maxsize  )  [inline, slot]

Definition at line 48 of file klfcolorchooser_p.h.

void KLFColorList::addColor ( const QColor &  color  )  [slot]

void KLFColorList::removeColor ( const QColor &  color  )  [slot]

Definition at line 688 of file klfcolorchooser.cpp.

References QList::indexOf(), list, listChanged(), and QList::removeAt().

void KLFColorList::notifyListChanged (  )  [inline, slot]


Member Data Documentation


Property Documentation

int KLFColorList::maxSize [read, write]

Definition at line 36 of file klfcolorchooser_p.h.


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

Generated by doxygen 1.5.6