~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/qgspatterndialog.h

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          qgspatterndialog 
3
 
            Dialog for selecting pattern for rendering vector layers
4
 
                             -------------------
5
 
    begin                : 2004-02-12
6
 
    copyright            : (C) 2004 by Gary E.Sherman
7
 
    email                : sherman at mrcc.com
8
 
***************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
 *                                                                         *
12
 
 *   This program is free software; you can redistribute it and/or modify  *
13
 
 *   it under the terms of the GNU General Public License as published by  *
14
 
 *   the Free Software Foundation; either version 2 of the License, or     *
15
 
 *   (at your option) any later version.                                   *
16
 
 *                                                                         *
17
 
 ***************************************************************************/
18
 
 /* $Id: qgspatterndialog.h,v 1.7 2004/10/16 21:59:14 gsherman Exp $ */
19
 
#ifndef QGSPATTERNDIALOG_H
20
 
#define QGSPATTERNDIALOG_H
21
 
 
22
 
class qnamespace;
23
 
#ifdef WIN32
24
 
#include "qgspatterndialogbase.h"
25
 
#else
26
 
#include "qgspatterndialogbase.uic.h"
27
 
#endif 
28
 
 
29
 
/**A dialog class to query the fill pattern.*/
30
 
class QgsPatternDialog: public QgsPatternDialogBase
31
 
{
32
 
    Q_OBJECT
33
 
 public:
34
 
    QgsPatternDialog(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = Qt::WStyle_StaysOnTop);
35
 
    ~QgsPatternDialog();
36
 
    Qt::BrushStyle pattern();
37
 
 protected:
38
 
    Qt::BrushStyle m_pattern;
39
 
 protected slots:
40
 
     /**Queries the selected pattern if the ok button is pressed and stores the pattern in m_pattern*/
41
 
     void queryPattern();
42
 
};
43
 
 
44
 
inline QgsPatternDialog::~QgsPatternDialog()
45
 
{
46
 
 
47
 
}
48
 
 
49
 
#endif