Kstars
legend.h
28 * or QPainter subclass (useful eg. with QSvgGenerator class, which can't be painted by two QPainter
73 explicit Legend(LEGEND_ORIENTATION orientation = LO_HORIZONTAL, LEGEND_POSITION pos = LP_FLOATING);
276 * subclass and should be initialized by its begin() method. After legend is painted, SkyQPainter
297 * subclass and should be initialized by its begin() method. After legend is painted, SkyQPainter
330 * bar size is determined by current values set by setMaxHScalePixels()/setMaxVScalePixels() method.
This class stores all of the adjustable colors in KStars, in a QMap object keyed by the names of the ...
Definition colorscheme.h:27
Legend class is used for painting legends on class inheriting QPaintDevice.
Definition legend.h:33
void setMaxHScalePixels(int pixels)
Set maximal horizontal scale size in pixels.
Definition legend.h:220
QSize calculateSize()
Calculates size of legend that will be painted using current settings.
Definition legend.cpp:46
void setBRectHeight(int height)
Set symbol description's bounding rectangle height.
Definition legend.h:214
int getBRectHeight() const
Get symbol description's bounding rectangle height.
Definition legend.h:130
void paintLegend(QPaintDevice *pd)
Paint legend on passed QPaintDevice at selected position.
Definition legend.cpp:154
void setMaxVScalePixels(int pixels)
Set maximal vertical scale size in pixels.
Definition legend.h:226
void setBRectWidth(int width)
Set symbol description's bounding rectangle width.
Definition legend.h:208
Legend(LEGEND_ORIENTATION orientation=LO_HORIZONTAL, LEGEND_POSITION pos=LP_FLOATING)
Constructor.
Definition legend.cpp:28
ColorScheme
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:53:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:53:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.