OSCAR-code/sleepyhead/reports.h
2014-08-17 22:56:13 +10:00

28 lines
860 B
C++

/* Reports Header
*
* Copyright (c) 2011-2014 Mark Watkins <jedimark@users.sourceforge.net>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details. */
#ifndef REPORTS_H
#define REPORTS_H
#include "Graphs/gGraphView.h"
class Report
{
public:
Report();
/*! \fn void PrintReport gGraphView *gv,QString name, QDate date=QDate::currentDate());
\brief Prepares a report using gGraphView object, and sends to a created QPrinter object
\param gGraphView *gv GraphView Object containing which graph set to print
\param QString name Report Title
\param QDate date
*/
static void PrintReport(gGraphView *gv, QString name, QDate date = QDate::currentDate());
};
#endif // REPORTS_H