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

« back to all changes in this revision

Viewing changes to src/qgslinestyledialog.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
 
                          qgslinestyledialog.h 
3
 
               Dialog for selecting line style for 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: qgslinestyledialog.h,v 1.7 2004/10/16 21:59:14 gsherman Exp $ */
19
 
#ifndef QGSLINESTYLEDIALOG_H
20
 
#define QGSLINESTYLEDIALOG_H
21
 
 
22
 
class qnamespace;
23
 
#ifdef WIN32
24
 
#include "qgslinestyledialogbase.h"
25
 
#else
26
 
#include "qgslinestyledialogbase.uic.h"
27
 
#endif
28
 
/**Dialog class to query line styles*/
29
 
class QgsLineStyleDialog: public QgsLineStyleDialogBase
30
 
{
31
 
  Q_OBJECT
32
 
 public:
33
 
    QgsLineStyleDialog(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = Qt::WStyle_StaysOnTop);
34
 
    ~QgsLineStyleDialog();
35
 
    Qt::PenStyle style();
36
 
 protected:
37
 
    Qt::PenStyle m_style;
38
 
 protected slots:
39
 
     /**Queries the selected style if the ok button is pressed and stores it in m_style*/
40
 
     void queryStyle();
41
 
};
42
 
 
43
 
inline QgsLineStyleDialog::~QgsLineStyleDialog()
44
 
{
45
 
 
46
 
}
47
 
 
48
 
#endif