Skip to content

Commit

Permalink
Remove QgsDataDefinedButton
Browse files Browse the repository at this point in the history
Now completely replaced by QgsPropertyOverrideButton
  • Loading branch information
nyalldawson committed Feb 14, 2017
1 parent 1b5bf1d commit be46f78
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 1,636 deletions.
1 change: 1 addition & 0 deletions doc/api_break.dox
Expand Up @@ -250,6 +250,7 @@ Use QgsComposerAttributeTableV2 instead.
- QgsCRSCache was removed. QgsCoordinateReferenceSystem now internally uses a cache for CRS creation,
so there is no longer a need for the separate cache class. Code which previously called QgsCRSCache::updateCRSCache()
should now call QgsCoordinateReferenceSystem::invalidateCache() and QgsCoordinateTransformCache::instance()->invalidateCrs( authid ).
- QgsDataDefinedButton was removed. Use QgsPropertyOverrideButton instead.
- QgsFileNameWidgetWrapper was removed. Use QgsExternalResourceWidgetWrapper instead.
- QgsFormAnnotationItem. Use QgsFormAnnotation instead.
- QgsHtmlAnnotationItem. Use QgsHtmlAnnotation instead.
Expand Down
1 change: 0 additions & 1 deletion python/gui/gui.sip
Expand Up @@ -51,7 +51,6 @@
%Include qgsconfigureshortcutsdialog.sip
%Include qgscredentialdialog.sip
%Include qgscustomdrophandler.sip
%Include qgsdatadefinedbutton.sip
%Include qgsdetaileditemdata.sip
%Include qgsdetaileditemdelegate.sip
%Include qgsdetaileditemwidget.sip
Expand Down
309 changes: 0 additions & 309 deletions python/gui/qgsdatadefinedbutton.sip

This file was deleted.

1 change: 0 additions & 1 deletion src/app/composer/qgscomposeritemwidget.h
Expand Up @@ -24,7 +24,6 @@

class QgsComposerItem;
class QgsAtlasComposition;
class QgsDataDefinedButton;


// NOTE - the inheritance here is tricky, as we need to avoid the multiple inheritance
Expand Down
1 change: 0 additions & 1 deletion src/app/composer/qgscompositionwidget.h
Expand Up @@ -19,7 +19,6 @@

class QgsComposition;
class QgsComposerMap;
class QgsDataDefinedButton;

/** \ingroup app
* Struct to hold map composer paper properties.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsexpressioncontextgenerator.h
Expand Up @@ -25,7 +25,7 @@
* You need to implement this interface in a class and register this class with
* QgsFieldExpressionWidget::registerExpressionGenerator().
*
* This is used for example in QgsDataDefinedButton or QgsFieldExpressionWidget
* This is used for example in QgsPropertyOverrideButton or QgsFieldExpressionWidget
* classes which will ask for a new QgsExpressionContext every time the expression
* editor is opened. This way they are able to provide an up-to-date expression
* editor even when the environment changes.
Expand Down
2 changes: 0 additions & 2 deletions src/gui/CMakeLists.txt
Expand Up @@ -194,7 +194,6 @@ SET(QGIS_GUI_SRCS
qgscredentialdialog.cpp
qgscursors.cpp
qgscustomdrophandler.cpp
qgsdatadefinedbutton.cpp
qgsdatumtransformdialog.cpp
qgsdetaileditemdata.cpp
qgsdetaileditemdelegate.cpp
Expand Down Expand Up @@ -355,7 +354,6 @@ SET(QGIS_GUI_MOC_HDRS
qgscompoundcolorwidget.h
qgsconfigureshortcutsdialog.h
qgscredentialdialog.h
qgsdatadefinedbutton.h
qgsdatumtransformdialog.h
qgsdetaileditemdelegate.h
qgsdetaileditemwidget.h
Expand Down

0 comments on commit be46f78

Please sign in to comment.