exporthtmldialog.h
author insilmaril
Thu, 18 Mar 2010 11:46:52 +0000
changeset 839 fbb927bbdda3
parent 825 1ad892c1a709
permissions -rw-r--r--
Version bump to 1.13.1 due to first release of 1.13.0 to openSUSE buildservice
     1 #ifndef EXPORTHTMLDIALOG_H
     2 #define EXPORTHTMLDIALOG_H
     3 
     4 #include "ui_exporthtmldialog.h"
     5 
     6 /*! \brief Dialog to export a map as HTML document
     7 
     8 This is an overloaded QDialog with various settings needed to call
     9 convert the vym.xml to a HTML document. 
    10 */
    11 
    12 class ExportHTMLDialog:public QDialog
    13 {
    14 	Q_OBJECT
    15 public:
    16     ExportHTMLDialog(QWidget* parent = 0);
    17 
    18     virtual QString getDir();
    19     virtual bool warnings();
    20     virtual bool hasChanged();
    21 
    22 public slots:
    23     virtual void readSettings();
    24     virtual void setDir (const QString&);
    25     virtual void dirChanged();
    26     virtual void browseDirectoryPressed();
    27     virtual void imageButtonPressed( bool b );
    28     virtual void textcolorButtonPressed( bool b );
    29     virtual void saveSettingsInMapButtonPressed( bool b );
    30     virtual void warningsButtonPressed( bool b );
    31     virtual void outputButtonPressed( bool b );
    32     virtual void cssChanged();
    33 	virtual QString getCSSPath();
    34     virtual void browseCSSPressed();
    35     virtual void postscriptChanged();
    36     virtual void browsePostExportButtonPressed();
    37     virtual void saveSettings ();
    38     virtual void setFilePath( const QString & s );
    39     virtual void setMapName( const QString & s );
    40 
    41 public:
    42     bool useImage;
    43     bool useTextColor;
    44     QString postscript;
    45 
    46 protected:
    47     bool showWarnings;
    48     QString css;
    49     bool showOutput;
    50     QString dir;
    51     QString filepath;
    52     bool settingsChanged;
    53     QString mapname;
    54     bool saveSettingsInMap;
    55 
    56 private:
    57 	Ui::ExportHTMLDialog ui;
    58     void init();
    59 
    60 };
    61 
    62 #endif // EXPORTHTMLDIALOG_H