Mercurial > hg > svgui
comparison view/Pane.cpp @ 263:16fffa24da02
...
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2007 20:57:01 +0000 |
parents | dae479593572 |
children | 7e9e533f1863 |
comparison
equal
deleted
inserted
replaced
262:dae479593572 | 263:16fffa24da02 |
---|---|
1954 Pane::toolModeChanged() | 1954 Pane::toolModeChanged() |
1955 { | 1955 { |
1956 ViewManager::ToolMode mode = m_manager->getToolMode(); | 1956 ViewManager::ToolMode mode = m_manager->getToolMode(); |
1957 // std::cerr << "Pane::toolModeChanged(" << mode << ")" << std::endl; | 1957 // std::cerr << "Pane::toolModeChanged(" << mode << ")" << std::endl; |
1958 | 1958 |
1959 if (!m_measureCursorsCreated) { | 1959 if (mode == ViewManager::MeasureMode && !m_measureCursorsCreated) { |
1960 m_measureCursor1 = QCursor(QBitmap(":/icons/measure1cursor.xbm"), | 1960 m_measureCursor1 = QCursor(QBitmap(":/icons/measure1cursor.xbm"), |
1961 QBitmap(":/icons/measure1mask.xbm"), | 1961 QBitmap(":/icons/measure1mask.xbm"), |
1962 15, 14); | 1962 15, 14); |
1963 m_measureCursor2 = QCursor(QBitmap(":/icons/measure2cursor.xbm"), | 1963 m_measureCursor2 = QCursor(QBitmap(":/icons/measure2cursor.xbm"), |
1964 QBitmap(":/icons/measure2mask.xbm"), | 1964 QBitmap(":/icons/measure2mask.xbm"), |