From 55b5c88cf93d06629ba70eb7cddeb50a365b170a Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 12 Oct 2020 02:27:14 +0200 Subject: minor UI refactor; allow reading ".archive" directories Archives cannot be created from the UI yet. Just copy a .pen directory to an .archive directory for now. --- mainwindow.ui | 290 ++++++++++++++++++++++++++-------------------------------- 1 file changed, 130 insertions(+), 160 deletions(-) (limited to 'mainwindow.ui') diff --git a/mainwindow.ui b/mainwindow.ui index 5c1774c..a56ffba 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -129,7 +129,7 @@ ... - + .. @@ -200,53 +200,36 @@ - - + + 0 - - - - Qt::ScrollBarAlwaysOn - - - Qt::ScrollBarAlwaysOn - - - - - - - QAbstractItemView::SingleSelection - - - QAbstractItemView::SelectRows - - - false - - - false - - - false - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - + + + Qt::ScrollBarAlwaysOn + + + Qt::ScrollBarAsNeeded + + + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + + + false + + + false + + + @@ -340,12 +323,15 @@ - + .. &Export... + + Export + @@ -388,12 +374,12 @@ handleNotebookSelected(QModelIndex) - 159 - 193 + 131 + 204 - 358 - 192 + 356 + 218 @@ -414,78 +400,46 @@ - zoomSlider - valueChanged(int) - notebookView - setZoom(int) - - - 671 - 42 - - - 479 - 272 - - - - - notebookView - curPageChanged() - MainWindow - handleCurPageChanged() - - - 479 - 272 - - - 358 - 192 - - - - - prevButton + playButton clicked() - notebookView - prevPage() + MainWindow + handlePaperReplayPlay() - 273 - 57 + 357 + 356 - 479 - 272 + 332 + 267 - nextButton + pauseButton clicked() - notebookView - nextPage() + MainWindow + handlePaperReplayPause() - 365 - 57 + 391 + 356 - 479 - 272 + 373 + 294 - notebookView - paperReplayRequested(QString,qint64) + actionQuit + triggered() MainWindow - handlePaperReplayRequested(QString,qint64) + deleteLater() - 479 - 255 + -1 + -1 358 @@ -494,14 +448,14 @@ - playButton - clicked() + actionExport + triggered() MainWindow - handlePaperReplayPlay() + handleExport() - 273 - 358 + -1 + -1 358 @@ -510,14 +464,14 @@ - pauseButton - clicked() + actionAbout + triggered() MainWindow - handlePaperReplayPause() + handleAbout() - 309 - 358 + -1 + -1 358 @@ -526,98 +480,98 @@ - paperReplayView - activated(QModelIndex) - MainWindow - handlePaperReplaySelected(QModelIndex) + zoomSlider + valueChanged(int) + notebookView + setZoom(int) - 597 - 193 + 663 + 46 - 358 - 192 + 550 + 132 - paperReplayView - doubleClicked(QModelIndex) - MainWindow - handlePaperReplaySelected(QModelIndex) + prevButton + clicked() + notebookView + prevPage() - 597 - 193 + 347 + 46 - 358 - 192 + 441 + 141 - exportButton + nextButton clicked() - MainWindow - handleExport() + notebookView + nextPage() - 402 - 42 + 436 + 38 - 358 - 192 + 473 + 87 - actionQuit - triggered() + notebookView + curPageChanged() MainWindow - deleteLater() + handleCurPageChanged() - -1 - -1 + 368 + 161 - 358 - 192 + 486 + 27 - actionExport - triggered() + notebookView + paperReplayRequested(QString,qint64) MainWindow - handleExport() + handlePaperReplayRequested(QString,qint64) - -1 - -1 + 349 + 86 - 358 - 192 + 387 + 165 - actionAbout - triggered() + paperReplayView + activated(QModelIndex) MainWindow - handleAbout() + handlePaperReplaySelected(QModelIndex) - -1 - -1 + 367 + 117 - 358 - 192 + 778 + 310 @@ -628,12 +582,28 @@ setValue(int) - 361 - 193 + 576 + 116 + + + 613 + 62 + + + + + exportButton + clicked() + MainWindow + handleExport() + + + 457 + 46 - 671 - 42 + 358 + 192 -- cgit v1.2.3