-
Notifications
You must be signed in to change notification settings - Fork 7
/
export-confluence-dialog.h
76 lines (65 loc) · 2.02 KB
/
export-confluence-dialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#ifndef EXPORTCONFLUENCEDIALOG_H
#define EXPORTCONFLUENCEDIALOG_H
#include "ui_export-confluence-dialog.h"
#include <QButtonGroup>
#include <QDir>
/*! \brief Dialog to export a map as HTML document
This is an overloaded QDialog with various settings needed to call
convert the vym.xml to a HTML document.
*/
class ExportConfluenceDialog:public QDialog
{
Q_OBJECT
public:
ExportConfluenceDialog(QWidget* parent = 0);
virtual QString getPageURL();
virtual QString getPageTitle();
virtual bool warnings();
virtual bool hasChanged();
virtual bool createNewPage();
public slots:
virtual void readSettings();
virtual void setPageURL(const QString&);
virtual void setPageTitle(const QString&);
virtual void pageButtonPressed(bool);
virtual void pageURLChanged();
virtual void pageTitleChanged();
virtual void imageCheckBoxPressed( bool b );
virtual void includeImagesCheckBoxPressed( bool b );
virtual void TOCCheckBoxPressed( bool b );
virtual void numberingCheckBoxPressed( bool b );
virtual void taskFlagsCheckBoxPressed( bool b );
virtual void userFlagsCheckBoxPressed( bool b );
virtual void textcolorCheckBoxPressed( bool b );
virtual void saveSettingsInMapCheckBoxPressed( bool b );
virtual void warningsCheckBoxPressed( bool b );
virtual void outputCheckBoxPressed( bool b );
virtual void saveSettings ();
virtual void setFilePath( const QString & s );
virtual void setMapName( const QString & s );
public:
bool includeMapImage;
bool includeImages;
bool useTOC;
bool useNumbering;
bool useTaskFlags;
bool useUserFlags;
bool useTextColor;
bool css_copy;
protected:
QButtonGroup *buttonGroup;
QString css_src;
QString css_dst;
bool showWarnings;
bool showOutput;
QString pageURL;
QString pageTitle;
QString filepath;
bool settingsChanged;
QString mapname;
bool saveSettingsInMap;
private:
Ui::ExportConfluenceDialog ui;
void init();
};
#endif // ExportConfluenceDialog_H