comparison view/Pane.cpp @ 501:08e1ccfe289c

* Show duration at both ends of selection if space permits (#2065013) * Tool tip for zoom reset button
author Chris Cannam
date Tue, 24 Feb 2009 12:17:18 +0000
parents c5c478ee37b1
children 1d605a89fd9b
comparison
equal deleted inserted replaced
500:666cdcae5f0d 501:08e1ccfe289c
169 m_reset->setFlat(true); 169 m_reset->setFlat(true);
170 m_reset->setCursor(Qt::ArrowCursor); 170 m_reset->setCursor(Qt::ArrowCursor);
171 m_reset->setFixedHeight(16); 171 m_reset->setFixedHeight(16);
172 m_reset->setFixedWidth(16); 172 m_reset->setFixedWidth(16);
173 m_reset->setIcon(QPixmap(":/icons/zoom-reset.png")); 173 m_reset->setIcon(QPixmap(":/icons/zoom-reset.png"));
174 m_reset->setToolTip(tr("Reset zoom to default"));
174 layout->addWidget(m_reset, 1, 2); 175 layout->addWidget(m_reset, 1, 2);
175 176
176 layout->setColumnStretch(0, 20); 177 layout->setColumnStretch(0, 20);
177 178
178 connect(m_reset, SIGNAL(clicked()), m_hthumb, SLOT(resetToDefault())); 179 connect(m_reset, SIGNAL(clicked()), m_hthumb, SLOT(resetToDefault()));