QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A dialog for configuring a QgsColorRampLegendNode (QgsColorRampLegendNodeSettings). More...
#include <qgscolorramplegendnodewidget.h>
Public Member Functions | |
QgsColorRampLegendNodeDialog (const QgsColorRampLegendNodeSettings &settings, QWidget *parent SIP_TRANSFERTHIS=nullptr) | |
Constructor for QgsColorRampLegendNodeDialog, initially showing the specified settings. More... | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. More... | |
QgsColorRampLegendNodeSettings | settings () const |
Returns the legend node settings as defined by the dialog. More... | |
void | setUseContinuousRampCheckBoxVisibility (bool visible) |
Sets visibility for the "Use Continuous Legend" checkbox in the legend settings dialog to visible. More... | |
A dialog for configuring a QgsColorRampLegendNode (QgsColorRampLegendNodeSettings).
Definition at line 93 of file qgscolorramplegendnodewidget.h.
QgsColorRampLegendNodeDialog::QgsColorRampLegendNodeDialog | ( | const QgsColorRampLegendNodeSettings & | settings, |
QWidget *parent | SIP_TRANSFERTHIS = nullptr |
||
) |
Constructor for QgsColorRampLegendNodeDialog, initially showing the specified settings.
Definition at line 139 of file qgscolorramplegendnodewidget.cpp.
QDialogButtonBox * QgsColorRampLegendNodeDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 161 of file qgscolorramplegendnodewidget.cpp.
QgsColorRampLegendNodeSettings QgsColorRampLegendNodeDialog::settings | ( | ) | const |
Returns the legend node settings as defined by the dialog.
Definition at line 156 of file qgscolorramplegendnodewidget.cpp.
void QgsColorRampLegendNodeDialog::setUseContinuousRampCheckBoxVisibility | ( | bool | visible | ) |
Sets visibility for the "Use Continuous Legend" checkbox in the legend settings dialog to visible.
This widget is visible and checked by default but in a few cases it does not need to be visible because disabling it would not make sense (for instance when using single band gray renderer).
Definition at line 166 of file qgscolorramplegendnodewidget.cpp.