2017-06-08 15:30:38 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgsdashspacedialog.h *
|
2017-06-08 15:30:38 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-28 12:19:59 +07:00
|
|
|
|
|
|
|
|
|
|
|
class QgsDashSpaceWidget: QgsPanelWidget
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
A widget to enter a custom dash space pattern for lines
|
|
|
|
|
|
|
|
.. versionadded:: 3.8
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsdashspacedialog.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsDashSpaceWidget( const QVector<qreal> &vectorPattern, QWidget *parent /TransferThis/ = 0 );
|
|
|
|
%Docstring
|
|
|
|
Constructor for QgsDashSpaceWidget
|
|
|
|
%End
|
|
|
|
|
|
|
|
QVector<qreal> dashDotVector() const;
|
|
|
|
%Docstring
|
|
|
|
Returns the dash pattern as a list of numbers
|
|
|
|
%End
|
|
|
|
|
|
|
|
void setUnit( QgsUnitTypes::RenderUnit unit );
|
|
|
|
%Docstring
|
|
|
|
Sets the unit type used for the dash space pattern (used to update interface labels)
|
|
|
|
|
|
|
|
:param unit: the unit type
|
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class QgsDashSpaceDialog : QDialog
|
2013-06-22 19:37:41 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
A dialog to enter a custom dash space pattern for lines
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgsdashspacedialog.h"
|
2013-06-22 19:37:41 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-12-12 11:44:10 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags f = 0 );
|
2017-12-12 11:44:10 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsDashSpaceDialog
|
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
QVector<qreal> dashDotVector() const;
|
2019-04-28 12:19:59 +07:00
|
|
|
%Docstring
|
|
|
|
Returns the dash pattern as a list of numbers
|
|
|
|
%End
|
|
|
|
|
|
|
|
void setUnit( QgsUnitTypes::RenderUnit unit );
|
|
|
|
%Docstring
|
|
|
|
Sets the unit type used for the dash space pattern (used to update interface labels)
|
|
|
|
|
|
|
|
:param unit: the unit type
|
|
|
|
|
|
|
|
.. versionadded:: 3.8
|
|
|
|
%End
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
};
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgsdashspacedialog.h *
|
2017-06-08 15:30:38 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|