//============================================== // copyright : (C) 2003-2005 by Will Stokes //============================================== // This program is free software; you can redistribute it // and/or modify it under the terms of the GNU General // Public License as published by the Free Software // Foundation; either version 2 of the License, or // (at your option) any later version. //============================================== #ifndef GUI_WELCOMEWINDOW_ITEM_H #define GUI_WELCOMEWINDOW_ITEM_H //-------------------- //forward declarations class QPixmap; class QString; //-------------------- #include #include #include //===================================== class Item : public QIconViewItem { public: Item( QIconView* parent, QPixmap icon, QString text); void paintItem( QPainter* p, const QColorGroup& cg); void paintFocus( QPainter *, const QColorGroup &) { } void setMousedOver(bool val); void setTextWidth(int w); private: bool mousedOver; }; //====================== #endif //GUI_WELCOMEWINDOW_ITEM_H