/*************************************************************************** copyright : (C) 2005-2006 by Robby Stephenson email : robby@periapsis.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of version 2 of the GNU General Public License as * * published by the Free Software Foundation; * * * ***************************************************************************/ #ifndef REPORTDIALOG_H #define REPORTDIALOG_H #include <kdialogbase.h> class TDEHTMLPart; namespace Tellico { namespace Export { class HTMLExporter; } namespace GUI { class ComboBox; } /** * @author Robby Stephenson */ class ReportDialog : public KDialogBase { TQ_OBJECT public: /** * The constructor sets up the dialog. * * @param parent A pointer to the parent widget * @param name The widget name */ ReportDialog(TQWidget* parent, const char* name=0); virtual ~ReportDialog(); public slots: /** * Regenerate the report. */ void slotRefresh(); private slots: void slotGenerate(); void slotPrint(); void slotSaveAs(); private: TDEHTMLPart* m_HTMLPart; GUI::ComboBox* m_templateCombo; Export::HTMLExporter* m_exporter; TQString m_xsltFile; }; } // end namespace #endif