Changed the shell configuration page logic such, that the monospaced font settings can only be configured, if syntax highlighting is disabled. eric7

Tue, 15 Mar 2022 17:29:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 15 Mar 2022 17:29:10 +0100
branch
eric7
changeset 8979
c8887412e98f
parent 8978
38c3ddf21537
child 8980
f49ab2441e1f

Changed the shell configuration page logic such, that the monospaced font settings can only be configured, if syntax highlighting is disabled.

eric7/Preferences/ConfigurationPages/ShellPage.ui file | annotate | diff | comparison | revisions
--- a/eric7/Preferences/ConfigurationPages/ShellPage.ui	Mon Mar 14 19:49:48 2022 +0100
+++ b/eric7/Preferences/ConfigurationPages/ShellPage.ui	Tue Mar 15 17:29:10 2022 +0100
@@ -306,5 +306,54 @@
   <tabstop>stdOutErrCheckBox</tabstop>
  </tabstops>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>shellSyntaxHighlightingCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>monospacedFontButton</receiver>
+   <slot>setDisabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>72</x>
+     <y>102</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>71</x>
+     <y>299</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>shellSyntaxHighlightingCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>monospacedFontSample</receiver>
+   <slot>setDisabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>141</x>
+     <y>105</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>200</x>
+     <y>298</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>shellSyntaxHighlightingCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>monospacedCheckBox</receiver>
+   <slot>setDisabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>241</x>
+     <y>104</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>410</x>
+     <y>304</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

eric ide

mercurial