a
     ³Ša  ã                   @   sP   d Z ddlmZmZmZ ddlmZ ddlmZ ddl	m
Z
 G dd„ deƒZdS )	zHelp Plugin Configuration Page.é    )Ú	QGroupBoxÚQVBoxLayoutÚQLabel)Ú_)ÚPluginConfigPage)Úprogramsc                   @   s   e Zd Zdd„ ZdS )ÚHelpConfigPagec                 C   sb  t tdƒƒ}ttdƒƒ}| d¡ |  tdƒd¡}|  tdƒd¡}tƒ }| |¡ | |¡ | |¡ | |¡ t tdƒƒ}|  td	ƒd
¡}t 	dd¡}| 
|¡ |sÖt d¡}	tdƒ}
|
dtdƒ|	  7 }
| |
¡ tƒ }| |¡ | |¡ t tdƒƒ}|  tdƒd¡}tƒ }| |¡ | |¡ tƒ }| |¡ | |¡ | |¡ | d¡ |  |¡ d S )NzAutomatic connectionszÂThis pane can automatically show an object's help information after a left parenthesis is written next to it. Below you can decide to which plugin you want to connect it to turn on this feature.TZEditorzconnect/editorzIPython Consolezconnect/ipython_consolezAdditional featureszRender mathematical equationsZmathZsphinxz>=1.1z-This feature requires Sphinx 1.1 or superior.Ú
z!Sphinx %s is currently installed.zSource codez
Wrap linesZwrapé   )r   r   r   ZsetWordWrapZcreate_checkboxr   Z	addWidgetZ	setLayoutr   Zis_module_installedZ
setEnabledZget_module_versionZ
setToolTipZ
addStretch)ÚselfZconnections_groupZconnections_labelZ
editor_boxZipython_boxZconnections_layoutZfeatures_groupZmath_boxZ
req_sphinxZ
sphinx_verZ
sphinx_tipZfeatures_layoutZsourcecode_groupZwrap_mode_boxZsourcecode_layoutZvlayout© r   ú;lib/python3.9/site-packages/spyder/plugins/help/confpage.pyÚ
setup_page   sJ    

ÿ




ÿ










zHelpConfigPage.setup_pageN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s   r   N)Ú__doc__Zqtpy.QtWidgetsr   r   r   Zspyder.config.baser   Zspyder.api.preferencesr   Zspyder.utilsr   r   r   r   r   r   Ú<module>   s
   