mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #172: access keys are missing from most menu items/action text strings
This commit is contained in:
@ -43,9 +43,9 @@ void SoftProofingPlugin::setWidget(pdf::PDFWidget* widget)
|
||||
|
||||
BaseClass::setWidget(widget);
|
||||
|
||||
m_enableSoftProofingAction = new QAction(QIcon(":/pdfplugins/softproofing/soft-proofing.svg"), tr("Soft Proofing"), this);
|
||||
m_enableGamutCheckingAction = new QAction(QIcon(":/pdfplugins/softproofing/gamut-checking.svg"), tr("Gamut Checking"), this);
|
||||
m_showSettingsAction = new QAction(QIcon(":/pdfplugins/softproofing/settings.svg"), tr("Soft Proofing Settings"), this);
|
||||
m_enableSoftProofingAction = new QAction(QIcon(":/pdfplugins/softproofing/soft-proofing.svg"), tr("&Soft Proofing"), this);
|
||||
m_enableGamutCheckingAction = new QAction(QIcon(":/pdfplugins/softproofing/gamut-checking.svg"), tr("&Gamut Checking"), this);
|
||||
m_showSettingsAction = new QAction(QIcon(":/pdfplugins/softproofing/settings.svg"), tr("Soft &Proofing Settings"), this);
|
||||
|
||||
m_enableSoftProofingAction->setCheckable(true);
|
||||
m_enableGamutCheckingAction->setCheckable(true);
|
||||
@ -83,6 +83,11 @@ std::vector<QAction*> SoftProofingPlugin::getActions() const
|
||||
return { m_enableSoftProofingAction, m_enableGamutCheckingAction, m_showSettingsAction };
|
||||
}
|
||||
|
||||
QString SoftProofingPlugin::getPluginMenuName() const
|
||||
{
|
||||
return tr("Soft &Proofing");
|
||||
}
|
||||
|
||||
void SoftProofingPlugin::onSoftProofingTriggered()
|
||||
{
|
||||
if (m_isLoadingGUI)
|
||||
|
Reference in New Issue
Block a user