Skip to content

Commit

Permalink
Merge pull request #8409 from DelazJ/renameFiles
Browse files Browse the repository at this point in the history
Rename some rendererV2 ui files
  • Loading branch information
m-kuhn authored Nov 5, 2018
2 parents 19ef2f9 + fd2a599 commit e9deafc
Show file tree
Hide file tree
Showing 24 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion scripts/widgets_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# QgsRendererRulesTreeWidget
# and QgsProjectionSelector cannot open db file
from qgis import gui
for m in ['qgscolorbutton', 'qgscolorrampcombobox', 'qgsprojectionselector', 'qgslabelpreview', 'qgsrulebasedrendererv2widget', 'qgscollapsiblegroupbox', 'qgsblendmodecombobox', 'qgsexpressionbuilderwidget', 'qgsrasterformatsaveoptionswidget', 'qgsrasterpyramidsoptionswidget', 'qgsscalecombobox', 'qgsfilterlineedit', 'qgsdualview']:
for m in ['qgscolorbutton', 'qgscolorrampcombobox', 'qgsprojectionselector', 'qgslabelpreview', 'qgsrulebasedrendererwidget', 'qgscollapsiblegroupbox', 'qgsblendmodecombobox', 'qgsexpressionbuilderwidget', 'qgsrasterformatsaveoptionswidget', 'qgsrasterpyramidsoptionswidget', 'qgsscalecombobox', 'qgsfilterlineedit', 'qgsdualview']:
sys.modules[m] = gui


Expand Down
6 changes: 3 additions & 3 deletions src/core/qgsdiagramrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSDIAGRAMRENDERERV2_H
#define QGSDIAGRAMRENDERERV2_H
#ifndef QGSDIAGRAMRENDERER_H
#define QGSDIAGRAMRENDERER_H

#include "qgis_core.h"
#include "qgis.h"
Expand Down Expand Up @@ -760,4 +760,4 @@ class CORE_EXPORT QgsLinearlyInterpolatedDiagramRenderer : public QgsDiagramRend
QgsDataDefinedSizeLegend *mDataDefinedSizeLegend = nullptr;
};

#endif // QGSDIAGRAMRENDERERV2_H
#endif // QGSDIAGRAMRENDERER_H
6 changes: 3 additions & 3 deletions src/core/symbology/qgscategorizedsymbolrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSCATEGORIZEDSYMBOLRENDERERV2_H
#define QGSCATEGORIZEDSYMBOLRENDERERV2_H
#ifndef QGSCATEGORIZEDSYMBOLRENDERER_H
#define QGSCATEGORIZEDSYMBOLRENDERER_H

#include "qgis_core.h"
#include "qgis.h"
Expand Down Expand Up @@ -306,4 +306,4 @@ class CORE_EXPORT QgsCategorizedSymbolRenderer : public QgsFeatureRenderer
QgsLegendSymbolList baseLegendSymbolItems() const;
};

#endif // QGSCATEGORIZEDSYMBOLRENDERERV2_H
#endif // QGSCATEGORIZEDSYMBOLRENDERER_H
6 changes: 3 additions & 3 deletions src/core/symbology/qgsgraduatedsymbolrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSGRADUATEDSYMBOLRENDERERV2_H
#define QGSGRADUATEDSYMBOLRENDERERV2_H
#ifndef QGSGRADUATEDSYMBOLRENDERER_H
#define QGSGRADUATEDSYMBOLRENDERER_H

#include "qgis_core.h"
#include "qgis_sip.h"
Expand Down Expand Up @@ -527,4 +527,4 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer

};

#endif // QGSGRADUATEDSYMBOLRENDERERV2_H
#endif // QGSGRADUATEDSYMBOLRENDERER_H
2 changes: 1 addition & 1 deletion src/core/symbology/qgsinvertedpolygonrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ class CORE_EXPORT QgsInvertedPolygonRenderer : public QgsFeatureRenderer
};


#endif // QGSMASKRENDERERV2_H
#endif // QGSINVERTEDPOLYGONRENDERER_H
8 changes: 4 additions & 4 deletions src/core/symbology/qgsrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* *
***************************************************************************/

#ifndef QGSRENDERERV2_H
#define QGSRENDERERV2_H
#ifndef QGSRENDERER_H
#define QGSRENDERER_H

#include "qgis_core.h"
#include "qgis_sip.h"
Expand Down Expand Up @@ -299,7 +299,7 @@ class CORE_EXPORT QgsFeatureRenderer
//! used from subclasses to create SLD Rule elements following SLD v1.1 specs
virtual void toSld( QDomDocument &doc, QDomElement &element, const QgsStringMap &props = QgsStringMap() ) const
{
element.appendChild( doc.createComment( QStringLiteral( "FeatureRendererV2 %1 not implemented yet" ).arg( type() ) ) );
element.appendChild( doc.createComment( QStringLiteral( "FeatureRenderer %1 not implemented yet" ).arg( type() ) ) );
( void ) props; // warning avoidance
}

Expand Down Expand Up @@ -547,4 +547,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS( QgsFeatureRenderer::Capabilities )
class QgsRendererWidget;
class QgsPaintEffectWidget;

#endif // QGSRENDERERV2_H
#endif // QGSRENDERER_H
6 changes: 3 additions & 3 deletions src/core/symbology/qgsrendererregistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSRENDERERV2REGISTRY_H
#define QGSRENDERERV2REGISTRY_H
#ifndef QGSRENDERERREGISTRY_H
#define QGSRENDERERREGISTRY_H

#include "qgis_core.h"
#include "qgis_sip.h"
Expand Down Expand Up @@ -254,4 +254,4 @@ class CORE_EXPORT QgsRendererRegistry
QStringList mRenderersOrder;
};

#endif // QGSRENDERERV2REGISTRY_H
#endif // QGSRENDERERREGISTRY_H
6 changes: 3 additions & 3 deletions src/core/symbology/qgsrulebasedrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* *
***************************************************************************/

#ifndef QGSRULEBASEDRENDERERV2_H
#define QGSRULEBASEDRENDERERV2_H
#ifndef QGSRULEBASEDRENDERER_H
#define QGSRULEBASEDRENDERER_H

#include "qgis_core.h"
#include "qgis_sip.h"
Expand Down Expand Up @@ -550,4 +550,4 @@ class CORE_EXPORT QgsRuleBasedRenderer : public QgsFeatureRenderer
#endif
};

#endif // QGSRULEBASEDRENDERERV2_H
#endif // QGSRULEBASEDRENDERER_H
6 changes: 3 additions & 3 deletions src/core/symbology/qgssinglesymbolrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSSINGLESYMBOLRENDERERV2_H
#define QGSSINGLESYMBOLRENDERERV2_H
#ifndef QGSSINGLESYMBOLRENDERER_H
#define QGSSINGLESYMBOLRENDERER_H

#include "qgis_core.h"
#include "qgis.h"
Expand Down Expand Up @@ -126,4 +126,4 @@ class CORE_EXPORT QgsSingleSymbolRenderer : public QgsFeatureRenderer
};


#endif // QGSSINGLESYMBOLRENDERERV2_H
#endif // QGSSINGLESYMBOLRENDERER_H
8 changes: 4 additions & 4 deletions src/gui/symbology/qgscategorizedsymbolrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSCATEGORIZEDSYMBOLRENDERERV2WIDGET_H
#define QGSCATEGORIZEDSYMBOLRENDERERV2WIDGET_H
#ifndef QGSCATEGORIZEDSYMBOLRENDERERWIDGET_H
#define QGSCATEGORIZEDSYMBOLRENDERERWIDGET_H

#include "qgscategorizedsymbolrenderer.h"
#include "qgis.h"
Expand All @@ -25,7 +25,7 @@
class QgsCategorizedSymbolRenderer;
class QgsRendererCategory;

#include "ui_qgscategorizedsymbolrendererv2widget.h"
#include "ui_qgscategorizedsymbolrendererwidget.h"
#include "qgis_gui.h"


Expand Down Expand Up @@ -195,4 +195,4 @@ class GUI_EXPORT QgsCategorizedSymbolRendererWidget : public QgsRendererWidget,
QgsExpressionContext createExpressionContext() const override;
};

#endif // QGSCATEGORIZEDSYMBOLRENDERERV2WIDGET_H
#endif // QGSCATEGORIZEDSYMBOLRENDERERWIDGET_H
6 changes: 3 additions & 3 deletions src/gui/symbology/qgscptcitycolorrampdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
* *
***************************************************************************/

#ifndef QGSCPTCITYCOLORRAMPV2DIALOG_H
#define QGSCPTCITYCOLORRAMPV2DIALOG_H
#ifndef QGSCPTCITYCOLORRAMPDIALOG_H
#define QGSCPTCITYCOLORRAMPDIALOG_H


#include "ui_qgscptcitycolorrampv2dialogbase.h"
#include "ui_qgscptcitycolorrampdialogbase.h"
#include "qgis.h"
#include <QDialog>

Expand Down
6 changes: 3 additions & 3 deletions src/gui/symbology/qgsellipsesymbollayerwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSELLIPSESYMBOLLAYERV2WIDGET_H
#define QGSELLIPSESYMBOLLAYERV2WIDGET_H
#ifndef QGSELLIPSESYMBOLLAYERWIDGET_H
#define QGSELLIPSESYMBOLLAYERWIDGET_H

#include "ui_widget_ellipse.h"
#include "qgis.h"
Expand Down Expand Up @@ -77,4 +77,4 @@ class GUI_EXPORT QgsEllipseSymbolLayerWidget: public QgsSymbolLayerWidget, priva
void setOffset();
};

#endif // QGSELLIPSESYMBOLLAYERV2WIDGET_H
#endif // QGSELLIPSESYMBOLLAYERWIDGET_H
8 changes: 4 additions & 4 deletions src/gui/symbology/qgsgraduatedsymbolrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
* *
***************************************************************************/

#ifndef QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
#define QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
#ifndef QGSGRADUATEDSYMBOLRENDERERWIDGET_H
#define QGSGRADUATEDSYMBOLRENDERERWIDGET_H

#include "qgsgraduatedsymbolrenderer.h"
#include "qgis.h"
#include "qgsrendererwidget.h"
#include "qgsproxystyle.h"
#include <QStandardItem>

#include "ui_qgsgraduatedsymbolrendererv2widget.h"
#include "ui_qgsgraduatedsymbolrendererwidget.h"
#include "qgis_gui.h"

#ifndef SIP_RUN
Expand Down Expand Up @@ -170,4 +170,4 @@ class GUI_EXPORT QgsGraduatedSymbolRendererWidget : public QgsRendererWidget, pr
};


#endif // QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
#endif // QGSGRADUATEDSYMBOLRENDERERWIDGET_H
2 changes: 1 addition & 1 deletion src/gui/symbology/qgsinvertedpolygonrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ class GUI_EXPORT QgsInvertedPolygonRendererWidget : public QgsRendererWidget, pr
};


#endif // QGSMASKRENDERERV2WIDGET_H
#endif // QGSINVERTEDPOLYGONRENDERERWIDGET_H
6 changes: 3 additions & 3 deletions src/gui/symbology/qgsrendererpropertiesdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* *
***************************************************************************/

#ifndef QGSRENDERERV2PROPERTIESDIALOG_H
#define QGSRENDERERV2PROPERTIESDIALOG_H
#ifndef QGSRENDERERPROPERTIESDIALOG_H
#define QGSRENDERERPROPERTIESDIALOG_H

#include <QDialog>
#include "qgis.h"

#include "ui_qgsrendererv2propsdialogbase.h"
#include "ui_qgsrendererpropsdialogbase.h"

#include "qgsfeaturerequest.h"
#include "qgis_gui.h"
Expand Down
6 changes: 3 additions & 3 deletions src/gui/symbology/qgsrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSRENDERERV2WIDGET_H
#define QGSRENDERERV2WIDGET_H
#ifndef QGSRENDERERWIDGET_H
#define QGSRENDERERWIDGET_H

#include <QWidget>
#include <QMenu>
Expand Down Expand Up @@ -297,4 +297,4 @@ class GUI_EXPORT QgsDataDefinedWidthDialog : public QgsDataDefinedValueDialog



#endif // QGSRENDERERV2WIDGET_H
#endif // QGSRENDERERWIDGET_H
8 changes: 4 additions & 4 deletions src/gui/symbology/qgsrulebasedrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* *
***************************************************************************/

#ifndef QGSRULEBASEDRENDERERV2WIDGET_H
#define QGSRULEBASEDRENDERERV2WIDGET_H
#ifndef QGSRULEBASEDRENDERERWIDGET_H
#define QGSRULEBASEDRENDERERWIDGET_H

#include "qgsrendererwidget.h"
#include "qgis.h"
Expand Down Expand Up @@ -100,7 +100,7 @@ class GUI_EXPORT QgsRuleBasedRendererModel : public QAbstractItemModel

///////

#include "ui_qgsrulebasedrendererv2widget.h"
#include "ui_qgsrulebasedrendererwidget.h"

/**
* \ingroup gui
Expand Down Expand Up @@ -282,4 +282,4 @@ class GUI_EXPORT QgsRendererRulePropsDialog : public QDialog
};


#endif // QGSRULEBASEDRENDERERV2WIDGET_H
#endif // QGSRULEBASEDRENDERERWIDGET_H
6 changes: 3 additions & 3 deletions src/gui/symbology/qgssinglesymbolrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSSINGLESYMBOLRENDERERV2WIDGET_H
#define QGSSINGLESYMBOLRENDERERV2WIDGET_H
#ifndef QGSSINGLESYMBOLRENDERERWIDGET_H
#define QGSSINGLESYMBOLRENDERERWIDGET_H

#include "qgsrendererwidget.h"
#include "qgis.h"
Expand Down Expand Up @@ -64,4 +64,4 @@ class GUI_EXPORT QgsSingleSymbolRendererWidget : public QgsRendererWidget
};


#endif // QGSSINGLESYMBOLRENDERERV2WIDGET_H
#endif // QGSSINGLESYMBOLRENDERERWIDGET_H
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/src/gui/testrenderergui.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef TESTRENDERERV2GUI_H
#define TESTRENDERERV2GUI_H
#ifndef TESTRENDERERGUI_H
#define TESTRENDERERGUI_H

#include <QMainWindow>

Expand All @@ -35,4 +35,4 @@ class TestRendererGUI : public QMainWindow
QgsMapCanvas *mMapCanvas = nullptr;
};

#endif // TESTRENDERERV2GUI_H
#endif // TESTRENDERERGUI_H

0 comments on commit e9deafc

Please sign in to comment.