Summary

This MR adds a complete plotting API (QtCurve, QtScatter,
QtDensityPlot, QtHistogram) to the QtFITSviewer class, covering
all numeric FITS column types including vector and complex columns. It
also promotes QCustomContours.h to a public include, fixes the Qt6
test build, and adds comprehensive Doxygen documentation.

Changes by file


src/QtFitsPloting.cxx (+1508 / -1)

New public methods (type-dispatched via dtype_pair switch):



Method
Overloads
Notes




QtCurve

(x, y), (y)

Scalar, vector and complex columns


QtScatter

(x, y), (y)

Same dispatch as QtCurve



QtDensityPlot
4 overloads
2-D histogram / heatmap with optional Z weight and log scaling


QtHistogram
3 overloads
1-D histogram; 0-bin count triggers Sturges auto rule



New internal helpers:


_QtDensityCore — non-template kernel shared by all QtDensityPlot overloads (bitmask logFlag: 0x1 = log x, 0x2 = log y, 0x4 = log z)

_QtHistogramCore — non-template kernel shared by all QtHistogram overloads

applyPlotOptions(QCPGraph*, string) — parses a key=value option string to set line colour/width/style and marker shape/size/colour at runtime


src/QtFITSviewer.h (+1010 / -1)


Doxygen block comments on all protected template helpers (_QtCurve, _QtCplxCurve, _QtVectorCurve, _QtCplxVectorCurve)
Declarations of _QtDensityCore and _QtHistogramCore kernels
Doxygen on pixelDistribution struct and its fields


src/QCustomContours.h (-249)

File removed — it was already promoted to include/DSTdisplay/QCustomContours.h in a prior commit. The old copy in src/ is now deleted.

include/DSTdisplay/QtFitsPloting.h (+74 / -1)


Doxygen block comment on dtype_pair(a, b) explaining the 32-bit packing scheme


include/DSTdisplay/DSD_version.h (+137 / -1)


Full Doxygen class comment on gGIT (singleton lifecycle, thread-safety note, version string format)
Per-method Doxygen for all public static methods and comparison operators
Inline /// comments on private data members


CMakeLists.txt (+7)


Added Qt6-guarded target_include_directories block inside the test foreach loop so that test targets including QtFITSviewer.h can find the autogenerated ui_QtFITSviewer.h from DSTdisplay_autogen/include



Points for reviewer attention



Type coverage: the QtCurve / QtScatter dispatch handles every numeric DSL::dtype combination (signed/unsigned × scalar/vector × all widths). Please verify no relevant type pair is missing in the switch table.

Complex column convention: single-argument overloads map real → x, imag → y (Argand diagram). The behaviour when a user passes a complex column to the two-argument overload is explicitly rejected with BAD_TFORM_DTYPE. Is that the intended API contract?

QCPGraph ownership: new graphs are wrapped in shared_ptr with a no-op deleter because QCustomPlot takes ownership. Worth a quick sanity check in the context of the clearGraphs() / clearPlottables() calls in the viewer.

Thread worker count (b7c4733): the relaxation of the thread count cap was included in this branch — it may warrant its own MR review if it is not directly related to the plotting feature.