KChart
9#ifndef KCHARTBACKGROUNDATTRIBUTES_H
10#define KCHARTBACKGROUNDATTRIBUTES_H
22class KCHART_EXPORT BackgroundAttributes
25 BackgroundAttributes();
26 BackgroundAttributes(
const BackgroundAttributes& );
27 BackgroundAttributes &operator= (
const BackgroundAttributes& );
29 ~BackgroundAttributes();
31 enum BackgroundPixmapMode { BackgroundPixmapModeNone,
32 BackgroundPixmapModeCentered,
33 BackgroundPixmapModeScaled,
34 BackgroundPixmapModeStretched };
36 void setVisible(
bool visible );
37 bool isVisible()
const;
39 void setBrush(
const QBrush &brush );
42 void setPixmapMode( BackgroundPixmapMode mode );
43 BackgroundPixmapMode pixmapMode()
const;
45 void setPixmap(
const QPixmap &backPixmap );
48 bool operator==(
const BackgroundAttributes& )
const;
49 inline bool operator!=(
const BackgroundAttributes& other )
const {
return !operator==(other); }
51 bool isEqualTo(
const BackgroundAttributes& other,
bool ignorePixmap=
false )
const;
54 KCHART_DECLARE_PRIVATE_BASE_VALUE( BackgroundAttributes )
59#if !defined(QT_NO_DEBUG_STREAM)
Set of attributes usable for background pixmaps.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.