Add hooks to sync QGraphicsItems with label objects.

This commit is contained in:
Jim Evins
2013-12-04 22:27:17 -05:00
parent 58b261d1a7
commit a64813cf13
7 changed files with 226 additions and 36 deletions
+4
View File
@@ -24,11 +24,15 @@
namespace glabels
{
int LabelModelItem::lastId = 0;
/*
* Default constructor.
*/
LabelModelItem::LabelModelItem( QObject *parent = 0 ) : QObject(parent)
{
mId = lastId++;
mX0 = 0;
mY0 = 0;
mW = 0;