Chris@502: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@502: Chris@502: /* Chris@502: Sonic Visualiser Chris@502: An audio file viewer and annotation editor. Chris@502: Centre for Digital Music, Queen Mary, University of London. Chris@502: This file copyright 2009 QMUL. Chris@502: Chris@502: This program is free software; you can redistribute it and/or Chris@502: modify it under the terms of the GNU General Public License as Chris@502: published by the Free Software Foundation; either version 2 of the Chris@502: License, or (at your option) any later version. See the file Chris@502: COPYING included with this distribution for more information. Chris@502: */ Chris@502: Chris@502: #ifndef _ACTIVITY_LOG_H_ Chris@502: #define _ACTIVITY_LOG_H_ Chris@502: Chris@502: #include Chris@502: #include Chris@502: Chris@502: class QListView; Chris@502: class QStringListModel; Chris@502: Chris@502: class ActivityLog : public QDialog Chris@502: { Chris@502: Q_OBJECT Chris@502: Chris@502: public: Chris@502: ActivityLog(); Chris@502: ~ActivityLog(); Chris@502: Chris@502: public slots: Chris@502: void activityHappened(QString); Chris@505: void scrollToEnd(); Chris@502: Chris@502: private: Chris@502: QListView *m_listView; Chris@502: QStringListModel *m_model; Chris@503: QString m_prevName; Chris@502: }; Chris@502: Chris@502: #endif