~ubuntu-branches/ubuntu/utopic/qgis/utopic

« back to all changes in this revision

Viewing changes to src/core/symbology/qgssymbologyutils.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
27
/**Namespace containing static methods which are useful for the symbology widgets*/
 
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