9 class MyReportDialog
: public QDialog
14 MyReportDialog(QWidget
*parent
= 0);
17 void setDaysLeft(unsigned int daysleft
);
18 void setDaysOff(unsigned int daysOff
);
19 void setDaysTotal(unsigned int totaldays
);
22 void redrawContent(void) { drawPixmap(); }
25 void paintEvent(QPaintEvent
*event
);
26 void resizeEvent(QResizeEvent
*event
);
29 void drawMyLegend(QPainter
*painter
);
30 void drawMyPie(QPainter
*painter
);
31 void drawMyRank(QPainter
*painter
);
32 void drawPixmap(void);
34 // Off screen image representation that can be used as a paint device
37 // Holds information regarding the rank (mark, name, etc)
44 unsigned int m_daysLeft
;
45 unsigned int m_daysOff
;
46 unsigned int m_totalDays
;