GUI-improvements, zooming-selectboxes in piano-roll and song-editor and more

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@12 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2005-09-29 07:18:55 +00:00
parent f64b25ba44
commit b3754454cd
16 changed files with 297 additions and 110 deletions

View File

@@ -35,9 +35,6 @@
#include <qfontmetrics.h>
#include <qpainter.h>
#define setChecked setOn
#define isChecked isOn
#endif
@@ -103,11 +100,7 @@ void ledCheckBox::paintEvent( QPaintEvent * )
#endif
p.drawPixmap( 0, 0, specialBgHandlingWidget::getBackground( this ) );
#ifdef QT4
if( checkState() == Qt::Checked )
#else
if( state() == On )
#endif
if( isChecked() == TRUE )
{
p.drawPixmap( 0, 0, *m_ledOnPixmap );
}
@@ -125,6 +118,3 @@ void ledCheckBox::paintEvent( QPaintEvent * )
}
#undef setChecked
#undef isChecked