[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/amarok/src
From: Christian Muehlhaeuser <chris () chris ! de>
Date: 2005-03-02 9:38:44
Message-ID: 20050302093844.6D7C616EF1 () office ! kde ! org
[Download RAW message or body]
CVS commit by muesli:
* Beautiful++;
M +20 -7 contextbrowser.cpp 1.396
--- kdeextragear-1/amarok/src/contextbrowser.cpp #1.395:1.396
@@ -665,5 +665,5 @@ void ContextBrowser::showHome() //SLOT
"</a>"
"</td>"
- "<td class='sbtext' width='1'>" + ( ( fave[i + \
2].length() > 1 ) ? fave[i + 2] : "0" + fave[i + 2] ) + "</td>" + \
"<td class='sbtext' width='25'>" + fave[i + 2] + "</td>"
"<td width='1' title='" + i18n( "Score" ) + "'>"
"<div class='sbouter'>"
@@ -791,4 +791,9 @@ void ContextBrowser::showHome() //SLOT
if ( !ftBox.isEmpty() )
{
+ connect( m_homePage->findFrame( "ftframe" )->browserExtension(), SIGNAL( \
openURLRequest( const KURL &, const KParts::URLArgs & ) ), + this, \
SLOT( openURLRequest( const KURL & ) ) ); + connect( m_homePage->findFrame( \
"ftframe" ), SIGNAL( popupMenu( const QString&, const QPoint& ) ), + \
this, SLOT( slotContextMenu( const QString&, const \
QPoint& ) ) ); +
m_homePage->findFrame( "ftframe" )->begin();
m_homePage->findFrame( "ftframe" )->setUserStyleSheet( m_styleSheet );
@@ -798,4 +804,9 @@ void ContextBrowser::showHome() //SLOT
if ( !ltBox.isEmpty() )
{
+ connect( m_homePage->findFrame( "ltframe" )->browserExtension(), SIGNAL( \
openURLRequest( const KURL &, const KParts::URLArgs & ) ), + this, \
SLOT( openURLRequest( const KURL & ) ) ); + connect( m_homePage->findFrame( \
"ltframe" ), SIGNAL( popupMenu( const QString&, const QPoint& ) ), + \
this, SLOT( slotContextMenu( const QString&, const \
QPoint& ) ) ); +
m_homePage->findFrame( "ltframe" )->begin();
m_homePage->findFrame( "ltframe" )->setUserStyleSheet( m_styleSheet );
@@ -1096,5 +1107,5 @@ void ContextBrowser::showCurrentTrack()
"</a>"
"</td>"
- "<td class='sbtext' width='1'>" + values[i + 3] + "</td>"
+ "<td class='sbtext' width='25'>" + values[i + 3] + "</td>"
"<td width='1' title='" + i18n( "Score" ) + "'>"
"<div class='sbouter'>"
@@ -1102,4 +1113,5 @@ void ContextBrowser::showCurrentTrack()
"</div>"
"</td>"
+ "<td width='3'></td>"
"</tr>"
);
@@ -1145,5 +1157,5 @@ void ContextBrowser::showCurrentTrack()
"</a>"
"</td>"
- "<td class='sbtext' width='1'>" + values[i + 2] + "</td>"
+ "<td class='sbtext' width='25'>" + values[i + 2] + "</td>"
"<td width='1' title='" + i18n( "Score" ) + "'>"
"<div class='sbouter'>"
@@ -1151,4 +1163,5 @@ void ContextBrowser::showCurrentTrack()
"</div>"
"</td>"
+ "<td width='3'></td>"
"</tr>"
);
@@ -1524,5 +1537,5 @@ void ContextBrowser::setStyleSheet_Defau
//boxes used to display score (sb: score box)
- styleSheet += QString( ".sbtext { padding: 0px 4px; border-left: solid %1 1px; \
}" ).arg( colorGroup().base().dark( 120 ).name() ); + styleSheet += QString( \
".sbtext { text-align: center; padding: 0px 4px; border-left: solid %1 1px; }" ).arg( \
colorGroup().base().dark( 120 ).name() ); styleSheet += QString( ".sbouter { width: \
52px; height: 10px; background-color: %1; border: solid %2 1px; }" ).arg( \
colorGroup().base().dark( 120 ).name() ).arg( bg );
styleSheet += QString( ".sbinner { height: 8px; background-color: %1; border: \
solid %2 1px; }" ).arg( bg ).arg( fg );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic