403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/hplip/ui5/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/hplip/ui5/__pycache__/pqdiagdialog.cpython-310.pyc
o

�K0j^
�@srddlZddlTddlmZmZmZddlmZddlTddl	Tddl
TddlTddlm
Z
Gdd�dee
�ZdS)	�N)�*)�device�utils�maint)�cups�)�	Ui_Dialogc@sNeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	ddd�Z
dS)�PQDiagDialogcCs6t�||�|�|�||_|��t�d|j�dS)Nr)�QDialog�__init__�setupUi�
device_uri�initUi�QTimer�
singleShot�updateUi)�self�parentr
�r�$/usr/share/hplip/ui5/pqdiagdialog.pyr)s

zPQDiagDialog.__init__cCs�|jj�|j�|jj�|j�|jj�|j�|jj�|j�|j�	dt
jdfi�|�t
tdd���|jrA|j�|j�dSdS)Nzpq-diag-typer�hp_logo�128x128)�CancelButton�clicked�connect�CancelButton_clicked�	RunButton�RunButton_clicked�DeviceComboBox�DeviceUriComboBox_noDevices� DeviceUriComboBox_currentChanged�	setFilter�operator�gt�
setWindowIcon�QIcon�load_pixmapr
�setInitialDevice�rrrrr2s�zPQDiagDialog.initUicCs*|j��|j�|�d��|j��dS)N�Run)rr�	LoadPaper�
setButtonName�_PQDiagDialog__trr(rrrrAs
zPQDiagDialog.updateUicCs
||_dS�N)r
)rr
rrrr Gs
z-PQDiagDialog.DeviceUriComboBox_currentChangedcCst||�d��|��dS)Nz^<b>No devices that support print quality diagnostics found.</b><p>Click <i>OK</i> to exit.</p>)�	FailureUIr,�closer(rrrrKsz(PQDiagDialog.DeviceUriComboBox_noDevicescCs|��dSr-)r/r(rrrrPsz!PQDiagDialog.CancelButton_clickedcCs�d}zezt�|j�}Wnty$t|�YW|dur"|��dSdSw|j}z|��Wn
ty;t|�Yn#w|��rZ|dkrMt	�
|dd��n|dkrYt	�|dd��nt|�W|durg|��n
|durq|��ww|��dS)NrcS�dS�NTrrrrr�<lambda>g�z0PQDiagDialog.RunButton_clicked.<locals>.<lambda>�cSr0r1rrrrrr2jr3)r�Devicer
�Error�
CheckDeviceUIr/�pq_diag_type�open�isIdleAndNoErrorr�printQualityDiagType1�printQualityDiagType2)r�d�pqdiag_typerrrrTs@�������
�zPQDiagDialog.RunButton_clickedNcCst�d||�S)Nr	)�qApp�	translate)r�s�crrr�__tryszPQDiagDialog.__trr-)�__name__�
__module__�__qualname__rrrr rrrr,rrrrr	(s	%r	)r"�base.g�baserrr�prntr�
base.codes�ui_utils�PyQt5.QtCore�PyQt5.QtGui�pqdiagdialog_baserr
r	rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit