Warning, file /office/calligra/filters/sheets/html/exportdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2005 Bram Schoenmakers <bramschoenmakers@kde.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef EXPORTDIALOG_H 0008 #define EXPORTDIALOG_H 0009 0010 #include <KoDialog.h> 0011 class QUrl; 0012 0013 #include <ui_exportwidget.h> 0014 0015 class ExportWidget : public QWidget, public Ui::ExportWidget 0016 { 0017 public: 0018 explicit ExportWidget(QWidget *parent) : QWidget(parent) { 0019 setupUi(this); 0020 } 0021 }; 0022 0023 0024 class ExportDialog : public KoDialog 0025 { 0026 Q_OBJECT 0027 public: 0028 explicit ExportDialog(QWidget *parent = 0); 0029 ~ExportDialog() override; 0030 0031 void setSheets(const QStringList &); 0032 QStringList sheets() const; 0033 0034 /** 0035 Returns preferred encoding. Defaults to UTF-8. 0036 */ 0037 QTextCodec *encoding() const; 0038 0039 /** 0040 Returns a valid URL if the custom button was selected. 0041 Else, it will return QUrl(). 0042 */ 0043 QUrl customStyleURL() const; 0044 0045 /** 0046 Returns true if borders should be shown, false if borders 0047 should be hidden. 0048 */ 0049 bool useBorders() const; 0050 0051 bool separateFiles() const; 0052 0053 int pixelsBetweenCells() const; 0054 protected Q_SLOTS: 0055 void selectAll(); 0056 private: 0057 ExportWidget *m_mainwidget; 0058 }; 0059 0060 #endif