16 #include <QApplication>
22 extern "C" const unsigned char icon_kame_24x24_png[1065];
24 QPixmap *g_pIconKame24x24;
27 QPixmap *g_pIconError;
30 QPixmap *g_pIconClose;
31 QPixmap *g_pIconInterface;
32 QPixmap *g_pIconDriver;
33 QPixmap *g_pIconReader;
34 QPixmap *g_pIconScalar;
35 QPixmap *g_pIconGraph;
36 QPixmap *g_pIconScript;
37 QPixmap *g_pIconRoverT;
38 QPixmap *g_pIconLEDOn;
39 QPixmap *g_pIconLEDOff;
43 g_pIconKame24x24 =
new QPixmap;
44 g_pIconKame24x24->loadFromData( icon_kame_24x24_png,
sizeof( icon_kame_24x24_png ),
"PNG" );
46 g_pIconKame =
new QPixmap(
":/icons/kame.png");
48 g_pIconRoverT =
new QPixmap(
":/icons/rovert.png");
50 g_pIconLEDOn =
new QPixmap(
":/icons/ledon.png");
52 g_pIconLEDOff =
new QPixmap(
":/icons/ledoff.png");
54 g_pIconInfo =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(48,48));
56 g_pIconWarn =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxWarning).pixmap(48,48));
58 g_pIconError =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxCritical).pixmap(48,48));
60 g_pIconStop =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_BrowserStop).pixmap(48,48));
62 g_pIconClose =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_TitleBarCloseButton).pixmap(48,48));
64 g_pIconDriver = g_pIconKame;
66 g_pIconInterface =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_ComputerIcon).pixmap(48,48));
68 g_pIconReader =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_MediaPlay).pixmap(48,48));
70 g_pIconScalar =
new QPixmap(QApplication::style()->standardIcon(QStyle::SP_FileDialogDetailedView).pixmap(48,48));
72 g_pIconGraph =
new QPixmap(
":/icons/graph.png");;
74 g_pIconScript =
new QPixmap(
":/icons/ruby.png");