QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Functions | Variables
qgsrasterhistogramwidget.cpp File Reference
#include "qgsapplication.h"
#include "qgsguiutils.h"
#include "qgsrasterrendererwidget.h"
#include "qgsrasterhistogramwidget.h"
#include "qgsrasterminmaxwidget.h"
#include "qgsdoublevalidator.h"
#include "qgssettings.h"
#include "qgsrasterlayer.h"
#include <QMenu>
#include <QFileInfo>
#include <QDir>
#include <QPainter>
#include <QActionGroup>
#include <QRandomGenerator>
#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 <qwt_scale_div.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 1046 of file qgsrasterhistogramwidget.cpp.

Variable Documentation

◆ SAMPLE_SIZE

constexpr int SAMPLE_SIZE = 250000
constexpr

Definition at line 54 of file qgsrasterhistogramwidget.cpp.