Skip to content
Permalink
Browse files

PreviewGrayScale->PreviewModeGrayscale, captions

  • Loading branch information
willcohen authored and nyalldawson committed Oct 27, 2020
1 parent ea628e3 commit da5bc3068cef7e6c1287831c17ffe298c1642a63
@@ -24,7 +24,7 @@ color blindness modes.
enum PreviewMode
{
PreviewMono,
PreviewGrayscale
PreviewGrayscale,
PreviewProtanope,
PreviewDeuteranope,
PreviewTritanope
@@ -3062,7 +3062,7 @@ void QgisApp::createActionGroups()
mPreviewGroup->setExclusive( true );
mActionPreviewModeOff->setActionGroup( mPreviewGroup );
mActionPreviewModeMono->setActionGroup( mPreviewGroup );
mActionPreviewGrayscale->setActionGroup( mPreviewGroup );
mActionPreviewModeGrayscale->setActionGroup( mPreviewGroup );
mActionPreviewProtanope->setActionGroup( mPreviewGroup );
mActionPreviewDeuteranope->setActionGroup( mPreviewGroup );
mActionPreviewTritanope->setActionGroup( mPreviewGroup );
@@ -4304,7 +4304,7 @@ void QgisApp::setupConnections()
// connect preview modes actions
connect( mActionPreviewModeOff, &QAction::triggered, this, &QgisApp::disablePreviewMode );
connect( mActionPreviewModeMono, &QAction::triggered, this, &QgisApp::activateMonoPreview );
connect( mActionPreviewGrayscale, &QAction::triggered, this, &QgisApp::activateGrayscalePreview );
connect( mActionPreviewModeGrayscale, &QAction::triggered, this, &QgisApp::activateGrayscalePreview );
connect( mActionPreviewProtanope, &QAction::triggered, this, &QgisApp::activateProtanopePreview );
connect( mActionPreviewDeuteranope, &QAction::triggered, this, &QgisApp::activateDeuteranopePreview );
connect( mActionPreviewTritanope, &QAction::triggered, this, &QgisApp::activateTritanopePreview );
@@ -243,7 +243,7 @@
</property>
<addaction name="mActionPreviewModeOff"/>
<addaction name="mActionPreviewModeMono"/>
<addaction name="mActionPreviewGrayscale"/>
<addaction name="mActionPreviewModeGrayscale"/>
<addaction name="mActionPreviewProtanope"/>
<addaction name="mActionPreviewDeuteranope"/>
<addaction name="mActionPreviewTritanope"/>
@@ -1123,7 +1123,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Simulate Tritanopia Color Blindness (&amp;Tritanopia)</string>
<string>Simulate Tritanopia Color Blindness (&amp;No Blue)</string>
</property>
</action>
<action name="mActionShowPage">
@@ -117,7 +117,7 @@
</property>
<addaction name="mActionPreviewModeOff"/>
<addaction name="mActionPreviewModeMono"/>
<addaction name="mActionPreviewGrayscale"/>
<addaction name="mActionPreviewModeGrayscale"/>
<addaction name="mActionPreviewProtanope"/>
<addaction name="mActionPreviewDeuteranope"/>
<addaction name="mActionPreviewTritanope"/>
@@ -2644,7 +2644,7 @@ Acts on the currently active layer only.</string>
<string>Simulate Fax (Mono)</string>
</property>
</action>
<action name="mActionPreviewGrayscale">
<action name="mActionPreviewModeGrayscale">
<property name="checkable">
<bool>true</bool>
</property>

0 comments on commit da5bc30

Please sign in to comment.
You can’t perform that action at this time.