setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
Global::gridSpacing = 12.0; // In base units (inch is default)
-
#if 0
Line * line = new Line(Vector(5, 5), Vector(50, 40), &document);
document.Add(line);
document.objects.push_back(new Text(Vector(10, 83), "Here is some awesome text!"));
#endif
+printf("Document topLevel = %s\n", (document.topLevel ? "true" : "false"));
/*
Here we set the grid size in pixels--12 in this case. Initially, we have our
zoom set to make this represent 12 inches at a zoom factor of 25%. (This is