Core: Introduce PDF Import-Export dialog (#20860)
* Core: Introduce PDF Import-Export dialog Currently, we only have hardcoded exporting to one pdf version, which leads to (as in one of the below issues) to problems, such as non-transparent layers, which are by default not supported in PDF/A-1b. So, this patch adds an option to the user to select their preferred PDF version by introducing new dialog under Import-Export in Preferences, and allowing to update that version before exporting. * Core: Add informational messages regarding selected PDF format * Gui: Handle Qt < 6.8 unsupported PDF format * Gui: Switch PDF export prefs dialog to use tr() * Gui: Remove center alignment of PDF version description --------- Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "PreferencePages/DlgSettingsViewColor.h"
|
||||
#include "PreferencePages/DlgSettingsWorkbenchesImp.h"
|
||||
#include "PreferencePages/DlgSettingsAdvanced.h"
|
||||
#include "PreferencePages/DlgSettingsPDF.h"
|
||||
|
||||
#include "Dialogs/DlgToolbarsImp.h"
|
||||
#include "Dialogs/DlgActionsImp.h"
|
||||
@@ -88,6 +89,7 @@ WidgetFactorySupplier::WidgetFactorySupplier()
|
||||
new PrefPageProducer<DlgSettingsAdvanced> ( QT_TRANSLATE_NOOP("QObject","Display") );
|
||||
DlgSettingsUI::attachObserver();
|
||||
new PrefPageProducer<DlgSettingsWorkbenchesImp> ( QT_TRANSLATE_NOOP("QObject","Workbenches") );
|
||||
new PrefPageProducer<DlgSettingsPDF> ( QT_TRANSLATE_NOOP("QObject","Import-Export") );
|
||||
new PrefPageProducer<DlgSettingsMacroImp> ( QT_TRANSLATE_NOOP("QObject", "Python"));
|
||||
new PrefPageProducer<DlgSettingsPythonConsole> ( QT_TRANSLATE_NOOP("QObject", "Python"));
|
||||
new PrefPageProducer<DlgSettingsEditor> ( QT_TRANSLATE_NOOP("QObject", "Python"));
|
||||
|
||||
Reference in New Issue
Block a user