Mercurial > hg > svgui
annotate widgets/PluginReviewDialog.h @ 1614:c6f5c822b10d
Fix potential divide-by-zero (depending on a race elsewhere)
author | Chris Cannam |
---|---|
date | Tue, 30 Jun 2020 10:56:56 +0100 |
parents | 41824255ddf2 |
children |
rev | line source |
---|---|
Chris@1292 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@1292 | 2 |
Chris@1292 | 3 /* |
Chris@1292 | 4 Sonic Visualiser |
Chris@1292 | 5 An audio file viewer and annotation editor. |
Chris@1292 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@1292 | 7 |
Chris@1292 | 8 This program is free software; you can redistribute it and/or |
Chris@1292 | 9 modify it under the terms of the GNU General Public License as |
Chris@1292 | 10 published by the Free Software Foundation; either version 2 of the |
Chris@1292 | 11 License, or (at your option) any later version. See the file |
Chris@1292 | 12 COPYING included with this distribution for more information. |
Chris@1292 | 13 */ |
Chris@1292 | 14 |
Chris@1292 | 15 #ifndef SV_PLUGIN_REVIEW_DIALOG_H |
Chris@1292 | 16 #define SV_PLUGIN_REVIEW_DIALOG_H |
Chris@1292 | 17 |
Chris@1292 | 18 #include <QDialog> |
Chris@1292 | 19 #include <QTableWidget> |
Chris@1292 | 20 |
Chris@1292 | 21 class QEvent; |
Chris@1292 | 22 |
Chris@1292 | 23 class PluginReviewDialog : public QDialog |
Chris@1292 | 24 { |
Chris@1292 | 25 Q_OBJECT |
Chris@1292 | 26 |
Chris@1292 | 27 public: |
Chris@1292 | 28 PluginReviewDialog(QWidget *parent = 0); |
Chris@1292 | 29 ~PluginReviewDialog(); |
Chris@1292 | 30 |
Chris@1292 | 31 void populate(); |
Chris@1292 | 32 |
Chris@1292 | 33 private: |
Chris@1292 | 34 QTableWidget *m_table; |
Chris@1292 | 35 }; |
Chris@1292 | 36 |
Chris@1292 | 37 #endif |