Skip to content
Permalink
Browse files

More missing docs

  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 6166d21 commit 9b04589ce7c9a3e2a35050eb9c96d05126c2f3b2
@@ -107,7 +107,11 @@ class QgsGraph
#include "qgsgraph.h"
%End
public:

QgsGraph();
%Docstring
Constructor for QgsGraph.
%End


int addVertex( const QgsPointXY &pt );
@@ -19,6 +19,7 @@ class QgsDiagram
#include "qgsdiagram.h"
%End
public:

virtual ~QgsDiagram();

virtual QgsDiagram *clone() const = 0 /Factory/;
@@ -71,7 +72,11 @@ Returns the size in map units the diagram will use to render. Interpolate size
%End

protected:

QgsDiagram();
%Docstring
Constructor for QgsDiagram.
%End
QgsDiagram( const QgsDiagram &other );

void setPenWidth( QPen &pen, const QgsDiagramSettings &s, const QgsRenderContext &c );
@@ -73,7 +73,11 @@ retrieves instance
%End

protected:

QgsCredentials();
%Docstring
Constructor for QgsCredentials.
%End

virtual bool request( const QString &realm, QString &username /In,Out/, QString &password /In,Out/, const QString &message = QString() ) = 0;
%Docstring
@@ -20,7 +20,11 @@ class QgsReadWriteContext
#include "qgsreadwritecontext.h"
%End
public:

QgsReadWriteContext();
%Docstring
Constructor for QgsReadWriteContext.
%End

const QgsPathResolver &pathResolver() const;
%Docstring
@@ -19,7 +19,11 @@ class QgsRasterTransparency
#include "qgsrastertransparency.h"
%End
public:

QgsRasterTransparency();
%Docstring
Constructor for QgsRasterTransparency.
%End

struct TransparentThreeValuePixel
{
@@ -87,8 +91,14 @@ True if there are no entries in the pixel lists except the nodata value
%End

void writeXml( QDomDocument &doc, QDomElement &parentElem ) const;
%Docstring
Writes the transparency information to an XML document.
%End

void readXml( const QDomElement &elem );
%Docstring
Reads the transparency information from an XML document.
%End

};
/************************************************************************
@@ -131,6 +131,10 @@ class ANALYSIS_EXPORT QgsGraphVertex
class ANALYSIS_EXPORT QgsGraph
{
public:

/**
* Constructor for QgsGraph.
*/
QgsGraph() = default;

// Graph constructing methods
@@ -37,6 +37,7 @@ class QgsAttributes;
class CORE_EXPORT QgsDiagram
{
public:

virtual ~QgsDiagram() { clearCache(); }

/** Returns an instance that is equivalent to this one
@@ -73,6 +74,10 @@ class CORE_EXPORT QgsDiagram
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const = 0;

protected:

/**
* Constructor for QgsDiagram.
*/
QgsDiagram() = default;
QgsDiagram( const QgsDiagram &other );

@@ -75,6 +75,10 @@ class CORE_EXPORT QgsCredentials
QMutex *mutex() { return &mMutex; }

protected:

/**
* Constructor for QgsCredentials.
*/
QgsCredentials() = default;

//! request a password
@@ -29,6 +29,10 @@
class CORE_EXPORT QgsReadWriteContext
{
public:

/**
* Constructor for QgsReadWriteContext.
*/
QgsReadWriteContext() = default;

//! Returns path resolver for conversion between relative and absolute paths
@@ -32,6 +32,10 @@ class CORE_EXPORT QgsRasterTransparency
{

public:

/**
* Constructor for QgsRasterTransparency.
*/
QgsRasterTransparency() = default;

//
@@ -82,8 +86,14 @@ class CORE_EXPORT QgsRasterTransparency
//! True if there are no entries in the pixel lists except the nodata value
bool isEmpty() const;

/**
* Writes the transparency information to an XML document.
*/
void writeXml( QDomDocument &doc, QDomElement &parentElem ) const;

/**
* Reads the transparency information from an XML document.
*/
void readXml( const QDomElement &elem );

private:

0 comments on commit 9b04589

Please sign in to comment.
You can’t perform that action at this time.