<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QColorDialog Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QColorDialog Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_gui.html">com.trolltech.qt.gui</a> package]</h3> <p>Inherits <a href="qdialog.html">QDialog</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QColorDialog(QWidget parent)</b></li> <li><div class="fn"/><b>void QColorDialog(QColor initial, QWidget parent)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QColorDialog prototype object</li> <li><div class="fn"/><b>unsigned int customColor(int index)</b></li> <li><div class="fn"/><b>int customCount()</b></li> <li><div class="fn"/><b>QColor getColor(QColor initial, QWidget parent)</b></li> <li><div class="fn"/><b>void setCustomColor(int index, unsigned int color)</b></li> <li><div class="fn"/><b>void setStandardColor(int index, unsigned int color)</b></li> <li><b>ShowAlphaChannel = 0x00000001</b></li> <li><b>NoButtons = 0x00000002</b></li> <li><b>DontUseNativeDialog = 0x00000004</b></li> <li><b>ColorDialogOption( value )</b></li> <li><b>ColorDialogOptions( value1, value2, ... )</b></li> </ul> <h3>Prototype Object Properties</h3> <p>The QColorDialog prototype object inherits properties from the <a href="qdialog.html">QDialog</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>void open(QObject receiver, char member)</b></li> <li><div class="fn"/><b>QColor selectedColor()</b></li> <li><div class="fn"/><b>void setCurrentColor(QColor color)</b></li> <li><div class="fn"/><b>void setOption(ColorDialogOption option, bool on)</b></li> <li><div class="fn"/><b>bool testOption(ColorDialogOption option)</b></li> </ul> <h3>Instance Properties</h3> <p>QColorDialog objects inherit properties from the QColorDialog prototype object and also have the following properties.</p> <ul> <li><div class="fn"/><b>currentColor</b></li> <li><div class="fn"/><b>options</b></li> </ul> </body> </html>