27 |
|
|
28 |
#include <QGridLayout> |
#include <QGridLayout> |
29 |
|
|
30 |
|
#if QT_VERSION < 0x040500 |
31 |
|
namespace Qt { |
32 |
|
const WindowFlags WindowCloseButtonHint = WindowFlags(0x08000000); |
33 |
|
#if QT_VERSION < 0x040200 |
34 |
|
const WindowFlags CustomizeWindowHint = WindowFlags(0x02000000); |
35 |
|
#endif |
36 |
|
} |
37 |
|
#endif |
38 |
|
|
39 |
|
|
40 |
namespace QSampler { |
namespace QSampler { |
41 |
|
|
53 |
: QLabel(sText, pParent) |
: QLabel(sText, pParent) |
54 |
{ |
{ |
55 |
if (++g_iMidiActivityRefCount == 1) { |
if (++g_iMidiActivityRefCount == 1) { |
56 |
g_pMidiActivityLedOn = new QPixmap(":/icons/ledon1.png"); |
g_pMidiActivityLedOn = new QPixmap(":/images/ledon1.png"); |
57 |
g_pMidiActivityLedOff = new QPixmap(":/icons/ledoff1.png"); |
g_pMidiActivityLedOff = new QPixmap(":/images/ledoff1.png"); |
58 |
} |
} |
59 |
|
|
60 |
setPixmap(*g_pMidiActivityLedOff); |
setPixmap(*g_pMidiActivityLedOff); |