diff options
author | Arno <am@disconnect.de> | 2010-07-25 13:00:30 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-07-25 13:00:30 +0200 |
commit | 004b9243248a29eaa73b5fae5a5ef7b5ca914f94 (patch) | |
tree | 0b1f9f413d798390fba316d5093bbd5dcd466398 /actorcountmodel.h | |
parent | bfcb2cd0e0168e1f740678a626a5d5077cf6e677 (diff) | |
download | SheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.tar.gz SheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.tar.bz2 SheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.zip |
Fixed StatisticsDialog
adapted StatisticsDialog to the new database schema and make it use
WebKit and HTML to display the graph bars.
This change obsoleted the classes ActorCountModel and GraphBarWidget.
Diffstat (limited to 'actorcountmodel.h')
-rw-r--r-- | actorcountmodel.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/actorcountmodel.h b/actorcountmodel.h deleted file mode 100644 index aa605aa..0000000 --- a/actorcountmodel.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - 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 ACTORCOUNTMODEL_H -#define ACTORCOUNTMODEL_H - -#include <QAbstractItemModel> - -class ActorCountModel : public QAbstractItemModel { - Q_OBJECT - public: - ActorCountModel(QObject *parent = 0); - virtual ~ActorCountModel(); - QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; - int rowCount(const QModelIndex &idx) const; - int columnCount(const QModelIndex &idx) const; - QVariant data(const QModelIndex &idx, int role = Qt::DisplayRole) const; - QVariant headerData(int section, Qt::Orientation o, int role = Qt::DisplayRole) const; - QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }; - - private: - QList<QList<QVariant*> >mItems; - QList<QVariant> mHeaderData; -}; - -#endif - |