|
QGIS API Documentation
master-59fd5e0
|
00001 /*************************************************************************** 00002 qgsbrushstylecombobox.h 00003 --------------------- 00004 begin : November 2009 00005 copyright : (C) 2009 by Martin Dobias 00006 email : wonder dot sk at gmail dot com 00007 *************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 00016 #ifndef QGSBRUSHSTYLECOMBOBOX_H 00017 #define QGSBRUSHSTYLECOMBOBOX_H 00018 00019 #include <QComboBox> 00020 00021 class GUI_EXPORT QgsBrushStyleComboBox : public QComboBox 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 QgsBrushStyleComboBox( QWidget* parent = NULL ); 00027 00028 Qt::BrushStyle brushStyle() const; 00029 00030 void setBrushStyle( Qt::BrushStyle style ); 00031 00032 protected: 00033 QIcon iconForBrush( Qt::BrushStyle style ); 00034 00035 }; 00036 00037 #endif