Update row count constants in VedomostTableModel and PDFController for improved PDF export layout. Adjusted background color handling for table rows and enhanced page number display in headers.

This commit is contained in:
2025-12-10 13:16:53 +03:00
parent fa402d5ced
commit 129922e392
4 changed files with 69 additions and 32 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ public:
explicit VedomostTableModel(QObject *parent = nullptr);
// Константы для разбивки на страницы
static const int ROWS_PER_FIRST_PAGE = 27;
static const int ROWS_PER_OTHER_PAGE = 33;
static const int ROWS_PER_FIRST_PAGE = 24;
static const int ROWS_PER_OTHER_PAGE = 29;
// Методы QAbstractTableModel
int rowCount(const QModelIndex &parent = QModelIndex()) const override;