|
|
|
@ -419,7 +419,7 @@ int MultiTabBarInternal::appendTab( const TQPixmap &pic , int id, const TQString
|
|
|
|
|
tab->showActiveTabText( m_showActiveTabTexts );
|
|
|
|
|
tab->setVisible( Amarok::config( "BrowserBar" )->readBoolEntry( identifier, true ) );
|
|
|
|
|
|
|
|
|
|
if ( m_style == MultiTabBar::KONTQSBC ) {
|
|
|
|
|
if ( m_style == MultiTabBar::KONQSBC ) {
|
|
|
|
|
if ( m_expandedTabSize < tab->neededSize() ) {
|
|
|
|
|
m_expandedTabSize = tab->neededSize();
|
|
|
|
|
for ( uint i = 0;i < m_tabs.count();i++ )
|
|
|
|
@ -801,7 +801,7 @@ void MultiTabBarTab::setState( bool b )
|
|
|
|
|
void MultiTabBarTab::updateState()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if ( m_style != MultiTabBar::KONTQSBC ) {
|
|
|
|
|
if ( m_style != MultiTabBar::KONQSBC ) {
|
|
|
|
|
if ( ( m_style == MultiTabBar::KDEV3 ) || ( m_style == MultiTabBar::KDEV3ICON ) || ( m_style == MultiTabBar::AMAROK ) || ( isOn() ) ) {
|
|
|
|
|
TQPushButton::setText( m_text );
|
|
|
|
|
} else {
|
|
|
|
@ -858,7 +858,7 @@ void MultiTabBarTab::drawButtonLabel( TQPainter *p )
|
|
|
|
|
void MultiTabBarTab::drawButton( TQPainter *paint )
|
|
|
|
|
{
|
|
|
|
|
if ( m_style == MultiTabBar::AMAROK ) drawButtonAmarok( paint );
|
|
|
|
|
else if ( m_style != MultiTabBar::KONTQSBC ) drawButtonStyled( paint );
|
|
|
|
|
else if ( m_style != MultiTabBar::KONQSBC ) drawButtonStyled( paint );
|
|
|
|
|
else drawButtonClassic( paint );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1161,7 +1161,7 @@ MultiTabBar::MultiTabBar( MultiTabBarMode bm, TQWidget *parent, const char *name
|
|
|
|
|
setPosition( ( bm == MultiTabBar::Vertical ) ? MultiTabBar::Right : MultiTabBar::Bottom );
|
|
|
|
|
setStyle( VSNET );
|
|
|
|
|
// setStyle(KDEV3);
|
|
|
|
|
//setStyle(KONTQSBC);
|
|
|
|
|
//setStyle(KONQSBC);
|
|
|
|
|
m_l->insertWidget( 0, m_internal );
|
|
|
|
|
m_l->insertWidget( 0, m_btnTabSep = new TQFrame( this ) );
|
|
|
|
|
m_btnTabSep->setFixedHeight( 4 );
|
|
|
|
|