You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tellico/src/reportdialog.h

66 lines
1.6 KiB

/***************************************************************************
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 {
Q_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