Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 379:6a84102c006a
Create separate play scroll modes for (Tony-style, DAW-style) page mode and (SV-style) paging with playhead alignment to centre on drag
author | Chris Cannam |
---|---|
date | Wed, 02 Jul 2014 17:30:09 +0100 |
parents | a7a643988390 |
children | ad33fdc4ad92 |
comparison
equal
deleted
inserted
replaced
378:a7a643988390 | 379:6a84102c006a |
---|---|
2456 { | 2456 { |
2457 if (!m_statusLabel) { | 2457 if (!m_statusLabel) { |
2458 m_statusLabel = new QLabel(); | 2458 m_statusLabel = new QLabel(); |
2459 statusBar()->addWidget(m_statusLabel, 1); | 2459 statusBar()->addWidget(m_statusLabel, 1); |
2460 } | 2460 } |
2461 | |
2462 QList<QFrame *> frames = statusBar()->findChildren<QFrame *>(); | |
2463 foreach (QFrame *f, frames) { | |
2464 f->setFrameStyle(QFrame::NoFrame); | |
2465 } | |
2466 | |
2461 return m_statusLabel; | 2467 return m_statusLabel; |
2462 } | 2468 } |
2463 | 2469 |
2464 void | 2470 void |
2465 MainWindowBase::toggleStatusBar() | 2471 MainWindowBase::toggleStatusBar() |