~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/gui/qgslinestyledialog.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
 
                          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 4688 2006-01-15 12:08:18Z telwertowski $ */
19
 
#ifndef QGSLINESTYLEDIALOG_H
20
 
#define QGSLINESTYLEDIALOG_H
21
 
 
22
 
class qnamespace;
23
 
#include "ui_qgslinestyledialogbase.h"
24
 
#include "qgisgui.h"
25
 
/**Dialog class to query line styles*/
26
 
class QgsLineStyleDialog: public QDialog, private Ui::QgsLineStyleDialogBase
27
 
{
28
 
  Q_OBJECT
29
 
 public:
30
 
    QgsLineStyleDialog(QWidget * parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags);
31
 
    ~QgsLineStyleDialog();
32
 
    Qt::PenStyle style();
33
 
 protected:
34
 
    Qt::PenStyle m_style;
35
 
 protected slots:
36
 
     /**Queries the selected style if the ok button is pressed and stores it in m_style*/
37
 
     void queryStyle();
38
 
};
39
 
 
40
 
inline QgsLineStyleDialog::~QgsLineStyleDialog()
41
 
{
42
 
 
43
 
}
44
 
 
45
 
#endif