|
|
|
@ -52,6 +52,7 @@ UBDocumentNavigator::UBDocumentNavigator(QWidget *parent, const char *name):QGra |
|
|
|
|
mThumbnailWidth = width() - 2*border(); |
|
|
|
|
|
|
|
|
|
connect(UBApplication::boardController, SIGNAL(activeSceneChanged()), this, SLOT(addNewPage())); |
|
|
|
|
connect(UBApplication::boardController, SIGNAL(setDocOnPageNavigator(UBDocumentProxy*)), this, SLOT(generateThumbnails())); |
|
|
|
|
connect(mScene, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -116,7 +117,6 @@ void UBDocumentNavigator::generateThumbnails() |
|
|
|
|
|
|
|
|
|
items << pixmapItem; |
|
|
|
|
labels << tr("Page %0").arg(i + 1); |
|
|
|
|
//itemsPath.append(QUrl::fromLocalFile(mCrntDoc->persistencePath() + QString("/pages/%0").arg(i + 1)));
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Draw the items
|
|
|
|
|