1
/***************************************************************************
2
qgssymbologyutils.h - description
5
copyright : (C) 2003 by Marco Hugentobler
6
email : mhugent@geo.unizh.ch
7
***************************************************************************/
9
/***************************************************************************
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. *
16
***************************************************************************/
19
#ifndef QGSSYMBOLOGYUTILS_H
20
#define QGSSYMBOLOGYUTILS_H
27
/**Namespace containing static methods which are useful for the symbology widgets*/
28
namespace QgsSymbologyUtils
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 );