mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 02:19:10 +00:00
Revert "Add UI for selecting backing store drawing strategy"
The need for this variable is too rare to deserve being exposed in UI. This reverts commit a3fd3a09f1aa0b6003fc3cf033e970bb7547a983.
This commit is contained in:
parent
61d062633c
commit
854fbc5262
@ -1328,7 +1328,6 @@ PrefDisplay::PrefDisplay(GuiPreferences * form)
|
||||
connect(previewSizeSB, SIGNAL(valueChanged(double)), this, SIGNAL(changed()));
|
||||
connect(paragraphMarkerCB, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
|
||||
connect(ctAdditionsUnderlinedCB, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
|
||||
connect(ctUseBackingstoreCB, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
|
||||
}
|
||||
|
||||
|
||||
@ -1356,8 +1355,6 @@ void PrefDisplay::applyRC(LyXRC & rc) const
|
||||
rc.preview_scale_factor = previewSizeSB->value();
|
||||
rc.paragraph_markers = paragraphMarkerCB->isChecked();
|
||||
rc.ct_additions_underlined = ctAdditionsUnderlinedCB->isChecked();
|
||||
rc.draw_strategy = ctUseBackingstoreCB->isChecked()
|
||||
? LyXRC::DS_BACKINGSTORE : LyXRC::DS_PARTIAL;
|
||||
|
||||
// FIXME!! The graphics cache no longer has a changeDisplay method.
|
||||
#if 0
|
||||
@ -1387,8 +1384,6 @@ void PrefDisplay::updateRC(LyXRC const & rc)
|
||||
previewSizeSB->setValue(rc.preview_scale_factor);
|
||||
paragraphMarkerCB->setChecked(rc.paragraph_markers);
|
||||
ctAdditionsUnderlinedCB->setChecked(rc.ct_additions_underlined);
|
||||
ctUseBackingstoreCB->setChecked(rc.draw_strategy == LyXRC::DS_BACKINGSTORE);
|
||||
ctUseBackingstoreCB->setHidden(guiApp->needsBackingStore());
|
||||
previewSizeSB->setEnabled(
|
||||
rc.display_graphics
|
||||
&& rc.preview != LyXRC::PREVIEW_OFF);
|
||||
|
@ -83,7 +83,7 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<item row="4" column="0">
|
||||
<spacer>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
@ -158,16 +158,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="ctUseBackingstoreCB">
|
||||
<property name="toolTip">
|
||||
<string>If this is checked, an intermediate surface will be used for painting. This may be needed in some cases to have proper display, but breaks subpixel aliasing.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use &backing store to display text</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
|
Loading…
x
Reference in New Issue
Block a user