Home

QtColorTriangle Class Reference

The QtColorTriangle class provides a triangular color selection widget. More...

#include <qtcolortriangle.h>

List of all member functions.

Public Members

Signals


Detailed Description

The QtColorTriangle class provides a triangular color selection widget.

This widget uses the HSV color model, and is therefore useful for selecting colors by eye.

The triangle in the center of the widget is used for selecting saturation and value, and the surrounding circle is used for selecting hue.

Use setColor() and color() to set and get the current color.


Member Function Documentation

QtColorTriangle::QtColorTriangle ( QWidget * parent = 0, const char * name = 0 )

Constructs a color triangle widget with the given parent and called name.

QtColorTriangle::~QtColorTriangle ()

Destructs the color triangle.

void QtColorTriangle::colorChanged ( const QColor & color ) [signal]

Whenever the color triangles color changes this signal is emitted with the new color.


This file is part of the Qt Solutions. Copyright © 2003-2006 Trolltech. All Rights Reserved.

Copyright © 2003-2006 TrolltechTrademarks
Qt Solutions