mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/symbology/qgsdashspacedialog.h                               *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsDashSpaceWidget : QgsPanelWidget
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
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( Qgis::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
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
A dialog to enter a custom dash space pattern for lines
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsdashspacedialog.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsDashSpaceDialog( const QVector<qreal> &v, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags f = Qt::WindowFlags() );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsDashSpaceDialog
 | 
						|
%End
 | 
						|
 | 
						|
    QVector<qreal> dashDotVector() const;
 | 
						|
%Docstring
 | 
						|
Returns the dash pattern as a list of numbers
 | 
						|
%End
 | 
						|
 | 
						|
    void setUnit( Qgis::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
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/symbology/qgsdashspacedialog.h                               *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |