Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qgssymbologyutils.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgssymbologyutils.h - description
3  -------------------
4  begin : Oct 2003
5  copyright : (C) 2003 by Marco Hugentobler
6  email : mhugent@geo.unizh.ch
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 /* $Id$ */
18 
19 #ifndef QGSSYMBOLOGYUTILS_H
20 #define QGSSYMBOLOGYUTILS_H
21 
22 #include <Qt>
23 
24 class QPixmap;
25 class QString;
26 
28 namespace QgsSymbologyUtils
29 {
30  QPixmap CORE_EXPORT qString2LinePixmap( QString string );
31  QPixmap CORE_EXPORT char2LinePixmap( const char* c );
32  QPixmap CORE_EXPORT qString2PatternPixmap( QString string );
33  QPixmap CORE_EXPORT char2PatternPixmap( const char* c );
34  QString CORE_EXPORT penStyle2QString( Qt::PenStyle penstyle );
35  const char CORE_EXPORT * penStyle2Char( Qt::PenStyle penstyle );
36  QPixmap CORE_EXPORT penStyle2Pixmap( Qt::PenStyle penstyle );
37  Qt::PenStyle CORE_EXPORT qString2PenStyle( QString string );
38  Qt::PenStyle CORE_EXPORT char2PenStyle( const char* c );
39  QString CORE_EXPORT brushStyle2QString( Qt::BrushStyle brushstyle );
40  const char CORE_EXPORT * brushStyle2Char( Qt::BrushStyle brushstyle );
41  QPixmap CORE_EXPORT brushStyle2Pixmap( Qt::BrushStyle brushstyle );
42  Qt::BrushStyle CORE_EXPORT qString2BrushStyle( QString string );
43  Qt::BrushStyle CORE_EXPORT char2BrushStyle( const char* c );
44 }
45 
46 #endif