
    G@d                     Z    d 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
dS )	zHelp Plugin Configuration Page.    )	QGroupBoxQVBoxLayout)_)ima)PluginConfigPagec                       e Zd ZdZd Zd ZdS )HistoryConfigPagez&Configuration page for History plugin.c                 *    t          j        d          S )z)Get icon to use in Configurations dialog.history)r   icon)selfs    ?lib/python3.11/site-packages/spyder/plugins/history/confpage.pyget_iconzHistoryConfigPage.get_icon   s    x	"""    c                 n   t          t          d                    }|                     t          d          d          }|                     t          d          d          }|                     t          d          d          }t                      }|                    |           |                    |           |                    |           |                    |           t                      }|                    |           |                    d           |                     |           d	S )
z&Setup config page widgets and options.Displayz
Wrap lineswrapzShow line numbersline_numbersz"Scroll automatically to last entry	go_to_eof   N)r   r   create_checkboxr   	addWidget	setLayout
addStretch)r   sourcecode_groupwrap_mode_boxlinenumbers_mode_boxgo_to_eof_boxsourcecode_layoutvlayouts          r   
setup_pagezHistoryConfigPage.setup_page   s$   $Qy\\22,,Q|__fEE#33A6I4J4J4B D  D,,>??N N (MM##M222##$8999##M222""#4555--*+++1wr   N)__name__
__module____qualname____doc__r   r!    r   r   r	   r	      s8        00# # #         r   r	   N)r%   qtpy.QtWidgetsr   r   spyder.config.baser   spyder.utils.icon_managerr   spyder.api.preferencesr   r	   r&   r   r   <module>r+      s    & % 2 1 1 1 1 1 1 1 !           ) ) ) ) ) ) 3 3 3 3 3 3         (          r   