Scribus Epub Export Plugin
epubexportdialog.h
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef EPUBEXPORTDIALOG_H
11 #define EPUBEXPORTDIALOG_H
12 
13 #include "ui_epubexportdialog.h"
14 
15 #include <QList>
16 #include "epubexport.h"
17 
18 class ScribusDoc;
19 // class EpubExport;
20 
24 class EpubExportDialog : public QDialog, Ui::EpubExportDialog
25 {
26  Q_OBJECT
27  public:
28  EpubExportDialog( QWidget* parent = 0, ScribusDoc* doc = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0 );
30  void setOptions(EpubExportOptions options) {this->options = options;}
31  EpubExportOptions getOptions() {return options;}
32 
33  private:
34  ScribusDoc* doc;
35  EpubExportOptions options;
36  private slots:
37 
38  void cancelButton_clicked();
39  void exportButton_clicked();
40  void chooseFile();
41  void enableIntervalPages(bool enabled);
42  void enableImageMaxWidth(bool enabled);
43  QList<int> getPagesListFromString(const QString pages);
44  void readIntervalFromDialog();
45  void fileOutputChanged();
46 
47 };
48 
49 #endif // EPUBEXPORTDIALOG_H
display the export dialog and prepare the values from the dialog for the EpubExportOptions structure...
Definition: epubexportdialog.h:24
The options for the Epub export, as defined in the Export dialog.
Definition: epubexport.h:16