
    =	f-                     F    d dl mZmZmZ  G d de      ZddlmZ ddlm	Z	 y)    )QtCoreQtGui	QtWidgetsc                       e Zd Zd Zd Zy)	Ui_Dialogc                 "   |j                  d       |j                  dd       t        j                  |      | _        | j                  j                  d       t        j
                  |      | _        t        j                         }|j                  d       | j                  j                  |       | j                  j                  d       | j                  j                  | j                  dddd	       t        j                  |      | _        | j                  j                  t        j                  j                         | j                  j!                  t        j                  j"                         | j                  j                  d
       | j                  j                  | j                  dddd       t        j$                  |      | _        | j&                  j                  t        j                  j(                         | j&                  j                  d       t        j*                         | _        | j,                  j                  d       t        j                  | j,                        | _        | j.                  j                  d       t1        | j,                        | _        | j2                  j                  d       | j.                  j                  | j2                  dddd       t        j4                  | j,                        | _        | j6                  j9                  d       | j6                  j                  d       t        j                  | j6                        | _        | j:                  j                  d       t        j
                  | j6                        | _        | j<                  j                  d       | j:                  j                  | j<                  dddd       | j.                  j                  | j6                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j.                  jG                  |d	ddd       | j&                  j                  | j,                         t        j*                         | _$        | jH                  j                  d       t        j                  | jH                        | _%        | jJ                  j                  d       tM        | jH                        | _'        | jN                  j9                  d       | jN                  j                  d       | jJ                  j                  | jN                  dddd       t        j4                  | jH                        | _(        | jP                  j9                  d       | jP                  j                  d       t        j                  | jP                        | _)        | jR                  j                  d       t        j
                  | jP                        | _*        | jT                  jW                  d       | jT                  j                  d       | jR                  j                  | jT                  dddd       | jJ                  j                  | jP                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jJ                  jG                  |d	ddd       | j&                  j                  | jH                         t        j*                         | _,        | jX                  j                  d       t        j                  | jX                        | _-        | jZ                  j                  d       tM        | jX                        | _.        | j\                  j9                  d       | j\                  j                  d       | jZ                  j                  | j\                  dddd       t        j4                  | jX                        | _/        | j^                  j9                  d       | j^                  j                  d        t        j                  | j^                        | _0        | j`                  j                  d!       t        j
                  | j^                        | _1        | jb                  jW                  d       | jb                  j                  d"       | j`                  j                  | jb                  dddd       | jZ                  j                  | j^                  dddd       t        j>                  dd#t        j@                  jB                  t        j@                  jD                        }| jZ                  jG                  |d	ddd       | j&                  j                  | jX                         t        j*                         | _2        | jd                  j                  d$       t        j                  | jd                        | _3        | jf                  j                  d%       tM        | jd                        | _4        | jh                  j9                  d       | jh                  j                  d&       | jf                  j                  | jh                  dddd       t        j4                  | jd                        | _5        | jj                  j9                  d       | jj                  j                  d'       t        j                  | jj                        | _6        | jl                  j                  d(       t        j
                  | jj                        | _7        | jn                  jW                  d       | jn                  j                  d)       | jl                  j                  | jn                  dddd       | jf                  j                  | jj                  dddd       t        j>                  dd*t        j@                  jB                  t        j@                  jD                        }| jf                  jG                  |d	ddd       | j&                  j                  | jd                         t        j*                         | _8        | jp                  j                  d+       t        j                  | jp                        | _9        | jr                  j                  d,       t        j
                  | jp                        | _:        | jt                  jw                  tx        jz                  j|                         | jt                  jW                  d       | jt                  j                  d-       | jr                  j                  | jt                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jr                  jG                  |dddd       | j&                  j                  | jp                         | j                  j                  | j&                  d	ddd       t        j                  |      | _?        | j~                  j                  t        j                  j                         | j~                  j!                  t        j                  j"                         | j~                  j                  d.       | j                  j                  | j~                  dddd       t        j
                  |      | _@        | j                  j                  d/       | j                  j                  | j                  d0ddd       t        j>                  d1dt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |d0ddd       t        j                  |      | _B        | j                  j                  d2       | j                  j                  | j                  d0d	dd       t        j                  |      | _C        | j                  j                  d3       | j                  j                  | j                  d0d4dd       | j                  |       | j&                  j                  d       tx        j                  j                  |       y )5NDialogi  i  
gridlayout   labelr         line   StackedWidget	StartPagegridlayout1DeviceComboBox groupBoxgridlayout2Prompt   (   
Level1Pagegridlayout3	LoadPaper
groupBox_2gridlayout4TPrompt_2
Level2Pagegridlayout5LoadPaper_2
groupBox_3gridlayout6Prompt_5[   
Level3Pagegridlayout7LoadPaper_3
groupBox_4gridlayout8Prompt_6G   FrontPanelPagegridlayout9label_2line_2StepText   i_  
NextButtonCancelButton   )HsetObjectNameresizer   QGridLayoutr
   QLabelr   r   QFontsetPointSizesetFont	addWidgetQFramer   setFrameShapeHLinesetFrameShadowSunkenQStackedWidgetr   NoFrameQWidgetr   r   DeviceUriComboBoxr   	QGroupBoxr   setTitler   r   QSpacerItemQSizePolicyMinimum	ExpandingaddItemr   r   LoadPaperGroupBoxr   r   r   r    setWordWrapr!   r"   r#   r$   r%   r&   r(   r)   r*   r+   r,   r-   r/   r0   r1   setTextFormatr   QtRichTextr2   r3   QPushButtonr5   r6   retranslateUisetCurrentIndexQMetaObjectconnectSlotsByName)	selfr	   font
spacerItemspacerItem1spacerItem2spacerItem3spacerItem4spacerItem5s	            (/usr/share/hplip/ui5/cleandialog_base.pysetupUizUi_Dialog.setupUi   s   X&c3#//7%%l3%%f-
{{}"

4 

  )!!$**aAq9$$V,				 0 0 6 67		  !1!1!8!89		'!!$))Q1a8&55f=(()9)9)A)AB((9"**,$$[1$00@&&}5/?))*:;""4#6#61aC!++DNN;r"##J/$00?&&}5&&t}}5!!(+""4;;1a;""4==!Q1=**2r93H3H3P3PR[RgRgRqRqr
  Q1a8$$T^^4#++-%%l3$00A&&}5*4??;#$$[1""4>>1aA>#--doo>  $%%l3$00A&&}5!((9!!$'##J/""4==!Q1=""4??Aq!Q?++BI4I4I4Q4QS\ShShSrSrs  aAq9$$T__5#++-%%l3$00A&&}5,T__=!!"%&&}5""4#3#3Q1a@#--doo>  $%%l3$00A&&}5!((9!!$'##J/""4==!Q1=""4??Aq!Q?++BI4I4I4Q4QS\ShShSrSrs  aAq9$$T__5#++-%%l3$00A&&}5,T__=!!"%&&}5""4#3#3Q1a@#--doo>  $%%l3$00A&&}5!((9!!$'##J/""4==!Q1=""4??Aq!Q?++BI4I4I4Q4QS\ShShSrSrs  aAq9$$T__5'//1))*:;$001D1DE&&}5 ''(;(;<""699#5#56  &""9-""4<<Aq!<++BI4I4I4Q4QS\ShShSrSrs  aAq9$$T%8%89!!$"4"4aAqA&&v.!!)"2"2"8"89""9#3#3#:#:;!!(+!!$++q!Q:!((0##J/!!$--Aq!<++CY5J5J5T5TV_VkVkVsVstQ1a8#//7%%l3!!$//1aA>%11&9''7!!$"3"3Q1a@6"**1---f5    c                    t         j                  j                  }|j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd	             | j                  j                   |dd
             | j                  j                   |dd             y )Nr	   z$HP Device Manager - Clean PrintheadszClean Print Printheadsa  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click<span style=" font-style:italic;"> Next</span> to begin the cleaning process.</p></body></html>a  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click <span style=" font-style:italic;">Clean</span> to begin the level 1 cleaning process.</p></body></html>a  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Cleaning level 1 is done after the page being printed is complete.</span> If the printed output from level 1 cleaning is acceptable, then click <span style=" font-style:italic;">Cancel</span> to exit. Otherwise, click <span style=" font-style:italic;">Clean</span> again to begin the level 2 cleaning process.</p></body></html>a  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Cleaning level 2 is done after the page being printed is complete.</span> If the printed output from level 2 cleaning is acceptable, then click <span style=" font-style:italic;">Cancel</span> to exit. Otherwise, click <span style=" font-style:italic;">Clean</span> again to begin the level 3 cleaning process. </p></body></html>am  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Cartridge cleaning on this printer is only available by accessing the front panel of the printer. </span>Please refer to the user guide for the printer for more information. Click <span style=" font-style:italic;">Finish</span> to exit.</p></body></html>zStep %1 of %2zNext >Cancel)r   QCoreApplication	translatesetWindowTitler   setTextr   r    r&   r-   r1   r3   r5   r6   )rZ   r	   
_translates      rb   rV   zUi_Dialog.retranslateUi   sI   ,,66
j3YZ[

:h0HIJJx 2b c 	d 	j 4k l 	m 	j 4i j 	k 	j 4j k 	l 	Z 3^ _ 	` 	j?CD
8X >?!!*Xx"@Ard   N)__name__
__module____qualname__rc   rV    rd   rb   r   r      s    E6NBrd   r   r   )rH   )rP   N)
PyQt5r   r   r   objectr   deviceuricomboboxrH   loadpapergroupboxrP   ro   rd   rb   <module>rt      s&    + *bB bBF 1 0rd   