00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef GUI_WELCOMEWINDOW_ITEM_H
00012 #define GUI_WELCOMEWINDOW_ITEM_H
00013
00014
00015
00016 class QPixmap;
00017 class QString;
00018
00019
00020 #include <qiconview.h>
00021 #include <qobject.h>
00022 #include <qstring.h>
00023
00024
00025 class Item : public QIconViewItem
00026 {
00027 public:
00028 Item( QIconView* parent, QPixmap icon, QString text);
00029
00030 void paintItem( QPainter* p, const QColorGroup& cg);
00031 void paintFocus( QPainter *, const QColorGroup &) { }
00032 void setMousedOver(bool val);
00033 void setTextWidth(int w);
00034 private:
00035 bool mousedOver;
00036 };
00037
00038
00039 #endif //GUI_WELCOMEWINDOW_ITEM_H