diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
commit | 2910de560ead3ff65db26292fc27e427a5cf9b5e (patch) | |
tree | 12f6c29b77244528176abeee0934bdc4c560f08d /mainwindow.h | |
parent | 46cb4b079be113996214660020d6ef0c3d1f1e80 (diff) | |
download | scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.tar.gz scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.zip |
add export feature and desktop file
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h index cafec49..9bce36a 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -24,6 +24,10 @@ public slots: void closeNotebook(); void openNotebook(const QString &pen, const QString ¬ebook); + void exportCurrentPageAsPng(const QString &file); + void exportCurrentPageAsSvg(const QString &file); + void exportCurrentPaperReplayAsAac(const QString &file); + private slots: void handleNotebookSelected(const QModelIndex &index); void handleCurPageChanged(); @@ -32,6 +36,12 @@ private slots: void handlePaperReplayPlay(); void handlePaperReplayPause(); void handleMediaStateChange(Phonon::State state); + void handleMediaTotalTimeChanged(qint64 time); + void handleMediaTick(qint64 time); + void handleExport(); + +private: + QString formatDuration(qint64 time); private: Ui::MainWindow *ui; |