diff options
author | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-11-28 16:00:04 +0000 |
---|---|---|
committer | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-11-28 16:00:04 +0000 |
commit | 2038b81df36cc44b63c44313a4fe39557c850760 (patch) | |
tree | 6a5144bfbc63d04c69a5168c206c05d1887c2179 /statisticsdialog.h | |
parent | b61c945e41f1df211097ada08a264618e3da56e3 (diff) | |
download | SheMov-2038b81df36cc44b63c44313a4fe39557c850760.tar.gz SheMov-2038b81df36cc44b63c44313a4fe39557c850760.tar.bz2 SheMov-2038b81df36cc44b63c44313a4fe39557c850760.zip |
-turned QualityStats into general purpose class GraphBarWidget
git-svn-id: file:///var/svn/repos2/shemov/trunk@429 f440f766-f032-0410-8965-dc7d17de2ca0
Diffstat (limited to 'statisticsdialog.h')
-rw-r--r-- | statisticsdialog.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/statisticsdialog.h b/statisticsdialog.h index 115d6c9..b431a07 100644 --- a/statisticsdialog.h +++ b/statisticsdialog.h @@ -20,29 +20,12 @@ class StatisticsDialog : public QDialog { Q_OBJECT public: StatisticsDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); - ~StatisticsDialog() {}; + ~StatisticsDialog() {} private: QTabWidget *mTab; QPushButton *mOk; }; -class QualityStats : public QWidget { - Q_OBJECT - public: - QualityStats(QWidget *parent = 0); - ~QualityStats() {}; - virtual QSize sizeHint() const; - - protected: - void paintEvent(QPaintEvent *); - - private: - int mBarHeight; - const int mMargin; - int mMaxValue; - QMap<int, int> mQualityDistrib; -}; - #endif |