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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user