filelight
labels.cpp
Go to the documentation of this file.
39 Label(const RadialMap::Segment *s, int l) : segment(s), lvl(l), angle(segment->start() + (segment->length() / 2)) { }
85 if (m_focus && m_focus->file() != m_tree) //separate behavior for selected vs unselected segments
151 int *sizes = new int [ m_map.m_visibleDepth + 1 ]; //**** make sizes an array of floats I think instead (or doubles)
208 int fullStrutLength = (m_map.width() - m_map.MAP_2MARGIN) / 2 + LABEL_MAP_SPACER; //full length of a strut from map center
257 list.erase(it); //will delete the label and set it to list.current() which _should_ be the next ptr
278 list.erase(it); //will delete the label and set it to list.current() which _should_ be the next ptr
327 paint.drawEllipse(label->x1 - 3, label->y1 - 3, 6, 6); //**** CPU intensive! better to use a pixmap
int compareAndSortLabels(Label *item1, Label *item2)
Definition: labels.cpp:55
Definition: fileTree.h:271
Definition: fileTree.h:38
void sincos(double angleRadians, double *Sin, double *Cos)
Definition: radialMap.h:31
#define ring
#define segment
http QObject const QList< QVariant > m_map(0)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.