filelight
map.cpp
Go to the documentation of this file.
50 MAP_2MARGIN = 2 * (fmh - (fmhD4 - LABEL_MAP_SPACER)); //margin is dependent on fitting in labels at top and bottom
114 //this also causes uneven sizes to always resize when resizing but map is small in that dimension
155 QColor kdeColour[2] = { KGlobalSettings::inactiveTitleColor(), KGlobalSettings::activeTitleColor() };
157 double deltaRed = (double)(kdeColour[0].red() - kdeColour[1].red()) / 2880; //2880 for semicircle
250 //**** you have to ensure the grey of files is sufficient, currently it works only with rainbow (perhaps use contrast there too)
253 //**** darkness factor is not done for kde_colour scheme, and also value for files is incorrect really for files in this scheme as it is not set like rainbow one is
304 for (ConstIterator<Segment> it = m_signature[x].constIterator(); it != m_signature[x].end(); ++it)
const QBrush & highlight() const
int & rx()
int & ry()
bool end()
Definition: Config.h:31
#define mw
void setRenderHint(RenderHint hint, bool on)
void save()
void drawPolygon(const QPointF *points, int pointCount, Qt::FillRule fillRule)
void setRgb(int r, int g, int b, int a)
Definition: builder.h:37
void getHsv(int *h, int *s, int *v, int *a) const
int x() const
int y() const
Definition: Config.h:31
const QColor & color() const
void drawArc(const QRectF &rectangle, int startAngle, int spanAngle)
Definition: fileTree.h:271
int red() const
void setPen(const QColor &color)
void drawEllipse(const QRectF &rectangle)
void setOverrideCursor(const QCursor &cursor)
void setBrush(const QBrush &brush)
void drawText(const QPointF &position, const QString &text)
void restoreOverrideCursor()
QPoint center() const
http QObject const QList< QVariant > m_summary(0)
QPalette palette()
int green() const
void drawPie(const QRectF &rectangle, int startAngle, int spanAngle)
void restore()
int blue() const
Definition: fileTree.h:38
int width() const
void setWidth(int width)
#define ch
int height() const
void adjust(int dx1, int dy1, int dx2, int dy2)
void sincos(double angleRadians, double *Sin, double *Cos)
void translate(const QPointF &offset)
void setHsv(int h, int s, int v, int a)
Definition: fileTree.h:39
#define mh
bool begin(QPaintDevice *device)
#define cw
const QPen & pen() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.