AlbumShaper  1.0a3
item.h
Go to the documentation of this file.
1 //Added by qt3to4:
2 #include <QPixmap>
3 //==============================================
4 // copyright : (C) 2003-2005 by Will Stokes
5 //==============================================
6 // This program is free software; you can redistribute it
7 // and/or modify it under the terms of the GNU General
8 // Public License as published by the Free Software
9 // Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //==============================================
12 
13 #ifndef GUI_WELCOMEWINDOW_ITEM_H
14 #define GUI_WELCOMEWINDOW_ITEM_H
15 
16 //--------------------
17 //forward declarations
18 class QPixmap;
19 class QString;
20 //--------------------
21 
22 #include <q3iconview.h>
23 #include <qobject.h>
24 #include <qstring.h>
25 
26 //=====================================
27 class Item : public Q3IconViewItem
28 {
29 public:
30  Item( Q3IconView* parent, QPixmap icon, QString text);
31 
32  void paintItem( QPainter* p, const QColorGroup& cg);
33  void paintFocus( QPainter *, const QColorGroup &) { }
34  void setMousedOver(bool val);
35  void setTextWidth(int w);
36 private:
37  bool mousedOver;
38 };
39 //======================
40 
41 #endif //GUI_WELCOMEWINDOW_ITEM_H
void paintFocus(QPainter *, const QColorGroup &)
Definition: item.h:33
void setMousedOver(bool val)
Definition: item.cpp:60
Definition: item.h:27
void paintItem(QPainter *p, const QColorGroup &cg)
Definition: item.cpp:26
bool mousedOver
Definition: item.h:37
void setTextWidth(int w)
Definition: item.cpp:63
Item(Q3IconView *parent, QPixmap icon, QString text)
Definition: item.cpp:21