Skip to content
Permalink
Browse files

[addlayerbutton] Added help button (URL is still a placeholder)

  • Loading branch information
elpaso committed Jun 2, 2017
1 parent e121cfb commit 2f9b844a833595b72bb6202f4c105e7f093ada13
@@ -127,6 +127,7 @@ void QgsDataSourceManagerDialog::vectorLayersAdded( const QStringList &layerQStr
}



QDialog *QgsDataSourceManagerDialog::providerDialog( const QString providerKey, const QString providerName, const QString icon )
{
QDialog *dlg = dynamic_cast<QDialog *>( QgsProviderRegistry::instance()->createSelectionWidget( providerKey, this, Qt::Widget, true ) );
@@ -21,6 +21,7 @@
#include <QDialog>
#include "qgsoptionsdialogbase.h"
#include "qgsguiutils.h"
#include "qgshelp.h"

class QgsBrowserDockWidget;
class QgsRasterLayer;
@@ -48,6 +49,7 @@ class QgsDataSourceManagerDialog : public QgsOptionsDialogBase
void rasterLayerAdded( QString const &uri, QString const &baseName, QString const &providerKey );
void vectorLayerAdded( const QString &vectorLayerPath, const QString &baseName, const QString &providerKey );
void vectorLayersAdded( const QStringList &layerQStringList, const QString &enc, const QString &dataSourceType );
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "TODO_PLACEHOLDER.html" ) ); }

signals:
//! For signal forwarding to QgisApp
@@ -184,7 +184,7 @@
<item row="0" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
</property>
</widget>
</item>

0 comments on commit 2f9b844

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