QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 
24 class GUI_EXPORT QgsDashSpaceDialog: public QDialog, private Ui::QgsDashSpaceDialogBase
25 {
26  Q_OBJECT
27  public:
28  QgsDashSpaceDialog( const QVector<qreal>& v, QWidget * parent = nullptr, const Qt::WindowFlags& f = nullptr );
30 
31  QVector<qreal> dashDotVector() const;
32 
33  private slots:
34  void on_mAddButton_clicked();
35  void on_mRemoveButton_clicked();
36 };
37 
38 #endif // QGSDASHSPACEDIALOG_H
A dialog to enter a custom dash space pattern for lines.
typedef WindowFlags