-
Notifications
You must be signed in to change notification settings - Fork 1
/
FinPeriodReport.h
48 lines (39 loc) · 956 Bytes
/
FinPeriodReport.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef FINPERIODREPORT_H
#define FINPERIODREPORT_H
#include <QDialog>
class QLineEdit;
class FinPeriodReportPreferencesDlg
: public QDialog
{
Q_OBJECT
public:
FinPeriodReportPreferencesDlg(QWidget* parent);
virtual ~FinPeriodReportPreferencesDlg();
int getStartMonth() const;
int getStartYear() const;
int getFinishMonth() const;
int getFinishYear() const;
private slots:
void onOk();
private:
QLineEdit* m_leStartMonth;
QLineEdit* m_leStartYear;
QLineEdit* m_leFinishMonth;
QLineEdit* m_leFinishYear;
void createWidgets();
};
class QTreeWidget;
class QTreeWidgetItem;
class FinPeriodReport
: public QDialog
{
Q_OBJECT
public:
FinPeriodReport(int startMonth, int startYear, int finishMonth, int finishYear);
virtual ~FinPeriodReport();
private slots:
void itemDoubleClicked(QTreeWidgetItem*, int);
private:
QTreeWidget* m_twReport;
};
#endif /* FINPERIODREPORT_H */