--- a/canvasview.cpp Mon Nov 15 10:32:13 2010 -0800
+++ b/canvasview.cpp Sun Nov 21 07:39:16 2010 -0800
@@ -63,7 +63,10 @@
iCanvas = new Canvas(this);
setCentralWidget(iCanvas);
- iCanvas->setPretty(true);
+ Canvas::Style style = iCanvas->canvasStyle();
+ style.pretty = true;
+ style.paperClip = true;
+ iCanvas->setCanvasStyle(style);
iSnap.iSnap = 0; // Snap::ESnapGrid;
iSnap.iGridVisible = false;
--- a/mainwindow.cpp Mon Nov 15 10:32:13 2010 -0800
+++ b/mainwindow.cpp Sun Nov 21 07:39:16 2010 -0800
@@ -73,8 +73,12 @@
iMoveMenu->addAction(new IpeAction(ELastView, "Last view", "End", this));
iMoveMenu->addAction(new IpeAction(EJumpTo, "Jump to...", "J", this));
- currentViewCanvas->setPretty(true);
- nextViewCanvas->setPretty(true);
+ Canvas::Style style = currentViewCanvas->canvasStyle();
+ style.pretty = true;
+ currentViewCanvas->setCanvasStyle(style);
+ style = nextViewCanvas->canvasStyle();
+ style.pretty = true;
+ nextViewCanvas->setCanvasStyle(style);
iSnap.iSnap = 0; // Snap::ESnapGrid;
iSnap.iGridVisible = false;
--- a/pagedialog.cpp Mon Nov 15 10:32:13 2010 -0800
+++ b/pagedialog.cpp Sun Nov 21 07:39:16 2010 -0800
@@ -21,7 +21,9 @@
{
Canvas* c = new Canvas(this);
c->setFontPool(iDoc->fontPool());
- c->setPretty(true);
+ Canvas::Style style = c->canvasStyle();
+ style.pretty = true;
+ c->setCanvasStyle(style);
c->setPage(iDoc->page(views[i].first), views[i].second, iDoc->cascade());
connect(c, SIGNAL(mouseAction(int)), this, SLOT(pageChosen(int)));
canvases.push_back(c);