1 | /* |
2 | Copyright (C) 2010 Marco Mentasti <marcomentasti@gmail.com> |
3 | |
4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Library General Public |
6 | License version 2 as published by the Free Software Foundation. |
7 | |
8 | This library is distributed in the hope that it will be useful, |
9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
11 | Library General Public License for more details. |
12 | |
13 | You should have received a copy of the GNU Library General Public License |
14 | along with this library; see the file COPYING.LIB. If not, write to |
15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
16 | Boston, MA 02110-1301, USA. |
17 | */ |
18 | |
19 | #ifndef EXPORTWIZARD_H |
20 | #define EXPORTWIZARD_H |
21 | |
22 | |
23 | class KUrlRequester; |
24 | class KLineEdit; |
25 | |
26 | class QRadioButton; |
27 | class QCheckBox; |
28 | |
29 | #include <qwizard.h> |
30 | |
31 | class ExportWizard : public QWizard |
32 | { |
33 | public: |
34 | ExportWizard(QWidget *parent); |
35 | ~ExportWizard(); |
36 | }; |
37 | |
38 | |
39 | class ExportOutputPage : public QWizardPage |
40 | { |
41 | public: |
42 | ExportOutputPage(QWidget *parent=0); |
43 | |
44 | void initializePage(); |
45 | virtual bool validatePage(); |
46 | |
47 | private: |
48 | QRadioButton *documentRadioButton; |
49 | QRadioButton *clipboardRadioButton; |
50 | QRadioButton *fileRadioButton; |
51 | KUrlRequester *fileUrl; |
52 | }; |
53 | |
54 | class ExportFormatPage : public QWizardPage |
55 | { |
56 | public: |
57 | ExportFormatPage(QWidget *parent=0); |
58 | |
59 | void initializePage(); |
60 | virtual bool validatePage(); |
61 | |
62 | private: |
63 | QCheckBox *exportColumnNamesCheckBox; |
64 | QCheckBox *exportLineNumbersCheckBox; |
65 | QCheckBox *quoteStringsCheckBox; |
66 | QCheckBox *quoteNumbersCheckBox; |
67 | KLineEdit *quoteStringsLine; |
68 | KLineEdit *quoteNumbersLine; |
69 | KLineEdit *fieldDelimiterLine; |
70 | }; |
71 | |
72 | #endif // EXPORTWIZARD_H |
73 | |