Skip to content
Permalink
Browse files

Dox++

  • Loading branch information
nyalldawson committed Nov 11, 2018
1 parent 92f34a9 commit 2819a07a398172ad6fc25757034cf4e3ee3c74f9
Showing with 294 additions and 53 deletions.
  1. +5 −0 src/gui/editorwidgets/qgsbinarywidgetfactory.h
  2. +2 −2 src/gui/editorwidgets/qgsbinarywidgetwrapper.cpp
  3. +12 −2 src/gui/editorwidgets/qgsbinarywidgetwrapper.h
  4. +5 −0 src/gui/editorwidgets/qgscheckboxwidgetfactory.h
  5. +2 −2 src/gui/editorwidgets/qgscheckboxwidgetwrapper.cpp
  6. +12 −1 src/gui/editorwidgets/qgscheckboxwidgetwrapper.h
  7. +2 −2 src/gui/editorwidgets/qgsclassificationwidgetwrapper.cpp
  8. +12 −1 src/gui/editorwidgets/qgsclassificationwidgetwrapper.h
  9. +5 −0 src/gui/editorwidgets/qgsclassificationwidgetwrapperfactory.h
  10. +5 −0 src/gui/editorwidgets/qgscolorwidgetfactory.h
  11. +2 −2 src/gui/editorwidgets/qgscolorwidgetwrapper.cpp
  12. +12 −1 src/gui/editorwidgets/qgscolorwidgetwrapper.h
  13. +5 −0 src/gui/editorwidgets/qgsdatetimeeditfactory.h
  14. +2 −2 src/gui/editorwidgets/qgsdatetimeeditwrapper.cpp
  15. +12 −1 src/gui/editorwidgets/qgsdatetimeeditwrapper.h
  16. +5 −0 src/gui/editorwidgets/qgsenumerationwidgetfactory.h
  17. +2 −2 src/gui/editorwidgets/qgsenumerationwidgetwrapper.cpp
  18. +12 −1 src/gui/editorwidgets/qgsenumerationwidgetwrapper.h
  19. +5 −0 src/gui/editorwidgets/qgsexternalresourcewidgetfactory.h
  20. +2 −2 src/gui/editorwidgets/qgsexternalresourcewidgetwrapper.cpp
  21. +12 −1 src/gui/editorwidgets/qgsexternalresourcewidgetwrapper.h
  22. +5 −0 src/gui/editorwidgets/qgshiddenwidgetfactory.h
  23. +2 −2 src/gui/editorwidgets/qgshiddenwidgetwrapper.cpp
  24. +12 −1 src/gui/editorwidgets/qgshiddenwidgetwrapper.h
  25. +2 −1 src/gui/editorwidgets/qgskeyvaluewidgetfactory.h
  26. +2 −2 src/gui/editorwidgets/qgskeyvaluewidgetwrapper.cpp
  27. +9 −2 src/gui/editorwidgets/qgskeyvaluewidgetwrapper.h
  28. +2 −1 src/gui/editorwidgets/qgslistwidgetfactory.h
  29. +2 −2 src/gui/editorwidgets/qgslistwidgetwrapper.cpp
  30. +9 −2 src/gui/editorwidgets/qgslistwidgetwrapper.h
  31. +5 −0 src/gui/editorwidgets/qgsrangewidgetfactory.h
  32. +2 −2 src/gui/editorwidgets/qgsrangewidgetwrapper.cpp
  33. +12 −1 src/gui/editorwidgets/qgsrangewidgetwrapper.h
  34. +6 −0 src/gui/editorwidgets/qgstexteditwidgetfactory.h
  35. +2 −2 src/gui/editorwidgets/qgstexteditwrapper.cpp
  36. +12 −1 src/gui/editorwidgets/qgstexteditwrapper.h
  37. +5 −0 src/gui/editorwidgets/qgsuniquevaluewidgetfactory.h
  38. +2 −2 src/gui/editorwidgets/qgsuniquevaluewidgetwrapper.cpp
  39. +12 −1 src/gui/editorwidgets/qgsuniquevaluewidgetwrapper.h
  40. +5 −0 src/gui/editorwidgets/qgsuuidwidgetfactory.h
  41. +2 −2 src/gui/editorwidgets/qgsuuidwidgetwrapper.cpp
  42. +12 −1 src/gui/editorwidgets/qgsuuidwidgetwrapper.h
  43. +6 −0 src/gui/editorwidgets/qgsvaluemapwidgetfactory.h
  44. +2 −2 src/gui/editorwidgets/qgsvaluemapwidgetwrapper.cpp
  45. +12 −1 src/gui/editorwidgets/qgsvaluemapwidgetwrapper.h
  46. +5 −0 src/gui/editorwidgets/qgsvaluerelationwidgetfactory.h
  47. +2 −2 src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
  48. +12 −1 src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.h
@@ -32,6 +32,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsBinaryWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsBinaryWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
explicit QgsBinaryWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -26,8 +26,8 @@
#include <QMenu>
#include <QMessageBox>

QgsBinaryWidgetWrapper::QgsBinaryWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsBinaryWidgetWrapper::QgsBinaryWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -31,12 +31,22 @@ SIP_NO_FILE
* \note not available in Python bindings
* \since QGIS 3.6
*/

class GUI_EXPORT QgsBinaryWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsBinaryWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsBinaryWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsBinaryWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsCheckboxWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsCheckboxWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
explicit QgsCheckboxWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -15,8 +15,8 @@

#include "qgscheckboxwidgetwrapper.h"

QgsCheckboxWidgetWrapper::QgsCheckboxWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsCheckboxWidgetWrapper::QgsCheckboxWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -41,7 +41,18 @@ class GUI_EXPORT QgsCheckboxWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsCheckboxWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsCheckboxWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsCheckboxWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -18,8 +18,8 @@
#include "qgscategorizedsymbolrenderer.h"
#include "qgsvectorlayer.h"

QgsClassificationWidgetWrapper::QgsClassificationWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsClassificationWidgetWrapper::QgsClassificationWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -33,7 +33,18 @@ class GUI_EXPORT QgsClassificationWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsClassificationWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsClassificationWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsClassificationWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsClassificationWidgetWrapperFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsClassificationWidgetWrapperFactory, where \a name is a human-readable
* name for the factory.
*/
explicit QgsClassificationWidgetWrapperFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsColorWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsColorWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
QgsColorWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -18,8 +18,8 @@
#include <QLayout>


QgsColorWidgetWrapper::QgsColorWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsColorWidgetWrapper::QgsColorWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -33,7 +33,18 @@ class GUI_EXPORT QgsColorWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsColorWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsColorWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsColorWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsDateTimeEditFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsDateTimeEditFactory, where \a name is a human-readable
* name for the factory.
*/
QgsDateTimeEditFactory( const QString &name );

QgsEditorWidgetWrapper *create( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent ) const override;
@@ -27,8 +27,8 @@
#include <QTextCharFormat>
#include <QCalendarWidget>

QgsDateTimeEditWrapper::QgsDateTimeEditWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsDateTimeEditWrapper::QgsDateTimeEditWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -43,7 +43,18 @@ class GUI_EXPORT QgsDateTimeEditWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsDateTimeEditWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent = nullptr );

/**
* Constructor for QgsDateTimeEditWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsDateTimeEditWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent = nullptr );

private slots:
void dateTimeChanged( const QDateTime &dateTime );
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsEnumerationWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsEnumerationWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
explicit QgsEnumerationWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -18,8 +18,8 @@
#include "qgsvectorlayer.h"
#include "qgsvectordataprovider.h"

QgsEnumerationWidgetWrapper::QgsEnumerationWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsEnumerationWidgetWrapper::QgsEnumerationWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -33,7 +33,18 @@ class GUI_EXPORT QgsEnumerationWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsEnumerationWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsEnumerationWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsEnumerationWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -32,6 +32,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsExternalResourceWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsExternalResourceWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
QgsExternalResourceWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -24,8 +24,8 @@
#include "qgsfilterlineedit.h"


QgsExternalResourceWidgetWrapper::QgsExternalResourceWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsExternalResourceWidgetWrapper::QgsExternalResourceWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )

{
}
@@ -41,7 +41,18 @@ class GUI_EXPORT QgsExternalResourceWidgetWrapper : public QgsEditorWidgetWrappe
{
Q_OBJECT
public:
explicit QgsExternalResourceWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsExternalResourceWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsExternalResourceWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -30,6 +30,11 @@ SIP_NO_FILE
class GUI_EXPORT QgsHiddenWidgetFactory : public QgsEditorWidgetFactory
{
public:

/**
* Constructor for QgsHiddenWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
QgsHiddenWidgetFactory( const QString &name );

// QgsEditorWidgetFactory interface
@@ -17,8 +17,8 @@

#include <QWidget>

QgsHiddenWidgetWrapper::QgsHiddenWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsHiddenWidgetWrapper::QgsHiddenWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent )
: QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )
{
}

@@ -31,7 +31,18 @@ class GUI_EXPORT QgsHiddenWidgetWrapper : public QgsEditorWidgetWrapper
{
Q_OBJECT
public:
explicit QgsHiddenWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

/**
* Constructor for QgsHiddenWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsHiddenWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -32,7 +32,8 @@ class GUI_EXPORT QgsKeyValueWidgetFactory : public QgsEditorWidgetFactory
public:

/**
* Constructor.
* Constructor for QgsKeyValueWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
QgsKeyValueWidgetFactory( const QString &name );

@@ -17,8 +17,8 @@
#include "qgskeyvaluewidget.h"
#include "qgsattributeform.h"

QgsKeyValueWidgetWrapper::QgsKeyValueWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent ):
QgsEditorWidgetWrapper( vl, fieldIdx, editor, parent )
QgsKeyValueWidgetWrapper::QgsKeyValueWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent ):
QgsEditorWidgetWrapper( layer, fieldIdx, editor, parent )
{
}

@@ -35,9 +35,16 @@ class GUI_EXPORT QgsKeyValueWidgetWrapper : public QgsEditorWidgetWrapper
public:

/**
* Constructor.
* Constructor for QgsKeyValueWidgetWrapper.
*
* The \a layer and \a fieldIdx arguments specify the vector layer field associated with the wrapper.
*
* The \a editor argument indicates the editor widget to use with the wrapper. This can be a nullptr if a
* new widget should be autogenerated.
*
* A \a parent widget for this widget wrapper and the created widget can also be specified.
*/
explicit QgsKeyValueWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );
explicit QgsKeyValueWidgetWrapper( QgsVectorLayer *layer, int fieldIdx, QWidget *editor = nullptr, QWidget *parent = nullptr );

// QgsEditorWidgetWrapper interface
public:
@@ -32,7 +32,8 @@ class GUI_EXPORT QgsListWidgetFactory : public QgsEditorWidgetFactory
public:

/**
* Constructor.
* Constructor for QgsListWidgetFactory, where \a name is a human-readable
* name for the factory.
*/
QgsListWidgetFactory( const QString &name );

0 comments on commit 2819a07

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