QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Functions | Variables
qgsrasterhistogramwidget.cpp File Reference
#include "qgsapplication.h"
#include "qgsguiutils.h"
#include "qgsrasterrendererregistry.h"
#include "qgsrasterrendererwidget.h"
#include "qgsrasterhistogramwidget.h"
#include "qgsrasterminmaxwidget.h"
#include "qgsrasterdataprovider.h"
#include "qgsdoublevalidator.h"
#include "qgssettings.h"
#include <QMenu>
#include <QFileInfo>
#include <QDir>
#include <QPainter>
#include <qwt_global.h>
#include <qwt_plot_canvas.h>
#include <qwt_legend.h>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_plot_grid.h>
#include <qwt_plot_marker.h>
#include <qwt_plot_picker.h>
#include <qwt_picker_machine.h>
#include <qwt_plot_zoomer.h>
#include <qwt_plot_layout.h>
#include <qwt_plot_renderer.h>
#include <qwt_plot_histogram.h>
Include dependency graph for qgsrasterhistogramwidget.cpp:

Go to the source code of this file.

Functions

QString findClosestTickVal (double target, const QwtScaleDiv *scale, int div=100)
 

Variables

constexpr int SAMPLE_SIZE = 250000
 

Function Documentation

◆ findClosestTickVal()

QString findClosestTickVal ( double  target,
const QwtScaleDiv *  scale,
int  div = 100 
)

Definition at line 1043 of file qgsrasterhistogramwidget.cpp.

Variable Documentation

◆ SAMPLE_SIZE

constexpr int SAMPLE_SIZE = 250000
constexpr

Definition at line 52 of file qgsrasterhistogramwidget.cpp.