comparison widgets/ModelDataTableDialog.cpp @ 675:3437e0fad7ae imaf_enc

IMAF load code from Jesus Corral Garcia
author Chris Cannam
date Mon, 04 Nov 2013 17:09:36 +0000
parents 4806715f7a19
children 97ea68f62c1f
comparison
equal deleted inserted replaced
643:77fa3fdbfc7e 675:3437e0fad7ae
49 toolbar = addToolBar(tr("Playback Toolbar")); 49 toolbar = addToolBar(tr("Playback Toolbar"));
50 m_playToolbar = toolbar; 50 m_playToolbar = toolbar;
51 toolbar = addToolBar(tr("Play Mode Toolbar")); 51 toolbar = addToolBar(tr("Play Mode Toolbar"));
52 52
53 IconLoader il; 53 IconLoader il;
54
55 QAction *action = new QAction(il.load("playfollow"), tr("Track Playback"), this); 54 QAction *action = new QAction(il.load("playfollow"), tr("Track Playback"), this);
56 action->setStatusTip(tr("Toggle tracking of playback position")); 55 action->setStatusTip(tr("Toggle tracking of playback position"));
57 action->setCheckable(true); 56 action->setCheckable(true);
58 action->setChecked(m_trackPlayback); 57 action->setChecked(m_trackPlayback);
59 connect(action, SIGNAL(triggered()), this, SLOT(togglePlayTracking())); 58 connect(action, SIGNAL(triggered()), this, SLOT(togglePlayTracking()));