QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 #include "qgis_gui.h"
21 #include "qgis_sip.h"
22 
27 class GUI_EXPORT QgsDashSpaceDialog: public QDialog, private Ui::QgsDashSpaceDialogBase
28 {
29  Q_OBJECT
30  public:
31 
33  QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags f = nullptr );
34 
35  QVector<qreal> dashDotVector() const;
36 
37  private slots:
38  void mAddButton_clicked();
39  void mRemoveButton_clicked();
40 };
41 
42 #endif // QGSDASHSPACEDIALOG_H
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:46
A dialog to enter a custom dash space pattern for lines.