mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-24 22:58:01 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user