v2.0.0
Loading...
Searching...
No Matches
bar.cpp File Reference

Implementation of the Bar histogram widget (axis layout and bar drawing). More...

#include "bar.h"
#include <QPainter>
#include <QPaintEvent>
Include dependency graph for bar.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the Bar histogram widget (axis layout and bar drawing).

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Andreas Griesshammer ag@fi.nosp@m.eldl.nosp@m.inein.nosp@m.c.co.nosp@m.m; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

Computes the per-bin pixel rectangles from the class limits, formats the tick labels via Bar::splitCoefficientAndExponent() so very small or very large class-limit values render compactly, and paints the bars and axes in paintEvent().

Definition in file bar.cpp.