Skip to content
Permalink
Browse files

Change all ocurrences on_buttonBox_helpRequested to showHelp

Add help button to 3 dialogs
Fix missing QStringLiteral
Fix CMakeLists.txt indentation
Fix qhelp.h and qgis_sip.h includes with <>
  • Loading branch information
jgrocha committed Aug 15, 2017
1 parent c07ac6e commit fe59a19e179f6545a4cc1420fdba746a848bdcc2
Showing with 297 additions and 149 deletions.
  1. +0 −5 python/gui/qgsnewhttpconnection.sip
  2. +1 −1 python/gui/qgsnewvectorlayerdialog.sip
  3. +0 −2 python/gui/qgsquerybuilder.sip
  4. +0 −5 python/gui/qgssearchquerybuilder.sip
  5. +2 −1 python/gui/symbology/qgsstylemanagerdialog.sip
  6. +5 −1 src/app/pluginmanager/qgspluginmanager.cpp
  7. +1 −1 src/app/pluginmanager/qgspluginmanager.h
  8. +5 −0 src/app/qgscustomprojectiondialog.cpp
  9. +1 −2 src/app/qgscustomprojectiondialog.h
  10. +2 −1 src/app/qgsdecorationcopyrightdialog.cpp
  11. +1 −1 src/app/qgsdecorationcopyrightdialog.h
  12. +2 −1 src/app/qgsdecorationgriddialog.cpp
  13. +1 −1 src/app/qgsdecorationgriddialog.h
  14. +2 −1 src/app/qgsdecorationnortharrowdialog.cpp
  15. +1 −1 src/app/qgsdecorationnortharrowdialog.h
  16. +2 −1 src/app/qgsdecorationscalebardialog.cpp
  17. +1 −1 src/app/qgsdecorationscalebardialog.h
  18. +3 −3 src/app/qgsfieldcalculator.cpp
  19. +1 −1 src/app/qgsfieldcalculator.h
  20. +6 −1 src/app/qgsidentifyresultsdialog.cpp
  21. +2 −2 src/app/qgsidentifyresultsdialog.h
  22. +6 −0 src/app/qgsmeasuredialog.cpp
  23. +2 −3 src/app/qgsmeasuredialog.h
  24. +6 −0 src/app/qgsnewspatialitelayerdialog.cpp
  25. +2 −1 src/app/qgsnewspatialitelayerdialog.h
  26. +6 −0 src/app/qgsoptions.cpp
  27. +2 −3 src/app/qgsoptions.h
  28. +7 −0 src/app/qgsprojectproperties.cpp
  29. +2 −5 src/app/qgsprojectproperties.h
  30. +7 −0 src/app/qgsrasterlayerproperties.cpp
  31. +1 −1 src/app/qgsrasterlayerproperties.h
  32. +7 −0 src/app/qgsvectorlayerproperties.cpp
  33. +2 −1 src/app/qgsvectorlayerproperties.h
  34. +3 −3 src/core/CMakeLists.txt
  35. +7 −7 src/gui/ogr/qgsnewogrconnection.cpp
  36. +1 −1 src/gui/ogr/qgsnewogrconnection.h
  37. +7 −0 src/gui/ogr/qgsvectorlayersaveasdialog.cpp
  38. +1 −1 src/gui/ogr/qgsvectorlayersaveasdialog.h
  39. +3 −3 src/gui/qgsnewgeopackagelayerdialog.cpp
  40. +1 −1 src/gui/qgsnewgeopackagelayerdialog.h
  41. +3 −3 src/gui/qgsnewhttpconnection.cpp
  42. +2 −5 src/gui/qgsnewhttpconnection.h
  43. +6 −0 src/gui/qgsnewvectorlayerdialog.cpp
  44. +1 −1 src/gui/qgsnewvectorlayerdialog.h
  45. +3 −3 src/gui/qgsprojectionselectiondialog.cpp
  46. +1 −1 src/gui/qgsprojectionselectiondialog.h
  47. +6 −0 src/gui/qgsquerybuilder.cpp
  48. +2 −2 src/gui/qgsquerybuilder.h
  49. +3 −3 src/gui/qgssearchquerybuilder.cpp
  50. +5 −5 src/gui/qgssearchquerybuilder.h
  51. +3 −3 src/gui/qgssqlcomposerdialog.cpp
  52. +1 −1 src/gui/qgssqlcomposerdialog.h
  53. +2 −1 src/gui/symbology/qgscptcitycolorrampdialog.cpp
  54. +1 −1 src/gui/symbology/qgscptcitycolorrampdialog.h
  55. +11 −0 src/gui/symbology/qgsstylemanagerdialog.cpp
  56. +2 −1 src/gui/symbology/qgsstylemanagerdialog.h
  57. +0 −1 src/plugins/coordinate_capture/coordinatecapturegui.h
  58. +6 −0 src/plugins/evis/databaseconnection/evisdatabaseconnectiongui.cpp
  59. +1 −1 src/plugins/evis/databaseconnection/evisdatabaseconnectiongui.h
  60. +6 −0 src/plugins/gps_importer/qgsgpsplugingui.cpp
  61. +1 −1 src/plugins/gps_importer/qgsgpsplugingui.h
  62. +2 −2 src/plugins/offline_editing/offline_editing_plugin_gui.cpp
  63. +1 −1 src/plugins/offline_editing/offline_editing_plugin_gui.h
  64. +1 −1 src/plugins/offline_editing/offline_editing_plugin_guibase.ui
  65. +3 −2 src/plugins/plugin_template/plugingui.cpp
  66. +1 −1 src/plugins/plugin_template/plugingui.h
  67. +4 −4 src/providers/arcgisrest/qgsarcgisservicesourceselect.cpp
  68. +1 −1 src/providers/arcgisrest/qgsarcgisservicesourceselect.h
  69. +6 −0 src/providers/db2/qgsdb2newconnection.cpp
  70. +1 −1 src/providers/db2/qgsdb2newconnection.h
  71. +7 −0 src/providers/db2/qgsdb2sourceselect.cpp
  72. +3 −2 src/providers/db2/qgsdb2sourceselect.h
  73. +6 −0 src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp
  74. +1 −4 src/providers/delimitedtext/qgsdelimitedtextsourceselect.h
  75. +5 −0 src/providers/mssql/qgsmssqlnewconnection.cpp
  76. +2 −1 src/providers/mssql/qgsmssqlnewconnection.h
  77. +6 −0 src/providers/mssql/qgsmssqlsourceselect.cpp
  78. +3 −2 src/providers/mssql/qgsmssqlsourceselect.h
  79. +5 −0 src/providers/ogr/qgsogrsourceselect.cpp
  80. +1 −1 src/providers/ogr/qgsogrsourceselect.h
  81. +7 −0 src/providers/oracle/qgsoraclenewconnection.cpp
  82. +1 −1 src/providers/oracle/qgsoraclenewconnection.h
  83. +6 −0 src/providers/oracle/qgsoraclesourceselect.cpp
  84. +3 −2 src/providers/oracle/qgsoraclesourceselect.h
  85. +6 −0 src/providers/postgres/qgspgnewconnection.cpp
  86. +2 −1 src/providers/postgres/qgspgnewconnection.h
  87. +6 −0 src/providers/postgres/qgspgsourceselect.cpp
  88. +2 −2 src/providers/postgres/qgspgsourceselect.h
  89. +6 −0 src/providers/spatialite/qgsspatialitesourceselect.cpp
  90. +1 −1 src/providers/spatialite/qgsspatialitesourceselect.h
  91. +6 −0 src/providers/wfs/qgswfssourceselect.cpp
  92. +2 −3 src/providers/wfs/qgswfssourceselect.h
  93. +6 −0 src/providers/wms/qgswmssourceselect.cpp
  94. +1 −2 src/providers/wms/qgswmssourceselect.h
  95. +1 −1 src/ui/qgsdb2newconnectionbase.ui
  96. +1 −1 src/ui/qgsdecorationgriddialog.ui
  97. +3 −16 src/ui/qgsstylemanagerdialogbase.ui
@@ -29,11 +29,6 @@ Constructor
public slots:
virtual void accept();


void helpRequest();
%Docstring
Open the help in a browser
%End
void on_txtName_textChanged( const QString & );
void on_txtUrl_textChanged( const QString & );

@@ -65,7 +65,7 @@ Returns the file format for storage
void on_mRemoveAttributeButton_clicked();
void on_mFileFormatComboBox_currentIndexChanged( int index );
void on_mTypeBox_currentIndexChanged( int index );
void on_buttonBox_helpRequested();
void showHelp();
void nameChanged( const QString & );
void selectionChanged();

@@ -68,8 +68,6 @@ class QgsQueryBuilder : QDialog
void on_btnNot_clicked();
void on_btnOr_clicked();

void on_buttonBox_helpRequested();

void test();
%Docstring
Test the constructed sql statement to see if the vector layer data provider likes it.
@@ -78,11 +78,6 @@ change search string shown in text field
are inserted into the values list box.
%End

void helpRequest();
%Docstring
Open the help in a browser
%End

void saveQuery();
void loadQuery();

@@ -47,7 +47,8 @@ adds symbols of some type to list
called when the dialog is going to be closed
%End

void on_buttonBox_helpRequested();
void onClose();
void showHelp();

void itemChanged( QStandardItem *item );

@@ -67,6 +67,7 @@ QgsPluginManager::QgsPluginManager( QWidget *parent, bool pluginsAreEnabled, Qt:
mPythonUtils = nullptr;

setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsPluginManager::showHelp );

// QgsOptionsDialogBase handles saving/restoring of geometry, splitter and current tab states,
// switching vertical tabs between icon/text to icon-only modes (splitter collapsed to left),
@@ -1576,4 +1577,7 @@ void QgsPluginManager::pushMessage( const QString &text, QgsMessageBar::MessageL
msgBar->pushMessage( text, level, duration );
}


void QgsPluginManager::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "plugins/plugins.html" ) );
}
@@ -155,7 +155,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
void on_ckbDeprecated_toggled( bool state );

//! Open help browser
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "plugins/plugins.html" ) ); }
void showHelp();

//! Reimplement QgsOptionsDialogBase method to prevent modifying the tab list by signals from the stacked widget
void optionsStackedWidget_CurrentChanged( int indx ) { Q_UNUSED( indx ) }
@@ -47,6 +47,7 @@ QgsCustomProjectionDialog::QgsCustomProjectionDialog( QWidget *parent, Qt::Windo
: QDialog( parent, fl )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsCustomProjectionDialog::showHelp );

QgsSettings settings;
restoreGeometry( settings.value( QStringLiteral( "Windows/CustomProjection/geometry" ) ).toByteArray() );
@@ -531,3 +532,7 @@ QString QgsCustomProjectionDialog::quotedValue( QString value )
return value.prepend( '\'' ).append( '\'' );
}

void QgsCustomProjectionDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "working_with_projections/working_with_projections.html" ) );
}
@@ -41,8 +41,6 @@ class APP_EXPORT QgsCustomProjectionDialog : public QDialog, private Ui::QgsCust
void on_pbnRemove_clicked();
void on_pbnCopyCRS_clicked();
void on_leNameList_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_projections/working_with_projections.html" ) ); }
void on_buttonBox_accepted();

private:
@@ -53,6 +51,7 @@ class APP_EXPORT QgsCustomProjectionDialog : public QDialog, private Ui::QgsCust
bool deleteCrs( const QString &id );
bool saveCrs( QgsCoordinateReferenceSystem myParameters, const QString &myName, QString myId, bool newEntry );
void insertProjection( const QString &myProjectionAcronym );
void showHelp();

//These two QMap store the values as they are on the database when loading
QMap <QString, QString> existingCRSparameters;
@@ -28,6 +28,7 @@ QgsDecorationCopyrightDialog::QgsDecorationCopyrightDialog( QgsDecorationCopyrig
, mDeco( deco )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsDecorationCopyrightDialog::showHelp );

QgsSettings settings;
restoreGeometry( settings.value( QStringLiteral( "Windows/DecorationCopyright/geometry" ) ).toByteArray() );
@@ -99,7 +100,7 @@ void QgsDecorationCopyrightDialog::apply()
mDeco.update();
}

void QgsDecorationCopyrightDialog::on_buttonBox_helpRequested()
void QgsDecorationCopyrightDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#copyright-label" ) );
}
@@ -31,7 +31,7 @@ class APP_EXPORT QgsDecorationCopyrightDialog : public QDialog, private Ui::QgsD
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void showHelp();
void on_pbnColorChooser_colorChanged( const QColor &c );
void apply();

@@ -33,6 +33,7 @@ QgsDecorationGridDialog::QgsDecorationGridDialog( QgsDecorationGrid &deco, QWidg
, mDeco( deco )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsDecorationGridDialog::showHelp );

mMarkerSymbolButton->setSymbolType( QgsSymbol::Marker );
mLineSymbolButton->setSymbolType( QgsSymbol::Line );
@@ -157,7 +158,7 @@ QgsDecorationGridDialog::~QgsDecorationGridDialog()
settings.setValue( QStringLiteral( "/Windows/DecorationGrid/geometry" ), saveGeometry() );
}

void QgsDecorationGridDialog::on_buttonBox_helpRequested()
void QgsDecorationGridDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#grid" ) );
}
@@ -38,7 +38,7 @@ class APP_EXPORT QgsDecorationGridDialog : public QDialog, private Ui::QgsDecora
void apply();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void showHelp();
void on_mGridTypeComboBox_currentIndexChanged( int index );
void on_mPbtnUpdateFromExtents_clicked();
void on_mPbtnUpdateFromLayer_clicked();
@@ -34,6 +34,7 @@ QgsDecorationNorthArrowDialog::QgsDecorationNorthArrowDialog( QgsDecorationNorth

QPushButton *applyButton = buttonBox->button( QDialogButtonBox::Apply );
connect( applyButton, &QAbstractButton::clicked, this, &QgsDecorationNorthArrowDialog::apply );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsDecorationNorthArrowDialog::showHelp );

// signal/slot connection defined in 'designer' causes the slider to
// be moved to reflect the change in the spinbox.
@@ -78,7 +79,7 @@ QgsDecorationNorthArrowDialog::~QgsDecorationNorthArrowDialog()
settings.setValue( QStringLiteral( "Windows/DecorationNorthArrow/geometry" ), saveGeometry() );
}

void QgsDecorationNorthArrowDialog::on_buttonBox_helpRequested()
void QgsDecorationNorthArrowDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#north-arrow" ) );
}
@@ -32,7 +32,7 @@ class APP_EXPORT QgsDecorationNorthArrowDialog : public QDialog, private Ui::Qgs
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void showHelp();
void on_spinAngle_valueChanged( int spinAngle );
void on_sliderRotation_valueChanged( int rotationValue );
void apply();
@@ -25,6 +25,7 @@ QgsDecorationScaleBarDialog::QgsDecorationScaleBarDialog( QgsDecorationScaleBar
, mDeco( deco )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsDecorationScaleBarDialog::showHelp );

QgsSettings settings;
restoreGeometry( settings.value( QStringLiteral( "Windows/DecorationScaleBar/geometry" ) ).toByteArray() );
@@ -88,7 +89,7 @@ QgsDecorationScaleBarDialog::~QgsDecorationScaleBarDialog()
settings.setValue( QStringLiteral( "Windows/DecorationScaleBar/geometry" ), saveGeometry() );
}

void QgsDecorationScaleBarDialog::on_buttonBox_helpRequested()
void QgsDecorationScaleBarDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#scale-bar" ) );
}
@@ -29,7 +29,7 @@ class APP_EXPORT QgsDecorationScaleBarDialog : public QDialog, private Ui::QgsDe
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void showHelp();
void apply();

protected:
@@ -53,7 +53,7 @@ QgsFieldCalculator::QgsFieldCalculator( QgsVectorLayer *vl, QWidget *parent )

connect( builder, &QgsExpressionBuilderWidget::expressionParsed, this, &QgsFieldCalculator::setOkButtonState );
connect( mOutputFieldWidthSpinBox, &QAbstractSpinBox::editingFinished, this, &QgsFieldCalculator::setPrecisionMinMax );
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsFieldCalculator::helpRequest );
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsFieldCalculator::showHelp );

QgsDistanceArea myDa;
myDa.setSourceCrs( vl->crs() );
@@ -484,7 +484,7 @@ void QgsFieldCalculator::setPrecisionMinMax()
mOutputFieldPrecisionSpinBox->setMaximum( qMax( minPrecType, qMin( maxPrecType, mOutputFieldWidthSpinBox->value() ) ) );
}

void QgsFieldCalculator::helpRequest()
void QgsFieldCalculator::showHelp()
{
QgsHelp::openHelp( "working_with_vector/attribute_table.html#editing-attribute-values" );
QgsHelp::openHelp( QStringLiteral( "working_with_vector/attribute_table.html#editing-attribute-values" ) );
}
@@ -41,12 +41,12 @@ class APP_EXPORT QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalcula
void on_mCreateVirtualFieldCheckbox_stateChanged( int state );
void on_mOutputFieldNameLineEdit_textChanged( const QString &text );
void on_mOutputFieldTypeComboBox_activated( int index );
void helpRequest();

private slots:
//! Sets the OK button enabled / disabled
void setOkButtonState();
void setPrecisionMinMax();
void showHelp();

private:
//! default constructor forbidden
@@ -402,7 +402,7 @@ QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidge
connect( mActionPrint, &QAction::triggered, this, &QgsIdentifyResultsDialog::printCurrentItem );
connect( mOpenFormAction, &QAction::triggered, this, &QgsIdentifyResultsDialog::featureForm );
connect( mClearResultsAction, &QAction::triggered, this, &QgsIdentifyResultsDialog::clear );
connect( mHelpToolButton, &QAbstractButton::clicked, this, &QgsIdentifyResultsDialog::helpRequested );
connect( mHelpToolButton, &QAbstractButton::clicked, this, &QgsIdentifyResultsDialog::showHelp );
}

QgsIdentifyResultsDialog::~QgsIdentifyResultsDialog()
@@ -1968,3 +1968,8 @@ void QgsIdentifyResultsDialogMapLayerAction::execute()
{
mAction->triggerForFeature( mLayer, mFeature );
}

void QgsIdentifyResultsDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#identify" ) );
}
@@ -201,8 +201,6 @@ class APP_EXPORT QgsIdentifyResultsDialog: public QDialog, private Ui::QgsIdenti

QTreeWidgetItem *retrieveAttributes( QTreeWidgetItem *item, QgsAttributeMap &attributes, int &currentIdx );

void helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#identify" ) ); }

void on_cmbIdentifyMode_currentIndexChanged( int index );

void on_cmbViewMode_currentIndexChanged( int index );
@@ -261,6 +259,8 @@ class APP_EXPORT QgsIdentifyResultsDialog: public QDialog, private Ui::QgsIdenti
QgsDockWidget *mDock = nullptr;

QVector<QgsIdentifyPlotCurve *> mPlotCurves;

void showHelp();
};

class QgsIdentifyResultsDialogMapLayerAction : public QAction
@@ -36,6 +36,7 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool *tool, Qt::WindowFlags f )
, mTool( tool )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsMeasureDialog::showHelp );

QPushButton *nb = new QPushButton( tr( "&New" ) );
buttonBox->addButton( nb, QDialogButtonBox::ActionRole );
@@ -564,3 +565,8 @@ void QgsMeasureDialog::reject()
restart();
QDialog::close();
}

void QgsMeasureDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#measuring" ) );
}
@@ -60,9 +60,6 @@ class APP_EXPORT QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase
//! Close event
void closeEvent( QCloseEvent *e ) override;

//! Show the help for the dialog
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#measuring" ) ); }

//! When any external settings change
void updateSettings();

@@ -119,6 +116,8 @@ class APP_EXPORT QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase

QgsPointXY mLastMousePoint;

void showHelp();

friend class TestQgsMeasureTool;
};

@@ -83,6 +83,8 @@ QgsNewSpatialiteLayerDialog::QgsNewSpatialiteLayerDialog( QWidget *parent, Qt::W
connect( leLayerName, &QLineEdit::textChanged, this, &QgsNewSpatialiteLayerDialog::checkOk );
connect( checkBoxPrimaryKey, &QAbstractButton::clicked, this, &QgsNewSpatialiteLayerDialog::checkOk );

connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsNewSpatialiteLayerDialog::showHelp );

mAddAttributeButton->setEnabled( false );
mRemoveAttributeButton->setEnabled( false );

@@ -456,4 +458,8 @@ QString QgsNewSpatialiteLayerDialog::quotedValue( QString value )
return value.prepend( '\'' ).append( '\'' );
}

void QgsNewSpatialiteLayerDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#creating-a-new-spatialite-layer" ) );
}

@@ -49,7 +49,6 @@ class APP_EXPORT QgsNewSpatialiteLayerDialog: public QDialog, private Ui::QgsNew
void selectionChanged();
void checkOk();

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#creating-a-new-spatialite-layer" ) ); }
void on_buttonBox_accepted();
void on_buttonBox_rejected();

@@ -62,6 +61,8 @@ class APP_EXPORT QgsNewSpatialiteLayerDialog: public QDialog, private Ui::QgsNew

bool apply();

void showHelp();

static QString quotedIdentifier( QString id );
static QString quotedValue( QString value );

@@ -82,6 +82,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
, mSettings( nullptr )
{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsOptions::showHelp );

// QgsOptionsDialogBase handles saving/restoring of geometry, splitter and current tab states,
// switching vertical tabs between icon/text to icon-only modes (splitter collapsed to left),
@@ -2352,3 +2353,8 @@ void QgsOptions::setZoomFactorValue()
spinZoomFactor->setValue( percentValue );
}
}

void QgsOptions::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/qgis_configuration.html#options" ) );
}
@@ -180,9 +180,6 @@ class APP_EXPORT QgsOptions : public QgsOptionsDialogBase, private Ui::QgsOption
* for the browser */
void on_mBtnRemoveHiddenPath_clicked();


void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/qgis_configuration.html#options" ) ); }

void on_mBrowseCacheDirectory_clicked();
void on_mClearCache_clicked();

@@ -241,6 +238,8 @@ class APP_EXPORT QgsOptions : public QgsOptionsDialogBase, private Ui::QgsOption

void saveDefaultDatumTransformations();

void showHelp();

QListWidgetItem *addScaleToScaleList( const QString &newScale );
void addScaleToScaleList( QListWidgetItem *newItem );

0 comments on commit fe59a19

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