Refactor specification handling in DocumentSettingsDialog and PDFController. Introduced primary application field for document types, updated export messages for consistency, and improved page number handling in specifications. Cleaned up unnecessary code in preview widgets.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <QSpacerItem>
|
||||
#include <QTransform>
|
||||
#include <QWheelEvent>
|
||||
#include <QTimer>
|
||||
|
||||
// Включаем структуру PageInfo
|
||||
#include "../model/pageinfo.h"
|
||||
@@ -88,15 +87,13 @@ private:
|
||||
QComboBox* m_pageCombo;
|
||||
QPushButton* m_prevPageBtn;
|
||||
QPushButton* m_nextPageBtn;
|
||||
QPushButton* m_refreshBtn;
|
||||
QLabel* m_pageInfoLabel;
|
||||
|
||||
// Контроллеры
|
||||
MainController* m_mainController;
|
||||
PDFController* m_pdfController;
|
||||
|
||||
// Таймер для отложенного обновления (чтобы избежать множественных обновлений при массовых изменениях)
|
||||
QTimer* m_updateTimer;
|
||||
|
||||
// Данные
|
||||
QList<PageInfo> m_pagesInfo;
|
||||
QList<QPixmap> m_pagePixmaps;
|
||||
|
||||
Reference in New Issue
Block a user