diff options
author | Mihály Palenik <palenik.mihaly@gmail.com> | 2015-08-11 00:50:04 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2015-08-11 06:34:36 +0000 |
commit | 0b0fb87fbac36ef9fbf3dfeac0f1372617f4b3e4 (patch) | |
tree | f39fb128c6fb933e8a86ea4c9d5ef5204b5a177f /cui/source/options/optaccessibility.cxx | |
parent | 9d307abeec2a80e59af0f0af10dc42d90cd7441a (diff) |
Delete unnecessary global options from Options dialog
Here https://wiki.documentfoundation.org/Design/Whiteboards/Options/Global
are unnecessary global options. These options are set in Expert
Configuration dialog under org.oppenoffice.Office.Common node.
Preference name, Property, Location in Options dialog;
Help, Tip, General/Help/Tips;
Undo, Steps, Memory/Undo/Number of Undo Steps;
Font/View, History, View/Font Lists/Show font history;
Drawinglayer, TransparentSelection, View/Selection/Transparency;
Drawinglayer, TransparentSelectionPercent,
View/Selection/Transparency level;
Accessibility, IsHelpTipsDisappear,
Accessibility/Help tips disappear after ... seconds;
Accessibility, HelpTipSeconds,
Accessibility/Help tips disappear after ... seconds;
Filter/HTML/Export, Browser,
Load/Save/HTML Compatibility/Export/Export choice;
Change-Id: I5152a40b5029bfbfc3850ff60305ec34b5380fb2
Reviewed-on: https://gerrit.libreoffice.org/17481
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'cui/source/options/optaccessibility.cxx')
-rw-r--r-- | cui/source/options/optaccessibility.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cui/source/options/optaccessibility.cxx b/cui/source/options/optaccessibility.cxx index d781ed26dd54..4e12f54ae267 100644 --- a/cui/source/options/optaccessibility.cxx +++ b/cui/source/options/optaccessibility.cxx @@ -41,15 +41,11 @@ SvxAccessibilityOptionsTabPage::SvxAccessibilityOptionsTabPage(vcl::Window* pPar get(m_pTextSelectionInReadonly, "textselinreadonly"); get(m_pAnimatedGraphics, "animatedgraphics"); get(m_pAnimatedTexts, "animatedtext"); - get(m_pTipHelpCB, "tiphelptimeout"); - get(m_pTipHelpNF, "tiphelptimeoutnf"); get(m_pAutoDetectHC, "autodetecthc"); get(m_pAutomaticFontColor, "autofontcolor"); get(m_pPagePreviews, "systempagepreviewcolor"); - m_pTipHelpCB->SetClickHdl(LINK(this, SvxAccessibilityOptionsTabPage, TipHelpHdl)); - #ifdef UNX // UNIX: read the gconf2 setting instead to use the checkbox m_pAccessibilityTool->Hide(); @@ -69,8 +65,6 @@ void SvxAccessibilityOptionsTabPage::dispose() m_pTextSelectionInReadonly.clear(); m_pAnimatedGraphics.clear(); m_pAnimatedTexts.clear(); - m_pTipHelpCB.clear(); - m_pTipHelpNF.clear(); m_pAutoDetectHC.clear(); m_pAutomaticFontColor.clear(); m_pPagePreviews.clear(); @@ -87,8 +81,6 @@ bool SvxAccessibilityOptionsTabPage::FillItemSet( SfxItemSet* ) //aConfig.Set... from controls m_pImpl->m_aConfig.SetIsForPagePreviews( m_pPagePreviews->IsChecked() ); - m_pImpl->m_aConfig.SetIsHelpTipsDisappear( m_pTipHelpCB->IsChecked() ); - m_pImpl->m_aConfig.SetHelpTipSeconds( (short)m_pTipHelpNF->GetValue() ); m_pImpl->m_aConfig.SetIsAllowAnimatedGraphics( m_pAnimatedGraphics->IsChecked() ); m_pImpl->m_aConfig.SetIsAllowAnimatedText( m_pAnimatedTexts->IsChecked() ); m_pImpl->m_aConfig.SetIsAutomaticFontColor( m_pAutomaticFontColor->IsChecked() ); @@ -112,8 +104,6 @@ void SvxAccessibilityOptionsTabPage::Reset( const SfxItemSet* ) //set controls from aConfig.Get... m_pPagePreviews->Check( m_pImpl->m_aConfig.GetIsForPagePreviews() ); - EnableTipHelp( m_pImpl->m_aConfig.GetIsHelpTipsDisappear() ); - m_pTipHelpNF->SetValue( m_pImpl->m_aConfig.GetHelpTipSeconds() ); m_pAnimatedGraphics->Check( m_pImpl->m_aConfig.GetIsAllowAnimatedGraphics() ); m_pAnimatedTexts->Check( m_pImpl->m_aConfig.GetIsAllowAnimatedText() ); m_pAutomaticFontColor->Check( m_pImpl->m_aConfig.GetIsAutomaticFontColor() ); @@ -126,17 +116,4 @@ void SvxAccessibilityOptionsTabPage::Reset( const SfxItemSet* ) m_pAccessibilityTool->Check(aMiscSettings.GetEnableATToolSupport()); } -IMPL_LINK(SvxAccessibilityOptionsTabPage, TipHelpHdl, CheckBox*, pBox) -{ - bool bChecked = pBox->IsChecked(); - m_pTipHelpNF->Enable(bChecked); - return 0; -} - -void SvxAccessibilityOptionsTabPage::EnableTipHelp(bool bCheck) -{ - m_pTipHelpCB->Check(bCheck); - m_pTipHelpNF->Enable(bCheck); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |