comparison view/Pane.cpp @ 205:6969f21da18a

* remove some debug and some obsolete moc file includes
author Chris Cannam
date Mon, 26 Feb 2007 14:55:08 +0000
parents 942cfa1df966
children 8495187c13ce
comparison
equal deleted inserted replaced
204:942cfa1df966 205:6969f21da18a
217 m_vthumb->setMaximumValue(max); 217 m_vthumb->setMaximumValue(max);
218 m_vthumb->setDefaultValue(defaultStep); 218 m_vthumb->setDefaultValue(defaultStep);
219 m_vthumb->setValue(layer->getCurrentVerticalZoomStep()); 219 m_vthumb->setValue(layer->getCurrentVerticalZoomStep());
220 m_vthumb->blockSignals(false); 220 m_vthumb->blockSignals(false);
221 221
222 std::cerr << "Vertical thumbwheel: min 0, max " << max 222 // std::cerr << "Vertical thumbwheel: min 0, max " << max
223 << ", default " << defaultStep << ", value " 223 // << ", default " << defaultStep << ", value "
224 << m_vthumb->getValue() << std::endl; 224 // << m_vthumb->getValue() << std::endl;
225 225
226 } 226 }
227 } 227 }
228 228
229 updateVerticalPanner(); 229 updateVerticalPanner();
234 m_headsUpDisplay->show(); 234 m_headsUpDisplay->show();
235 connect(m_manager, SIGNAL(zoomLevelChanged()), 235 connect(m_manager, SIGNAL(zoomLevelChanged()),
236 this, SLOT(zoomLevelChanged())); 236 this, SLOT(zoomLevelChanged()));
237 } 237 }
238 if (haveVThumb) { 238 if (haveVThumb) {
239 std::cerr << "vthumb is visible, moving to " << height() -86 << std::endl;
240 m_headsUpDisplay->setFixedHeight(m_vthumb->height() + m_hthumb->height()); 239 m_headsUpDisplay->setFixedHeight(m_vthumb->height() + m_hthumb->height());
241 m_headsUpDisplay->move(width() - 86, height() - 86); 240 m_headsUpDisplay->move(width() - 86, height() - 86);
242 } else { 241 } else {
243 std::cerr << "vthumb is invisible, moving to " << height() -51 << std::endl;
244 m_headsUpDisplay->setFixedHeight(m_hthumb->height()); 242 m_headsUpDisplay->setFixedHeight(m_hthumb->height());
245 m_headsUpDisplay->move(width() - 86, height() - 16); 243 m_headsUpDisplay->move(width() - 86, height() - 16);
246 } 244 }
247 } else { 245 } else {
248 m_headsUpDisplay->hide(); 246 m_headsUpDisplay->hide();
1756 QString("type=\"pane\" centreLineVisible=\"%1\" height=\"%2\" %3") 1754 QString("type=\"pane\" centreLineVisible=\"%1\" height=\"%2\" %3")
1757 .arg(m_centreLineVisible).arg(height()).arg(extraAttributes)); 1755 .arg(m_centreLineVisible).arg(height()).arg(extraAttributes));
1758 } 1756 }
1759 1757
1760 1758
1761 #ifdef INCLUDE_MOCFILES
1762 #include "Pane.moc.cpp"
1763 #endif
1764