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.

43 lines
1.5 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
7 years ago
​
​
​
​
​
​
​
​
  1. #ifndef __GUI_REPORT_MANAGER_WINDOW_HEADER__
  2. #define __GUI_REPORT_MANAGER_WINDOW_HEADER__
  3. #ifdef __linux__
  4. #include <QDialog>
  5. #include "../gui.h"
  6. #else
  7. #include "../gui.h"
  8. #endif
  9. #include "../../components/object/objectEventReport.h"
  10. #include "../controls/ReportRecordWidget.h"
  11. class guiReportsManagerDialog : public QDialog {
  12. private:
  13. objectEventReport * m_pSystemReport;
  14. QVBoxLayout * verticalLayout_2;
  15. QVBoxLayout * verticalLayout;
  16. QHBoxLayout * horizontalLayout;
  17. QCalendarWidget * m_pCalendarWidget;
  18. QListView * m_pListView;
  19. QVBoxLayout * verticalLayout_3;
  20. QPushButton * pushButton;
  21. QPushButton * pushButton_2;
  22. QSpacerItem * verticalSpacer;
  23. QScrollArea * scrollArea;
  24. QWidget * scrollAreaWidgetContents;
  25. QListWidget * listWidget_2;
  26. reportRecordWidget * m_pReportRecView;
  27. QStringListModel * m_pListModel;
  28. struct tm selectedTM;
  29. vectorPeportsList * selectedReportList;
  30. vectorReport * selectedReport;
  31. public:
  32. explicit guiReportsManagerDialog(QWidget *parent = NULL);
  33. ~guiReportsManagerDialog();
  34. public slots:
  35. void selectReportDate();
  36. void selectReport( const QModelIndex &idx );
  37. void selectRecord( const QModelIndex &idx );
  38. };
  39. #endif