r15371 by cbradney - #9291: Update Properties Palette with multiple selection x, y, w, h

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 21 00:30:20 CEST 2010


Revision: 15371
Author: cbradney
Date: 2010-07-20T22:25:35.148134Z
Commit message: #9291: Update Properties Palette with multiple selection x,y,w,h

Changeset: 
M  /trunk/Scribus/scribus/canvasmode_normal.cpp

Diffs:
Index: scribus/canvasmode_normal.cpp
===================================================================
--- scribus/canvasmode_normal.cpp	(revision 15370)
+++ scribus/canvasmode_normal.cpp	(revision 15371)
@@ -616,7 +616,6 @@
 
 void CanvasMode_Normal::mousePressEvent(QMouseEvent *m)
 {
-// 	qDebug("CanvasMode_Normal::mousePressEvent");
 	const FPoint mousePointDoc = m_canvas->globalToCanvas(m->globalPos());
 	PageItem *currItem;
 
@@ -967,6 +966,8 @@
 				double x, y, w, h;
 				m_doc->m_Selection->getGroupRect(&x, &y, &w, &h);
 				m_view->getGroupRectScreen(&x, &y, &w, &h);
+				m_ScMW->propertiesPalette->setXY(x,y);
+				m_ScMW->propertiesPalette->setBH(w,h);
 			}
 		}
 		m_view->HaveSelRect = false;




More information about the scribus-commit mailing list