QGIS API Documentation  2.14.0-Essen
qgsdashspacedialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsdashspacedialog.h
3  ---------------------
4  begin : January 2010
5  copyright : (C) 2010 by Marco Hugentobler
6  email : marco at hugis dot net
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef QGSDASHSPACEDIALOG_H
17 #define QGSDASHSPACEDIALOG_H
18 
19 #include "ui_qgsdashspacedialogbase.h"
20 
22 class GUI_EXPORT QgsDashSpaceDialog: public QDialog, private Ui::QgsDashSpaceDialogBase
23 {
24  Q_OBJECT
25  public:
26  QgsDashSpaceDialog( const QVector<qreal>& v, QWidget * parent = nullptr, const Qt::WindowFlags& f = nullptr );
28 
29  QVector<qreal> dashDotVector() const;
30 
31  private slots:
32  void on_mAddButton_clicked();
33  void on_mRemoveButton_clicked();
34 };
35 
36 #endif // QGSDASHSPACEDIALOG_H
A dialog to enter a custom dash space pattern for lines.
typedef WindowFlags