PlasmaComponents
#include <units.h>
Definition at line 27 of file units.h.
Units::Units |
( |
QObject * |
parent = 0 | ) |
|
qreal Units::dp |
( |
qreal |
value | ) |
const |
- Returns
- the number of pixels value density independent pixels correspond to.
Definition at line 48 of file units.cpp.
qreal Units::gridUnit |
( |
| ) |
const |
void Units::gridUnitChanged |
( |
| ) |
|
|
signal |
qreal Units::gu |
( |
qreal |
value | ) |
const |
- Returns
- the number of pixels value grid units correspond to.
Definition at line 61 of file units.cpp.
The fundamental unit of space that should be used for sizes, expressed in pixels.
Given the screen has an accurate DPI settings, it corresponds to a millimeter
Definition at line 35 of file units.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:47 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.