svgui
1.9
ActivityLog.h
Go to the documentation of this file.
1
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3
/*
4
Sonic Visualiser
5
An audio file viewer and annotation editor.
6
Centre for Digital Music, Queen Mary, University of London.
7
This file copyright 2009 QMUL.
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License as
11
published by the Free Software Foundation; either version 2 of the
12
License, or (at your option) any later version. See the file
13
COPYING included with this distribution for more information.
14
*/
15
16
#ifndef _ACTIVITY_LOG_H_
17
#define _ACTIVITY_LOG_H_
18
19
#include <QDialog>
20
#include <QString>
21
22
class
QListView;
23
class
QStringListModel;
24
25
class
ActivityLog
:
public
QDialog
26
{
27
Q_OBJECT
28
29
public
:
30
ActivityLog
();
31
~ActivityLog
();
32
33
public
slots:
34
void
activityHappened
(QString);
35
void
scrollToEnd
();
36
37
private
:
38
QListView *
m_listView
;
39
QStringListModel *
m_model
;
40
QString
m_prevName
;
41
};
42
43
#endif
ActivityLog::m_prevName
QString m_prevName
Definition:
ActivityLog.h:40
ActivityLog::m_model
QStringListModel * m_model
Definition:
ActivityLog.h:39
ActivityLog::m_listView
QListView * m_listView
Definition:
ActivityLog.h:38
ActivityLog::scrollToEnd
void scrollToEnd()
Definition:
ActivityLog.cpp:85
ActivityLog::~ActivityLog
~ActivityLog()
Definition:
ActivityLog.cpp:55
ActivityLog::ActivityLog
ActivityLog()
Definition:
ActivityLog.cpp:35
ActivityLog
Definition:
ActivityLog.h:25
ActivityLog::activityHappened
void activityHappened(QString)
Definition:
ActivityLog.cpp:60
widgets
ActivityLog.h
Generated by
1.8.15