
    Je4                     Z    d Z ddlZddlmZmZ ddlmZ ddlmZ ddl	m
Z
  G d de      Zy)	z;
Language Server Protocol introspection configuration tab.
    N)	QGroupBoxQVBoxLayout)SpyderPreferencesTab)_)QStylePalettec                   X     e Zd ZdZ ed      Zej                  dk(  rdndZ fdZ	 xZ
S )IntrospectionConfigTabzIntrospection settings tab.IntrospectiondarwinCmdCtrlc                    t         |   |       | j                  }t        t	        d            } |t	        d      dt	        d      j                  | j                              } |t	        d      d      } |t	        d      d	      } |t	        d
      dt	        d            }t               }|j                  |       |j                  |       |j                  |       |j                  |       |j                  |       |j                  j                  |j                         t        t	        d            }	| j                  t	        d      d      }
|
j                  j                  dt         j"                   d       t               }|j                  |
       |	j                  |       t               }|j                  |       |j                  |	       |j%                  d       | j                  |       y )NzBasic featureszEnable Go to definitionjedi_definitionzyIf enabled, left-clicking on an object name while 
pressing the {} key will go to that object's definition
(if resolved).)tipz)Follow imports when going to a definitionzjedi_definition/follow_importszShow calltipsjedi_signature_helpzEnable hover hintsenable_hover_hintsz~If enabled, hovering the mouse pointer over an object
name will display that object's signature and/or
docstring (if present).AdvancedzJPreload the following modules to make completion faster and more accurate:preload_moduleszborder: 1px solid ;   )super__init__create_checkboxr   r   formatCTRLr   	addWidget	setLayouttoggledconnect
setEnabledcreate_textedittextboxsetStyleSheetr   COLOR_BACKGROUND_2
addStretch)selfparentnewcbintrospection_groupgoto_definition_boxfollow_imports_boxshow_signature_boxenable_hover_hints_boxintrospection_layoutadvanced_groupmodules_texteditadvanced_layoutlayout	__class__s                k/usr/lib/python3/dist-packages/spyder/plugins/completion/providers/languageserver/conftabs/introspection.pyr   zIntrospectionConfigTab.__init__   s    $$'*:(;<#'( # $$*F499$57 #1 &2 $3#CE #1_#57LM!&"#  , -".  +}&&':;&&'9:&&'9:&&'=>%%&:;##++,>,I,IJ #1Z=1// # $

 	  .. !A!A B!D	
 &-!!"23  1,-(!v    )__name__
__module____qualname____doc__r   TITLEsysplatformr   r   __classcell__)r3   s   @r4   r	   r	      s,    %oELLH,5&D1 1r5   r	   )r9   r;   qtpy.QtWidgetsr   r   spyder.api.preferencesr   spyder.config.baser   spyder.utils.paletter   r	    r5   r4   <module>rC      s,   
  2 8   .71 7r5   