[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 164451] New: Oxygen style breaks
From: Marc Mutz <mutz () kde ! org>
Date: 2008-06-19 14:11:59
Message-ID: 20080619161154.164451.mutz () kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=164451
Summary: Oxygen style breaks libkleo/ui/kdhorizontalline.cpp's
title, probably messes with clipping, or css.
Product: Oxygen
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: cbr boemann dk
ReportedBy: mutz kde org
Version: (using Devel)
Installed from: Compiled sources
Compiler: g++ 4.1
OS: Linux
KDHorizontalLine is a QFrame::HLine with a QGroupBox-like title. Said title isn't \
visible anymore. It works for other styles. The gist of the paintEvent() is:
style()->drawItemText( &paint, r, Qt::TextShowMnemonic | Qt::AlignHCenter |
va, palette(),
isEnabled(), mTitle );
paint.setClipRegion( e->region().subtract( r ) ); // clip everything but tit
le
}
drawFrame( &paint );
My current working hypothesis is that oxygen messes up the clipping that's set up by \
KDHorizontalLine::paintEvent() when called from QFrame::drawFrame(), overwriting the \
title.
Hmm, OTOH, I can't see a difference when commenting out the drawFrame() call. Are you \
sure what you do is kosher? Some css override, maybe?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic