Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 81 lines (55 sloc) 1.399 kB
#ifndef PRAYERTIMESREPORT_H
#define PRAYERTIMESREPORT_H
#include <QMainWindow>
#include <QList>
#include <QTextTableFormat>
#include <QTextBlockFormat>
#include <QTextCharFormat>
#include <QTextFrameFormat>
#include <QTextCursor>
#include <QVector>
#include <QTextLength>
#include <QDate>
class QTextEdit;
class QMenu;
class QAction;
class QTextFrame;
class QTextTable;
class PrayerTimesReport:public QMainWindow
{
Q_OBJECT
public:
PrayerTimesReport(const QStringList&,QWidget* parent=0);
public slots:
void printClicked();
private:
QString convertIntoTime(double var);
void createMenus();
void createActions();
void createList();
void displayHeader();
void init();
void displayReport();
QTextEdit* textEdit;
QMenu* fileMenu;
QAction* printAct;
QAction* closeAct;
QTextCursor cursor;
QTextFrame* rootFrame;
QTextFrameFormat rootFrameFormat;
QTextCharFormat boldCharFormat;
QTextCharFormat titleCharFormat;
QTextCharFormat defaultCharFormat;
QTextCharFormat cellBackgroundFormat;
QTextCharFormat redBoldCharFormat;
QTextCharFormat greenTitleCharFormat;
QTextBlockFormat blockFormat;
QTextBlockFormat centerBlockFormat;
QTextTable* table;
QTextTableFormat tableFormat;
QStringList headerList;
QVector<QTextLength> constraints;
QList<QStringList> list;
QStringList passedList;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.