qt4- and other fixes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@128 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-04-11 08:41:16 +00:00
parent 00635d1eef
commit 8310422d75
80 changed files with 411 additions and 319 deletions

View File

@@ -72,8 +72,14 @@ nineButtonSelector::nineButtonSelector( QPixmap _button0_on,
setFixedSize( 50, 50 );
m_base = QPixmap::grabWidget( _parent, _x, _y );
move( _x, _y );
#ifndef QT3
QPalette pal = palette();
pal.setBrush( backgroundRole(), QBrush( m_base ) );
setPalette( pal );
#else
setPaletteBackgroundPixmap( m_base );
#endif
m_button = new pixmapButton( this, eng() );
m_button->move( 1, 1 );
m_button->setActiveGraphic( _button0_on );