1 /**************************************************************************
2 ** This file is part of LiteIDE
3 **
4 ** Copyright (c) 2011-2019 LiteIDE. All rights reserved.
5 **
6 ** This library is free software; you can redistribute it and/or
7 ** modify it under the terms of the GNU Lesser General Public
8 ** License as published by the Free Software Foundation; either
9 ** version 2.1 of the License, or (at your option) any later version.
10 **
11 ** This library is distributed in the hope that it will be useful,
12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 ** Lesser General Public License for more details.
15 **
16 ** In addition, as a special exception,  that plugins developed for LiteIDE,
17 ** are allowed to remain closed sourced and can be distributed under any license .
18 ** These rights are included in the file LGPL_EXCEPTION.txt in this package.
19 **
20 **************************************************************************/
21 // Module: exportdialog.h
22 // Creator: visualfc <visualfc@gmail.com>
23 
24 #ifndef EXPORTDIALOG_H
25 #define EXPORTDIALOG_H
26 
27 #include <QDialog>
28 
29 namespace Ui {
30 class ExportDialog;
31 }
32 
33 class ExportDialog : public QDialog
34 {
35     Q_OBJECT
36 
37 public:
38     explicit ExportDialog(QWidget *parent = 0);
39     ~ExportDialog();
40     QString fileName() const;
41     void setFileName(const QString &text);
isExportAndView()42     bool isExportAndView() const { return m_bView; }
43 private slots:
44     void on_exportButton_clicked();
45     void on_exportAndViewButton_clicked();
46 private:
47     Ui::ExportDialog *ui;
48     bool m_bView;
49 };
50 
51 #endif // EXPORTDIALOG_H
52