ó
‹²,]c           @   sh  d  Z  d d l j Z d d l m Z d d l m Z m Z m	 Z	 m
 Z
 d d l m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z d d l  m! Z! d d l" m# Z# d d	 l$ m% Z% d d
 l& m' Z( d d l) m* Z* e d ƒ Z+ e d ƒ Z, e d ƒ Z- d Z. d Z/ d Z0 d Z1 d Z2 d Z3 d Z4 e d ƒ Z5 d Z6 e d ƒ Z7 e d ƒ Z8 e d ƒ Z9 e d ƒ Z: e d ƒ Z; e d ƒ Z< d e= f d „  ƒ  YZ> d  „  Z? d! „  Z@ d" „  ZA d# e f d$ „  ƒ  YZB d% e f d& „  ƒ  YZC d' eC f d( „  ƒ  YZD d) eC f d* „  ƒ  YZE d+ e# f d, „  ƒ  YZF d S(-   s>   Run configurations related dialogs and widgets and data modelsiÿÿÿÿN(   t   getexistingdirectory(   t   QSizet   Qtt   Signalt   Slot(   t   QButtonGroupt	   QCheckBoxt	   QComboBoxt   QDialogt   QDialogButtonBoxt   QFramet   QGridLayoutt	   QGroupBoxt   QHBoxLayoutt   QLabelt	   QLineEditt   QMessageBoxt   QPushButtont   QRadioButtont   QSizePolicyt   QStackedWidgett   QVBoxLayoutt   QWidget(   t   _(   t   CONF(   t   GeneralConfigPage(   t   to_text_string(   t   icon_manager(   t   getcwd_or_homes   Execute in current consoles   Execute in a dedicated consoles&   Execute in an external system terminals   default/interpreter/currents   default/interpreter/dedicateds   default/interpreter/systerms!   default/wdir/use_script_directorys   default/wdir/use_cwd_directorys    default/wdir/use_fixed_directorys   default/wdir/fixed_directorys"   Always show %s on a first file runt   open_on_firstruns%   Remove all variables before executions+   Directly enter debugging when errors appears0   Interact with the Python console after executions(   The directory of the file being executeds   The current working directorys   The following directory:t   RunConfigurationc           B   sG   e  Z d  Z d d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z	 RS(   s   Run configurationc         C   sª   d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ d  |  _	 d  |  _
 d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ |  j t j d d d i  ƒƒ d  S(   Nt   runt   defaultconfigurationt   default(   t   Nonet   argst   args_enabledt   wdirt   wdir_enabledt   currentt   systermt   interactt   post_mortemt   python_argst   python_args_enabledt   clear_namespacet   file_dirt   cw_dirt	   fixed_dirt   dirt   setR   t   get(   t   selft   fname(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   __init__9   s     															c         C   s  | j  d d ƒ |  _ | j  d t ƒ |  _ | j  d t j  d t t ƒ ƒ |  _ | j  d t j  d t t ƒ ƒ |  _	 | j  d t j  d d t ƒ ƒ |  _
 | j  d t j  d d t ƒ ƒ |  _ | j  d	 d ƒ |  _ | j  d
 t ƒ |  _ | j  d t j  d d t ƒ ƒ |  _ | j  d t j  d t t ƒ ƒ |  _ | j  d t j  d t t ƒ ƒ |  _ | j  d t j  d t t ƒ ƒ |  _ | j  d d ƒ |  _ d  S(   NR#   t    s   args/enabledR'   R   R(   R)   R*   R+   s   python_args/enabledR-   R.   R/   R0   R1   (   R3   R#   t   FalseR$   R   t   CURRENT_INTERPRETER_OPTIONt   TrueR'   t   SYSTERM_INTERPRETER_OPTIONR(   R)   R*   R+   R,   R-   t   WDIR_USE_SCRIPT_DIR_OPTIONR.   t   WDIR_USE_CWD_DIR_OPTIONR/   t   WDIR_USE_FIXED_DIR_OPTIONR0   R1   (   R4   t   options(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR2   L   s*    								c         C   sš   i |  j  d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d	 6|  j	 d
 6|  j
 d 6|  j d 6|  j d 6|  j d 6|  j d 6S(   Ns   args/enabledR#   s   workdir/enabledt   workdirR'   R(   R)   R*   s   python_args/enabledR+   R-   R.   R/   R0   R1   (   R$   R#   R&   R%   R'   R(   R)   R*   R,   R+   R-   R.   R/   R0   R1   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR3   c   s     













c         C   s   |  j  S(   N(   R1   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   get_working_directoryv   s    c         C   s   |  j  r |  j Sd Sd  S(   NR7   (   R$   R#   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   get_argumentsy   s    	c         C   s   |  j  r |  j Sd Sd  S(   NR7   (   R,   R+   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   get_python_arguments   s    	N(
   t   __name__t
   __module__t   __doc__R"   R6   R2   R3   RA   RB   RC   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR   6   s   				c          C   sŠ   t  j d d d ƒ }  yI g  t  j d d g  ƒ D]' \ } } t j | ƒ r. | | f ^ q. |   SWn% t k
 r… t  j d d g  ƒ g  SXd  S(   NR   t   historyi   t   configurations(   R   R3   t   ospt   isfilet
   ValueErrorR2   (   t   history_countt   filenameR?   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   _get_run_configurations†   s    'c         C   s0   t  j d d d ƒ } t  j d d |  |  ƒ d  S(   NR   RG   i   RH   (   R   R3   R2   (   RH   RL   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   _set_run_configurations‘   s    c         C   sJ   t  ƒ  } x: | D]2 \ } } |  | k r t ƒ  } | j | ƒ | Sq Wd S(   s'   Return script *fname* run configurationN(   RN   R   R2   (   R5   RH   RM   R?   t   runconf(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   get_run_configuration–   s    		t   RunConfigOptionsc           B   sG   e  Z d  Z d d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z	 RS(   s   Run configuration optionsc         C   sª  t  j |  | ƒ d  |  _ t ƒ  |  _ t j d t t	 ƒ } t
 t d ƒ ƒ } t ƒ  } | j | ƒ t t ƒ |  _ | j |  j ƒ t t ƒ |  _ | j |  j ƒ t t ƒ |  _ | j |  j ƒ t
 t d ƒ ƒ } t ƒ  } | j | ƒ t t ƒ |  _ | j |  j d d ƒ t t ƒ |  _ | j |  j d d ƒ t t d ƒ ƒ |  _ | j |  j d d ƒ t ƒ  |  _ |  j j j  |  j j! ƒ |  j j! t	 ƒ | j |  j d d ƒ t
 t d ƒ ƒ } t ƒ  } | j | ƒ t t" ƒ |  _# | j |  j# ƒ t t$ ƒ |  _% | j |  j% ƒ t& ƒ  }	 t t' ƒ |  _( |	 j |  j( ƒ t ƒ  |  _) |  j( j j  |  j) j! ƒ |  j) j! t	 ƒ |	 j |  j) ƒ t* t+ j, d	 ƒ d
 |  ƒ }
 |
 j- t d ƒ ƒ |
 j. j  |  j/ ƒ |	 j |
 ƒ | j0 |	 ƒ t
 t d ƒ ƒ } | j1 t2 ƒ |  j j j  | j! ƒ t ƒ  } | j | ƒ t t3 ƒ |  _4 | j |  j4 d d d d ƒ t t d ƒ ƒ |  _5 | j |  j5 d d ƒ t ƒ  |  _6 |  j5 j j  |  j6 j! ƒ |  j6 j! t	 ƒ |  j6 j- t d ƒ ƒ | j |  j6 d d ƒ t7 ƒ  } | j8 t7 j9 ƒ | j: t7 j; ƒ t t< t d ƒ ƒ |  _= |  j= j. j  |  j> ƒ |  j= j? | ƒ t ƒ  } | j | ƒ | j | ƒ | j | ƒ | j | ƒ | j | ƒ | j |  j= ƒ |  j | ƒ d  S(   NR   t   Consoles   General settingsi    i   s   Command line options:i   s   Working Directory settingst   DirOpenIconR7   s   Select directorys   External system terminaliÿÿÿÿi   s4   <b>-u</b> is added to the other options you set heres   this dialog(@   R   R6   R"   R1   R   RP   R   R3   t   ALWAYS_OPEN_FIRST_RUN_OPTIONR8   R   R   R   t	   setLayoutR   t   CURRENT_INTERPRETERt   current_radiot	   addWidgett   DEDICATED_INTERPRETERt   dedicated_radiot   SYSTERM_INTERPRETERt   systerm_radioR   R   t   CLEAR_ALL_VARIABLESt   clear_var_cbt   POST_MORTEMt   post_mortem_cbt   clo_cbR   t   clo_editt   toggledt   connectt
   setEnabledt   FILE_DIRt   file_dir_radiot   CW_DIRt	   cwd_radioR   t	   FIXED_DIRt   fixed_dir_radiot   wd_editR   t   imat   icont
   setToolTipt   clickedt   select_directoryt	   addLayoutt   setDisabledR:   t   INTERACTt   interact_cbt   pclo_cbt	   pclo_editR
   t   setFrameShapet   HLinet   setFrameShadowt   Sunkent   ALWAYS_OPEN_FIRST_RUNt   firstrun_cbt   set_firstrun_ot
   setChecked(   R4   t   parentt
   firstrun_ot   interpreter_groupt   interpreter_layoutt   common_groupt   common_layoutt
   wdir_groupt   wdir_layoutt   fixed_dir_layoutt
   browse_btnt   external_groupt   external_layoutt   hlinet   layout(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR6   ¢   s’    								c         C   sn   t  |  j j ƒ  ƒ } t j | ƒ s0 t ƒ  } n  t |  t d  ƒ | ƒ } | rj |  j j | ƒ | |  _	 n  d S(   s   Select directoryN(
   R   Rm   t   textRI   t   isdirR   R    R   t   setTextR1   (   R4   t   basedirt	   directory(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyRr     s    c         C   s`  |  j  j | ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j  j r[ |  j	 j t
 ƒ n/ |  j  j rz |  j j t
 ƒ n |  j j t
 ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j j |  j  j ƒ |  j  j |  _ |  j j |  j ƒ d  S(   N(    RP   R2   Rb   R€   R$   Rc   R‘   R#   R'   RX   R:   R(   R]   R[   Rv   R)   Ra   R*   Rw   R,   Rx   R+   R_   R-   Rh   R.   Rj   R/   Rl   R0   R1   Rm   (   R4   R?   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR2     s$    c         C   s*  |  j  j ƒ  |  j _ t |  j j ƒ  ƒ |  j _ |  j j ƒ  |  j _	 |  j
 j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ t |  j j ƒ  ƒ |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  |  j _ |  j j ƒ  S(   N(   Rb   t	   isCheckedRP   R$   R   Rc   R   R#   RX   R'   R]   R(   Rv   R)   Ra   R*   Rw   R,   Rx   R+   R_   R-   Rh   R.   Rj   R/   Rl   R0   Rm   R1   R3   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR3   &  s    c         C   sc   t  |  j j ƒ  ƒ } |  j j ƒ  s4 t j | ƒ r8 t St j	 |  t
 d ƒ t
 d ƒ | ƒ t Sd  S(   Ns   Run configurations:   The following working directory is not valid:<br><b>%s</b>(   R   Rm   R   Rl   R”   RI   R   R:   R   t   criticalR   R8   (   R4   R%   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   is_valid6  s    	c         C   s    t  j d t |  j j ƒ  ƒ d  S(   NR   (   R   R2   RU   R~   R”   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR   @  s    N(
   RD   RE   RF   R"   R6   Rr   R2   R3   R–   R   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyRR       s   e	
			
t   BaseRunConfigDialogc           B   sS   e  Z d  Z e e ƒ Z d d „ Z d „  Z d „  Z	 d „  Z
 d „  Z d „  Z RS(   s)   Run configuration dialog box, base widgetc         C   sP   t  j |  | ƒ |  j t j ƒ |  j t j d ƒ ƒ t ƒ  } |  j	 | ƒ d  S(   Nt   run_settings(
   R   R6   t   setAttributeR   t   WA_DeleteOnCloset   setWindowIconRn   Ro   R   RV   (   R4   R   RŽ   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR6   I  s
    	c         G   sM   |  j  ƒ  } x: | D]2 } t | t ƒ r8 | j | ƒ q | j | ƒ q Wd S(   s-   Add widgets/spacing to dialog vertical layoutN(   RŽ   t
   isinstancet   intt
   addSpacingRY   (   R4   t   widgets_or_spacingsRŽ   t   widget_or_spacing(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   add_widgetsV  s
    c         C   sš   t  | ƒ } | j t d ƒ t  j ƒ } | j j |  j ƒ | j j |  j ƒ | j	 j |  j
 ƒ t ƒ  } | j d ƒ | j | ƒ |  j ƒ  j | ƒ d S(   s8   Create dialog button box and add it to the dialog layoutt   Runi   N(   R	   t	   addButtonR   t
   AcceptRoleRq   Re   t   run_btn_clickedt   acceptedt   acceptt   rejectedt   rejectR   t
   addStretchRY   RŽ   Rs   (   R4   t   stdbtnst   bboxt   run_btnt	   btnlayout(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   add_button_box_  s    	c         C   s*   t  j |  | ƒ |  j j |  j ƒ  ƒ d S(   sn   
        Reimplement Qt method to be able to save the widget's size from the
        main application
        N(   R   t   resizeEventt   size_changet   emitt   size(   R4   t   event(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR°   k  s    c         C   s   d S(   s   Run button was just clickedN(    (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR¥   s  s    c         C   s
   t  ‚ d S(   s4   Setup Run Configuration dialog with filename *fname*N(   t   NotImplementedError(   R4   R5   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   setupw  s    N(   RD   RE   RF   R   R   R±   R"   R6   R¡   R¯   R°   R¥   R¶   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR—   E  s   					t   RunConfigOneDialogc           B   s>   e  Z d  Z d d „ Z d „  Z e ƒ  d „  ƒ Z d „  Z RS(   s1   Run configuration dialog box: single file versionc         C   s&   t  j |  | ƒ d  |  _ d  |  _ d  S(   N(   R—   R6   R"   RM   t   runconfigoptions(   R4   R   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR6   ~  s    	c         C   sx   | |  _  t |  ƒ |  _ |  j j t | ƒ j ƒ  ƒ |  j |  j ƒ |  j t j	 ƒ |  j
 t d ƒ t j | ƒ ƒ d S(   s4   Setup Run Configuration dialog with filename *fname*s   Run settings for %sN(   RM   RR   R¸   R2   R   R3   R¡   R¯   R	   t   Cancelt   setWindowTitleR   RI   t   basename(   R4   R5   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR¶   ƒ  s    	c         C   sY   |  j  j ƒ  s d St ƒ  } | j d |  j |  j  j ƒ  f ƒ t | ƒ t j |  ƒ d S(   s   Reimplement Qt methodNi    (	   R¸   R–   RN   t   insertRM   R3   RO   R   R§   (   R4   RH   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR§   Œ  s    	"
c         C   s
   |  j  j S(   N(   R¸   RP   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   get_configuration–  s    N(	   RD   RE   RF   R"   R6   R¶   R   R§   R½   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR·   |  s
   		
t   RunConfigDialogc           B   s5   e  Z d  Z d d „ Z d „  Z d „  Z d „  Z RS(   s3   Run configuration dialog box: multiple file versionc         C   s/   t  j |  | ƒ d  |  _ d  |  _ d  |  _ d  S(   N(   R—   R6   R"   t   file_to_runt   combot   stack(   R4   R   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR6   ž  s    		c         C   s   t  |  j j ƒ  ƒ |  _ d S(   s   Run button was just clickedN(   R   RÀ   t   currentTextR¿   (   R4   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR¥   ¤  s    c         C   s  t  t d ƒ ƒ } t ƒ  |  _ |  j j d ƒ |  j j t j ƒ |  j j t j	 t j
 ƒ t ƒ  |  _ t ƒ  } xX t | ƒ D]" \ } \ } } | | k r| Pq| q| W| j d | t | ƒ j ƒ  f ƒ d } xM | D]E \ } } t |  ƒ } | j | ƒ |  j j | ƒ |  j j | ƒ qÑ W|  j j j |  j j ƒ |  j j | ƒ |  j | |  j d |  j ƒ |  j t j t j Bƒ |  j t d ƒ ƒ d S(   s4   Setup Run Configuration dialog with filename *fname*s   Select a run configuration:i   i    i
   s   Run configuration per fileN(   R   R   R   RÀ   t   setMaxVisibleItemst   setSizeAdjustPolicyt   AdjustToMinimumContentsLengtht   setSizePolicyR   t	   Expandingt   FixedR   RÁ   RN   t	   enumerateR¼   R   R3   RR   R2   t   addItemRY   t   currentIndexChangedRe   t   setCurrentIndexR¡   R¯   R	   t   OkR¹   Rº   (   R4   R5   t   combo_labelRH   t   indexRM   R?   t   widget(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR¶   ¨  s,    	"c         C   s°   g  } xŒ t  |  j j ƒ  ƒ D]u } t |  j j | ƒ ƒ } |  j j | ƒ } | |  j j ƒ  k rr | j ƒ  rr d S| j	 ƒ  } | j
 | | f ƒ q Wt | ƒ t j |  ƒ d S(   s   Reimplement Qt methodN(   t   rangeRÁ   t   countR   RÀ   t   itemTextRÐ   t   currentIndexR–   R3   t   appendRO   R   R§   (   R4   RH   RÏ   RM   R¸   R?   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR§   É  s    
N(   RD   RE   RF   R"   R6   R¥   R¶   R§   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyR¾   œ  s
   		!t   RunConfigPagec           B   sA   e  Z d  Z d Z e d ƒ Z e j d ƒ Z d „  Z	 d „  Z
 RS(   s'   Default Run Settings configuration pageR   R¢   c         C   s€  t  t d ƒ ƒ } | j t ƒ t t d ƒ ƒ } t | ƒ } |  j t t t d | ƒ|  _	 |  j t
 t t d | ƒ|  _ |  j t t t d | ƒ|  _ t ƒ  } | j | ƒ | j |  j	 ƒ | j |  j ƒ | j |  j ƒ t t d ƒ ƒ } |  j t d t ƒ } |  j t d t ƒ } t ƒ  } | j | ƒ | j | ƒ | j | ƒ t t d ƒ ƒ }	 t |	 ƒ }
 t  t d ƒ ƒ } | j t ƒ |  j t t t d |
 ƒ} |  j t t t d |
 ƒ} |  j t t t d |
 ƒ} |  j d	 t t ƒ  ƒ } | j  j! | j" ƒ | j  j! | j# ƒ | j  j! | j# ƒ t$ ƒ  } | j | ƒ | j | ƒ t ƒ  } | j | ƒ | j | ƒ | j | ƒ | j% | ƒ |	 j | ƒ t t d
 ƒ ƒ } |  j t& d t ƒ } t ƒ  } | j | ƒ | j | ƒ |  j t' t d ƒ t( t ƒ } t ƒ  } | j | ƒ | j) d ƒ | j | ƒ | j | ƒ | j |	 ƒ | j | ƒ | j | ƒ | j* d ƒ |  j | ƒ d  S(   Nsœ   The following are the default options for running files.These options may be overriden using the <b>Configuration per file</b> entry of the <b>Run</b> menu.RS   t   button_groups   General settingsR*   R-   s   Working Directory settingss   Default working directory is:R7   s   External system terminalR)   s   Run Settings dialogi
   i   (+   R   R   t   setWordWrapR:   R   R   t   create_radiobuttonRW   R9   RX   RZ   t   DEDICATED_INTERPRETER_OPTIONR8   R[   R\   R;   R]   R   RV   RY   t   create_checkboxR`   R^   Rg   R<   Ri   R=   Rk   R>   t   create_browsedirt   WDIR_FIXED_DIR_OPTIONR   Rd   Re   Rf   Rt   R   Rs   Ru   R}   RU   Rž   Rª   (   R4   t   about_labelRƒ   t   interpreter_bgR„   t   general_groupR*   t   clear_variablest   general_layoutR‡   t   wdir_bgt
   wdir_labelt   dirname_radioRj   t   thisdir_radiot
   thisdir_bdt   thisdir_layoutRˆ   R‹   t   interact_afterRŒ   R~   t   vlayout(    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt
   setup_pageß  s”    																			c         C   s   d  S(   N(    (   R4   R?   (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   apply_settings:  s    (   RD   RE   RF   t   CONF_SECTIONR   t   NAMERn   Ro   t   ICONRë   Rì   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyRÖ   Ø  s   	[(G   RF   t   os.patht   pathRI   t   qtpy.compatR    t   qtpy.QtCoreR   R   R   R   t   qtpy.QtWidgetsR   R   R   R   R	   R
   R   R   R   R   R   R   R   R   R   R   R   R   t   spyder.config.baseR   t   spyder.config.mainR   t   spyder.plugins.configdialogR   t   spyder.py3compatR   t   spyder.utilsR   Rn   t   spyder.utils.miscR   RW   RZ   R\   R9   RÚ   R;   R<   R=   R>   RÝ   R}   RU   R^   R`   Ru   Rg   Ri   Rk   t   objectR   RN   RO   RQ   RR   R—   R·   R¾   RÖ   (    (    (    s7   lib/python2.7/site-packages/spyder/plugins/runconfig.pyt   <module>   sJ   "vP			
¥7 <