Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
ColorButton Class Reference

#include </tmp/quassel/src/uisupport/colorbutton.h>

Signals

void colorChanged (const QColor &)

Public Member Functions

 ColorButton (QWidget *parent=0)
 ColorButton (const QColor &c, QWidget *parent=0)
void setColor (const QColor &color)
QColor color () const

Properties

QColor color

Private Slots

void chooseColor ()

Private Attributes

QColor _color

Detailed Description

Definition at line 26 of file colorbutton.h.

Constructor & Destructor Documentation

ColorButton ( QWidget *  parent = 0)
explicit

Definition at line 33 of file colorbutton.cpp.

References chooseColor().

ColorButton ( const QColor &  c,
QWidget *  parent = 0 
)
explicit

Member Function Documentation

void setColor ( const QColor &  color)

Definition at line 40 of file colorbutton.cpp.

References _color, color(), and colorChanged().

Referenced by chooseColor().

QColor color ( ) const

Referenced by chooseColor(), and setColor().

void colorChanged ( const QColor &  )
signal

Referenced by setColor().

void chooseColor ( )
privateslot

Definition at line 57 of file colorbutton.cpp.

References color(), and setColor().

Referenced by ColorButton().

Member Data Documentation

QColor _color
private

Definition at line 48 of file colorbutton.h.

Referenced by setColor().

Property Documentation

QColor color
readwrite

Definition at line 29 of file colorbutton.h.

Referenced by ItemViewSettingsPage::updateBufferViewPreview().


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