comparison widgets/ActivityLog.cpp @ 506:33572f3ad62b

...
author Chris Cannam
date Wed, 25 Feb 2009 11:33:03 +0000
parents 299d0ffebb38
children 7e180ec7773c
comparison
equal deleted inserted replaced
505:299d0ffebb38 506:33572f3ad62b
30 setWindowTitle(tr("Activity Log")); 30 setWindowTitle(tr("Activity Log"));
31 31
32 QGridLayout *layout = new QGridLayout; 32 QGridLayout *layout = new QGridLayout;
33 setLayout(layout); 33 setLayout(layout);
34 34
35 layout->addWidget(new QLabel(tr("<p>Activity Log shows a list of your interactions and other events within %1.</p>").arg(QApplication::applicationName())), 0, 0); 35 layout->addWidget(new QLabel(tr("<p>Activity Log lists your interactions and other events within %1.</p>").arg(QApplication::applicationName())), 0, 0);
36 36
37 m_listView = new QListView; 37 m_listView = new QListView;
38 m_model = new QStringListModel; 38 m_model = new QStringListModel;
39 m_listView->setModel(m_model); 39 m_listView->setModel(m_model);
40 layout->addWidget(m_listView, 1, 0); 40 layout->addWidget(m_listView, 1, 0);