void QVUMeter::paintEvent(QPaintEvent *) { paintBorder(); paintBar(); paintValue(); }
void QProg::paintEvent(QPaintEvent *) { paintBorder(); paintBar(); paintLine(); paintValue(); }
void BelowsEnh::paintEvent(QPaintEvent *) { paintBorder(); paintBar(); paintValue(); }
void Colorsel::paintEvent(QPaintEvent *) { paintBorder(); paintBar(); paintValue(); paintText(); }
void MeterPrivate::paintBackground(QPainter *p) { //be retrocompatible with themes for kde <= 4.1 if (image->hasElement("background-center")) { QRectF elementRect = barRect(); if (elementRect.isEmpty()) { return; // nothing to be done } QSize imageSize = image->size(); image->resize(); image->setElementPrefix("background"); image->resizeFrame(elementRect.size()); image->paintFrame(p, elementRect.topLeft()); image->resize(imageSize); paintBar(p, "bar-inactive"); } else { paint(p, "background"); } }