QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qgscolordialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgscolordialog.h - color selection dialog
3 
4  ---------------------
5  begin : March 19, 2013
6  copyright : (C) 2013 by Larry Shaffer
7  email : larrys at dakcarto dot com
8  ***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef QGSCOLORDIALOG_H
18 #define QGSCOLORDIALOG_H
19 
20 #include <QColorDialog>
21 #include "qgisgui.h"
22 
23 class QColor;
24 
30 class GUI_EXPORT QgsColorDialog : public QObject
31 {
32  Q_OBJECT
33 
34  public:
36  ~QgsColorDialog();
37 
47  static QColor getLiveColor( const QColor& initialColor, QObject* updateObject, const char* updateSlot,
48  QWidget* parent = 0,
49  const QString& title = "",
50  QColorDialog::ColorDialogOptions options = 0 );
51 };
52 
53 #endif // #ifndef QGSCOLORDIALOG_H
A dialog for selecting a color.