[yast-commit] r43964 - in /trunk: qt/src/YQRichText.cc theme/openSUSE/wizard/style.qss
Author: coolo Date: Tue Jan 29 12:56:23 2008 New Revision: 43964 URL: http://svn.opensuse.org/viewcvs/yast?rev=43964&view=rev Log: use _some_ background for the textbrowser Modified: trunk/qt/src/YQRichText.cc trunk/theme/openSUSE/wizard/style.qss Modified: trunk/qt/src/YQRichText.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQRichText.cc?rev=43964&r1=43963&r2=43964&view=diff ============================================================================== --- trunk/qt/src/YQRichText.cc (original) +++ trunk/qt/src/YQRichText.cc Tue Jan 29 12:56:23 2008 @@ -63,17 +63,6 @@ setValue( text ); - // Set the text foreground color to black, regardless of its current - // settings - it might be changed if this widget resides in a - // warnColor dialog - which we cannot find right now out since our - // parent is not set yet :-( - - QPalette pal( _textBrowser->palette() ); - pal.setColor( QPalette::Text, Qt::black ); - pal.setColor( QPalette::Base, QColor(0,0,0,0)); - _textBrowser->setPalette( pal ); - - // Propagate clicks on hyperlinks connect( _textBrowser, SIGNAL( anchorClicked( const QUrl & ) ), Modified: trunk/theme/openSUSE/wizard/style.qss URL: http://svn.opensuse.org/viewcvs/yast/trunk/theme/openSUSE/wizard/style.qss?rev=43964&r1=43963&r2=43964&view=diff ============================================================================== --- trunk/theme/openSUSE/wizard/style.qss (original) +++ trunk/theme/openSUSE/wizard/style.qss Tue Jan 29 12:56:23 2008 @@ -30,6 +30,10 @@ background-color: rgba(255, 255, 255, 100); } +YQRichText > YQTextBrowser { + background-color: rgba(55, 255, 255, 100); +} + QTextBrowser { color: black; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
coolo@svn.opensuse.org