Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

shadedlistitem.h

Go to the documentation of this file.
00001 /*
00002  * shadedlistitem.h
00003  *
00004  * (c) 2003 by Jeremy Bowman <jmbowman@alum.mit.edu>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  */
00011 
00012 #ifndef SHADEDLISTITEM_H
00013 #define SHADEDLISTITEM_H
00014 
00015 #include <qlistview.h>
00016 
00017 class ShadedListItem: public QListViewItem
00018 {
00019 public:
00020     ShadedListItem(int index, QListViewItem *parent);
00021     ShadedListItem(int index, QListView *parent);
00022     ShadedListItem(int index, QListView *parent, QListViewItem *after);
00023     ShadedListItem(int index, QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null);
00024     ShadedListItem(int index, QListView *parent, QListViewItem *after, QString label1, QString label2 = QString::null, QString label3 = QString::null);
00025     ~ShadedListItem();
00026 
00027     void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment);
00028 
00029 private:
00030     QListView *lv;
00031     bool oddRow;
00032 };
00033 
00034 #endif

Generated on Sat Nov 5 16:17:15 2005 for OPIE by  doxygen 1.4.2