[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Sun Nov 18 13:48:29 UTC 2012
SVN commit 1325505 by habacker:
Fixed more unselect bugs. This could be changed when selection code is migrated to QGraphicsScene.
M +5 -1 toolbarstate.cpp
M +1 -0 toolbarstatearrow.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/toolbarstate.cpp #1325504:1325505
@@ -328,6 +328,8 @@
*/
void ToolBarState::mousePressEmpty()
{
+ // TODO activate when QGraphicsScene selection handling is used
+ //m_pUMLScene->clearSelection();
m_pUMLScene->clearSelected();
}
@@ -377,7 +379,9 @@
*/
void ToolBarState::mouseDoubleClickEmpty()
{
- m_pUMLScene->clearSelection();
+ // TODO activate when QGraphicsScene selection handling is used
+ //m_pUMLScene->clearSelection();
+ m_pUMLScene->clearSelected();
}
/**
--- trunk/KDE/kdesdk/umbrello/umbrello/toolbarstatearrow.cpp #1325504:1325505
@@ -79,6 +79,7 @@
ToolBarState::mousePressEmpty();
// Starts the selection rectangle
+ // TODO: let QGraphicsScene show the selection rectangle
if (m_selectionRect.count() == 0) {
m_startPosition = m_pMouseEvent->scenePos();
More information about the umbrello-devel
mailing list