// This is the SIP interface definition for QColorDialog. // // Copyright (c) 2007 // Riverbank Computing Limited // // This file is part of PyQt. // // This copy of PyQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // // PyQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with // PyQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. %ExportedDoc QColorDialog (Qt v2+) static QRgb getRgba QRgb initial bool *ok QWidget *parent = 0 const char *name = 0 This takes the initial, parent and name parameters and returns a tuple containing the QRgb result and the ok value. %End %If (Qt_2_00 -) %If (Qt_COLORDIALOG) class QColorDialog : QDialog { %TypeHeaderCode #include %End public: %If (- Qt_3_0_0) static QColor getColor(QColor,QWidget * = 0,const char * = 0) /ReleaseGIL/; %End %If (Qt_3_0_0 -) static QColor getColor(const QColor & = Qt::white,QWidget * = 0, const char * = 0) /ReleaseGIL/; %End %If (Qt_2_1_0 -) static QRgb getRgba(QRgb,bool * = 0,QWidget * = 0,const char * = 0) /ReleaseGIL/; static int customCount(); static QRgb customColor(int); static void setCustomColor(int,QRgb); %End %If (Qt_3_1_0 -) static void setStandardColor(int,QRgb); %End private: %If (Qt_2_1_0 -) QColorDialog(QWidget * /TransferThis/ = 0,const char * = 0,bool = 0); QColorDialog(const QColorDialog &); ~QColorDialog(); %End }; %End %End