Skip to content
Permalink
Browse files
Avoid including QgsWebView from installed header
  • Loading branch information
manisandro authored and nyalldawson committed Jun 23, 2021
1 parent 908e38a commit 38b419639fa2f72cb45e4239280e2a7e838ed408
@@ -105,6 +105,10 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanv
mRGBMinimumMaximumEstimated = true;

setupUi( this );

mMetadataViewer = new QgsWebView( this );
mOptsPage_Information->layout()->addWidget( mMetadataViewer );

connect( mLayerOrigNameLineEd, &QLineEdit::textEdited, this, &QgsRasterLayerProperties::mLayerOrigNameLineEd_textEdited );
connect( buttonBuildPyramids, &QPushButton::clicked, this, &QgsRasterLayerProperties::buttonBuildPyramids_clicked );
connect( pbnAddValuesFromDisplay, &QToolButton::clicked, this, &QgsRasterLayerProperties::pbnAddValuesFromDisplay_clicked );
@@ -275,6 +275,8 @@ class GUI_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private

QgsProviderSourceWidget *mSourceWidget = nullptr;

QgsWebView *mMetadataViewer = nullptr;

friend class QgsAppScreenShots;
};
#endif
@@ -270,9 +270,6 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QgsWebView" name="mMetadataViewer" native="true"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="mOptsPage_Source">
@@ -2267,12 +2264,6 @@ p, li { white-space: pre-wrap; }
<header>qgsprojectionselectionwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsWebView</class>
<extends>QWidget</extends>
<header>qgswebview.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsScrollArea</class>
<extends>QScrollArea</extends>

0 comments on commit 38b4196

Please sign in to comment.