
    =	f	                        d Z dZdZdZddlZddlZddlZddlZddlZddl	Z	ddl
 ddlmZmZmZmZmZ ddlmZ 	  ej&                  eee edefeefd	d	d

      Zej1                  ej2                  g d       ej5                         \  ZZZZZZ ejC                  ee      Zes ejD                  d       e#jI                  dez          ejJ                         s&e#jM                  dez          ejD                  d       	 ddl'm(Z( ddl)m*Z*  e(ejX                        Z- e*de      Z.e.j_                          	 e#ja                  d       e-jc                          e#jI                  d       e#jI                  d       y# e+$ r& e#jM                  d        ejD                  d       Y w xY w# e2$ r  ejD                  d       Y jw xY w# e2$ r e#jM                  d       Y w xY w)z1.0z	hp-pqdiagz Print Quality Diagnostic UtilityzPrint quality diagnostic utility for HPLIP supported inkjet printers. (Note: Most printers do not require the use of this utility).    N)*)deviceutilsmainttuimodule)cupsFT)zhp-alignzhp-cleanzhp-colorcalzhp-linefeedcal)see_also_list   zUsing device : %s
z.%s -u/--gui requires Qt4 GUI support. Exiting.)QApplication)PQDiagDialogz,Unable to load Qt4 support. Is it installed?zStarting GUI loop...z	User exit zDone.)3__version____mod__	__title____doc__sysregetopttimeoperatorosbase.gbaser   r   r   r   r   prntr	   ModuleGUI_MODEUI_TOOLKIT_QT4UI_TOOLKIT_QT5modsetUsageUSAGE_FLAG_DEVICE_ARGSparseStdOptsopts
device_uriprinter_namemode
ui_toolkitlanggetDeviceUriexitloginfocanEnterGUIMode4errorPyQt4.QtGuir   ui4.pqdiagdialogr   ImportErrorargvappdlgshowdebugexec_KeyboardInterrupt     /usr/share/hplip/pqdiag.py<module>r=      s  . 
.	 P  	    	  2 2 '
&--K$!nn%EueUY[C LL.. 2  3
 	 ;D*lD*d !!*l;JHH"Z/0!5!!#		BWLM,1
 sxx
 C
tZ
(CHHJ		()		   '  		@A  
  IIksT   CG E= +G 9!F+ =(F(%G 'F((G +GG GG G! G!