QGIS API Documentation  2.99.0-Master (19b062c)
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  QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags f = 0 );
32 
33  QVector<qreal> dashDotVector() const;
34 
35  private slots:
36  void mAddButton_clicked();
37  void mRemoveButton_clicked();
38 };
39 
40 #endif // QGSDASHSPACEDIALOG_H
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:46
A dialog to enter a custom dash space pattern for lines.