%PDF- %PDF-
Mini Shell

Mini Shell

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

�

=	f ���ddl�ddlmZmZmZddlmZddl�ddl�ddl	m
Z
ddlmZddl
�ddl�ddlZddlmZGd	�d
ee�Zy)�)�*)�device�utils�pkit)�cups�)�
pluginhandler)�
to_unicodeN)�	Ui_Dialogc�@�eZdZeedfd�Zd�Zd�Zd�Zd�Z	d�Z
d
d	�Zy)�PluginDiagnoseFc�b�tj||�||_||_d|_d|_t
j�|_|j|�t�|_|jj�|jj�|j�y)NF)�QDialog�__init__�install_mode�
plugin_reason�plugin_path�resultr	�PluginHandle�	pluginObj�setupUi�UserSettings�
user_settings�load�debug�initUi)�self�parentrr�upgrades     �&/usr/share/hplip/ui5/plugindiagnose.pyrzPluginDiagnose.__init__+s�������v�&�(���*���������&�3�3�5������T��)�^��������!���� � �"����
�c�l�|jjj|j�|jjj|j
�t
jtjtj�|jttdd���y)N�hp_logo�128x128)�CancelButton�clicked�connect�CancelButton_clicked�
NextButton�NextButton_clicked�signal�SIGINT�SIG_DFL�
setWindowIcon�QIcon�load_pixmap�rs r rzPluginDiagnose.initUi=sr�����!�!�)�)�$�*C�*C�D������'�'��(?�(?�@��
�
�f�m�m�V�^�^�4�	
���5��Y�	�!B�C�Dr!c�D�t|�|_|j�y�N)r
r�setPathIndicators)r�ts  r �PathLineEdit_textChangedz'PluginDiagnose.PathLineEdit_textChangedGs��%�a�=������ r!c�\�|j|�|jj|�yr3)�updateStepText�
StackedWidget�setCurrentIndex)r�pages  r �displayPagezPluginDiagnose.displayPagePs$�����D�!����*�*�4�0r!c�$�|j�yr3)�closer1s r r(z#PluginDiagnose.CancelButton_clickedTs���
�
�r!c��|jjd�|jjd�	t}t}tj|tk(|�\}}|r+|jj�tjk7rt||jd��t�d|_|j�y#t�wxYw)NFzrFailed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password.T)r)�
setEnabledr%�PLUGIN_REQUIRED�PLUGIN_REASON_NONEr�run_plugin_commandr�	getStatusr	�PLUGIN_INSTALLED�	FailureUI�_PluginDiagnose__tr�
endWaitCursorrr>)r�pluginr�ok�sudo_oks     r r*z!PluginDiagnose.NextButton_clickedXs������"�"�5�)����$�$�U�+�		�$�F�.�M��1�1�&�O�2K�]�[�K�B������1�1�3�}�7U�7U�U��$��	�	�+`�!a�b�
�O�����
�
���
�O�s�A4C�CNc�0�tjd||�S)N�PluginDialog)�qApp�	translate)r�s�cs   r �__trzPluginDiagnose.__tris���~�~�n�Q�q�1�1r!r3)�__name__�
__module__�__qualname__�PLUGIN_NONErBrrr6r<r(r*rG�r!r r
r
*s/��,7�GY�ch�
�$E�!�1���"2r!r
)�base.g�baserrr�prntr�
base.codes�ui_utils�	installerr	�base.sixextr
�PyQt5.QtCore�PyQt5.QtGuir+�plugindiagnose_baserrr
rWr!r �<module>rbs?��0�$�$����#�#���
�+�@2�W�i�@2r!

Zerion Mini Shell 1.0