Quantum GIS API Documentation
1.8
|
00001 /*************************************************************************** 00002 qgssymbologyutils.h - description 00003 ------------------- 00004 begin : Oct 2003 00005 copyright : (C) 2003 by Marco Hugentobler 00006 email : [email protected] 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QGSSYMBOLOGYUTILS_H 00019 #define QGSSYMBOLOGYUTILS_H 00020 00021 #include <Qt> 00022 00023 class QPixmap; 00024 class QString; 00025 00027 namespace QgsSymbologyUtils 00028 { 00029 QPixmap CORE_EXPORT qString2LinePixmap( QString string ); 00030 QPixmap CORE_EXPORT char2LinePixmap( const char* c ); 00031 QPixmap CORE_EXPORT qString2PatternPixmap( QString string ); 00032 QPixmap CORE_EXPORT char2PatternPixmap( const char* c ); 00033 QString CORE_EXPORT penStyle2QString( Qt::PenStyle penstyle ); 00034 const char CORE_EXPORT * penStyle2Char( Qt::PenStyle penstyle ); 00035 QPixmap CORE_EXPORT penStyle2Pixmap( Qt::PenStyle penstyle ); 00036 Qt::PenStyle CORE_EXPORT qString2PenStyle( QString string ); 00037 Qt::PenStyle CORE_EXPORT char2PenStyle( const char* c ); 00038 QString CORE_EXPORT brushStyle2QString( Qt::BrushStyle brushstyle ); 00039 const char CORE_EXPORT * brushStyle2Char( Qt::BrushStyle brushstyle ); 00040 QPixmap CORE_EXPORT brushStyle2Pixmap( Qt::BrushStyle brushstyle ); 00041 Qt::BrushStyle CORE_EXPORT qString2BrushStyle( QString string ); 00042 Qt::BrushStyle CORE_EXPORT char2BrushStyle( const char* c ); 00043 } 00044 00045 #endif