
    =	f]                     F    d dl mZmZmZ  G d de      ZddlmZ ddlm	Z	 y)    )QtCoreQtGui	QtWidgetsc                       e Zd Zd Zd Zy)	Ui_Dialogc                 PL   |j                  d       |j                  dd       t        j                  |      | _        | j                  j                  d       t        j
                  |      | _        t        j                         }|j                  d       | j                  j                  |       | j                  j                  d       | j                  j                  | j                  dddd	       t        j                  |      | _        | j                  j                  t        j                  j                         | j                  j!                  t        j                  j"                         | j                  j                  d
       | j                  j                  | j                  dddd       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                  dddd       t        j4                  | j,                        | _        | j6                  j9                  d       | j6                  j                  d       t        j                  | j6                        | _        | j:                  j                  d       t        j
                  | j6                        | _        | j<                  j                  d       | j:                  j                  | j<                  dddd       | j.                  j                  | j6                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j.                  jG                  |dddd       | 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                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jJ                  jG                  |dddd       | j&                  j                  | jH                         t        j*                         | _(        | jP                  j                  d       t        j                  | jP                        | _)        | jR                  j                  d       t        j
                  | jP                        | _*        | jT                  jW                  d       | jT                  j                  d       | jR                  j                  | jT                  dddd	       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jR                  jG                  |dddd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }| jR                  jG                  |dddd       t        jX                         | _-        | jZ                  j                  d        t        j
                  | jP                        | _.        | j\                  j                  d!       | jZ                  j                  | j\                         t        j^                  | jP                        | _0        | j`                  j                  d"       | j`                  jG                  d       | j`                  jG                  d       | j`                  jG                  d       | j`                  jG                  d       | j`                  jG                  d       | j`                  jG                  d       | j`                  jG                  d       | jZ                  j                  | j`                         | jR                  jc                  | jZ                  dddd       t        j>                  d#dt        j@                  jD                  t        j@                  jB                        }| jR                  jG                  |dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jR                  jG                  |d	ddd       | j&                  j                  | jP                         t        j*                         | _2        | jd                  j                  d$       t        j                  | jd                        | _3        | jf                  j                  d%       t        j
                  | jd                        | _4        | jh                  jW                  d       | jh                  j                  d&       | jf                  j                  | jh                  dddd	       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }	| jf                  jG                  |	dddd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }
| jf                  jG                  |
dddd       t        jX                         | _5        | jj                  j                  d'       t        j
                  | jd                        | _6        | jl                  j                  d(       | jj                  j                  | jl                         t        jn                  | jd                        | _8        | jp                  js                  d       | jp                  ju                  d       | jp                  jw                  d)       | jp                  jy                  d*d+       | jp                  j                  d,       | jj                  j                  | jp                         | jf                  jc                  | jj                  dddd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }| jf                  jG                  |dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| jf                  jG                  |d	ddd       | j&                  j                  | jd                         t        j*                         | _=        | jz                  j                  d-       t        j                  | jz                        | _>        | j|                  j                  d.       t        j
                  | jz                        | _?        | j~                  jW                  d       | j~                  j                  d/       | j|                  j                  | j~                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j|                  jG                  |dddd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }| j|                  jG                  |dddd       t        j
                  | jz                        | _@        t        j@                  t        j@                  j                  t        j@                  j                        }|j                  d       |j                  d       |j                  | j                  j                         j                                | j                  j                  |       | j                  j                  t        j                  d0d1             | j                  j                  t        j                  d0d1             | j                  j                  t        j                  j(                         | j                  j                  d       | j                  j                  d2       | j|                  j                  | j                  dddd       t        j>                  d3dt        j@                  jD                  t        j@                  jB                        }| j|                  jG                  |dddd       t        jX                         | _M        | j                  j                  d4       t        j
                  | jz                        | _N        | j                  j                  d5       | j                  j                  | j                         t        j^                  | jz                        | _O        | j                  j                  d6       | j                  j                  | j                         | j|                  jc                  | j                  dd	dd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }| j|                  jG                  |dd7dd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j|                  jG                  |d	ddd       | j&                  j                  | jz                         t        j*                         | _P        | j                  j                  d8       t        j                  | j                        | _Q        | j                  j                  d9       t        j
                  | j                        | _R        | j                  jW                  d       | j                  j                  d:       | j                  j                  | j                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j                  jG                  |dddd       t        j>                  ddt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dddd       t        jX                         | _S        | j                  j                  d;       t        j4                  | j                        | _T        | j                  j                  d<       t        j                  | j                        | _U        | j                  j                  d=       t        j>                  d>dt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dddd       t        j
                  | j                        | _V        t        j@                  t        j@                  j                  t        j@                  j                        }|j                  d       |j                  d       |j                  | j                  j                         j                                | j                  j                  |       | j                  j                  t        j                  d?d?             | j                  j                  t        j                  d?d?             | j                  j                  t        j                  j(                         | j                  j                  d       | j                  j                  d@       | j                  j                  | j                  dddd       t        j>                  d>dt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dd	dd       t        j^                  | j                        | _W        | j                  j                  dA       | j                  j                  | j                  dddd       t        j^                  | j                        | _X        | j                  j                  dB       | j                  j                  | j                  dddd       | j                  j                  | j                         t        j4                  | j                        | _Y        | j                  j                  dC       t        j                  | j                        | _Z        | j                  j                  dD       t        j>                  d>dt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dddd       t        j
                  | j                        | _[        t        j@                  t        j@                  j                  t        j@                  j                        }|j                  d       |j                  d       |j                  | j                  j                         j                                | j                  j                  |       | j                  j                  t        j                  d?d?             | j                  j                  t        j                  d?d?             | j                  j                  t        j                  j(                         | j                  j                  d       | j                  j                  dE       | j                  j                  | j                  dddd       t        j>                  d3d?t        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dd	dd       t        j^                  | j                        | _\        | j                  j                  dF       | j                  j                  | j                  dddd       t        j^                  | j                        | _]        | j                  j                  dG       | j                  j                  | j                  dddd       | j                  j                  | j                         | j                  jc                  | j                  dddd	       t        j>                  d)dt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |dd7dd       t        j>                  dd>t        j@                  jB                  t        j@                  jD                        }| j                  jG                  |d	ddd       t        j>                  ddHt        j@                  jB                  t        j@                  jD                        }| j                  jG                  |d	d	dd       t        j                  | j                        | __        | j                  j                  dI       | j                  j                  | j                  d7ddd       | j&                  j                  | j                         t        j*                         | _`        | j                  j                  dJ       t        j                  | j                        | _a        | j                  j                  dK       t        j
                  | j                        | _b        | j                  jW                  d       | j                  j                  dL       | j                  j                  | j                  dddd       t        j>                  ddt        j@                  jB                  t        j@                  jD                        }| j                  jG                  |dddd       | j&                  j                  | j                         | j                  j                  | j&                  ddddM       t        j                  |      | _c        | j                  j                  t        j                  j                         | j                  j!                  t        j                  j"                         | j                  j                  dN       | j                  j                  | j                  d	ddd       t        j
                  |      | _d        | j                  j                  dO       | j                  j                  | j                  d7ddd       t        j>                  dPdQt        j@                  jD                  t        j@                  jB                        }| j                  jG                  |d7ddd       t        j                  |      | _f        | j                  j                  dR       | j                  j                  | j                  d7ddd       t        j                  |      | _g        | j                  j                  dS       | j                  j                  | j                  d7d	dd       t        j                  |      | _h        | j                  j                  dT       | j                  j                  | j                  d7d7dd       | j                  |       | j&                  j                  d       | j                  j                  dU   j                  | j                  j                         | j                  j                  dU   j                  | j                  j                         t        j                  j                  |       y )VNDialogi  i  
gridlayout   labelr         line   StackedWidget	StartPagegridlayout1DeviceComboBox groupBoxgridlayout2label_2   (      LoadPaperPagegridlayout3	LoadPaper   Deskjet450Pagegridlayout4Tlabel_3o   
hboxlayoutlabel_4Deskjet450ComboBox   	CrickPagegridlayout5label_5hboxlayout1label_6Q   value)   CrickSpinBoxLBowPagegridlayout6label_12U   Z   LBowIcon   hboxlayout2	LBowLabelLBowComboBox   ConneryPagegridlayout7label_7hboxlayout3
groupBox_2gridlayout8   K   ConneryGrayPatchIconConneryGrayLetterComboBoxConneryGrayNumberComboBox
groupBox_3gridlayout9ConneryColorPatchIconConneryColorLetterComboBoxConneryColorNumberComboBox3   !ConneryUseFactoryDefaultsCheckBoxFrontPanelPagegridlayout10label_8   line_2StepText      
BackButton
NextButtonCancelButtonbool)psetObjectNameresizer   QGridLayoutr
   QLabelr   r   QFontsetPointSizesetFont	addWidgetQFramer   setFrameShapeHLinesetFrameShadowSunkenQStackedWidgetr   NoFrameQWidgetr   r   DeviceUriComboBoxr   	QGroupBoxr   setTitler   r   QSpacerItemQSizePolicyMinimum	ExpandingaddItemr   r   LoadPaperGroupBoxr   r    r!   r"   setWordWrapQHBoxLayoutr$   r%   	QComboBoxr&   	addLayoutr(   r)   r*   r+   r,   QSpinBoxr0   	setPrefix
setMinimum
setMaximumsetPropertyr1   r2   r3   r6   FixedsetHorizontalStretchsetVerticalStretchsetHeightForWidth
sizePolicyhasHeightForWidthsetSizePolicysetMinimumSizer   QSizesetMaximumSizesetTextr8   r9   r:   r<   r=   r>   r?   r@   rA   rD   rE   rF   rG   rH   rI   rJ   rK   	QCheckBoxrM   rN   rO   rP   rR   rS   QPushButtonrV   rW   rX   retranslateUisetCurrentIndexclickedconnectsetDisabledQMetaObjectconnectSlotsByName)selfr	   font
spacerItemspacerItem1spacerItem2spacerItem3spacerItem4spacerItem5spacerItem6spacerItem7spacerItem8spacerItem9spacerItem10spacerItem11r   spacerItem12spacerItem13spacerItem14spacerItem15spacerItem16spacerItem17spacerItem18spacerItem19spacerItem20spacerItem21spacerItem22spacerItem23spacerItem24spacerItem25s                                 +/usr/share/hplip/ui5/colorcaldialog_base.pysetupUizUi_Dialog.setupUi   s   X&c3#//7%%l3%%f-
{{}"

4 

  )!!$**aAq9$$V,				 0 0 6 67		  !1!1!8!89		'!!$))Q1a8&55f=(()9)9)A)AB((9"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&}5#--d.>.>?%%l3$00A&&}5 ,,RY5J5J5T5TV_VkVkVsVst  q!Q:$-$4$4T__$E!**9+@+@+F+F	H]H]HcHcd
''*%%a($$T%>%>%I%I%K%]%]%_`!!//
;!!00b"1EF!!00b"1EF!!//	0@0@0H0HI!!))"-!!//0FG""4#<#<aAqI ,,RY5J5J5T5TV_VkVkVsVst  q!Q:)2)<)<T__)M&&&445PQ""4#A#A1aAN)2)<)<T__)M&&&445PQ""4#A#A1aAN""4??3#--d.>.>?%%l3$00A&&}5 ,,RY5J5J5T5TV_VkVkVsVst  q!Q:%.%5%5doo%F"**9+@+@+F+F	H]H]HcHcd
''*%%a($$T%?%?%J%J%L%^%^%`a""00<""11&,,r22FG""11&,,r22FG""001A1A1I1IJ""**2.""001HI""4#=#=q!QJ ,,RY5J5J5T5TV_VkVkVsVst  q!Q:*3*=*=doo*N'''556RS""4#B#BAq!QO*3*=*=doo*N'''556RS""4#B#BAq!QO""4??3""4#3#3Q1a@ ,,RY5J5J5T5TV_VkVkVsVst  q!Q: ,,RY5J5J5R5RT]TiTiTsTst  q!Q: ,,RY5J5J5R5RT]TiTiTsTst  q!Q:1:1D1DTEUEU1V...<<=`a""4#I#I1aQRTUV$$T%5%56'//1))*:;%11$2E2EF''7 ''(;(;<  &""9-##DLL!Q1= ,,RY5J5J5R5RT]TiTiTsTst!!,1a;$$T%8%89!!$"4"4aAqA&&v.!!)"2"2"8"89""9#3#3#:#:;!!(+!!$++q!Q:!((0##J/!!$--Aq!< ,,S"i6K6K6U6UW`WlWlWtWtuaAq9#//7%%l3!!$//1aA>#//7%%l3!!$//1aA>%11&9''7!!$"3"3Q1a@6"**1-..66v>FFtGbGbc..66v>FFtGbGbc--f5    c                    t         j                  j                  }|j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                  d |dd             | j                  j                  d	 |dd
             | j                  j                  d |dd             | j                  j                  d |dd             | j                  j                  d |dd             | j                  j                  d |dd             | j                  j                  d |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                  j                   |dd             | j                   j#                   |dd             | j$                  j#                   |dd             | j&                  j                   |dd             | j(                  j                   |dd             | j*                  j                   |dd             | j,                  j                   |dd             | j.                  j                   |dd              | j0                  j                   |dd!             y )"Nr	   z-HP Device Manager - Printer Color CalibrationzPrinter Color Calibrationa  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; 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;">Select the device to align and click <span style=" font-style:italic;">Next &gt;</span> to continue.</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:'Sans Serif'; font-size:9pt; 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;">Choose the numbered image labeled "1" thru "7" that is <span style=" font-weight:600;">best color matched</span> to the image labeled "X".</p></body></html>zBest Matched Image:r   1r   2r   3r   4r;   5r   6rQ   7aH  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; 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;">A page of color patches is printing.  When it is complete, follow these steps:</span> </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">1.</span> Hold the page approximately 8 inches (~20cm) in front of your eyes. </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">2.</span> Slowly move the page away from you until the numbered patches fade to match the background. </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">3.</span> Select the number (below) between <span style=" font-style:italic;">1</span> and <span style=" font-style:italic;">81 </span>of the numbered patch that <span style=" font-weight:600;">best </span>matches the background:</p></body></html>z,Number of <b>best</b> matching patch (1-81):zcChoose the numbered colored box that the color <b>best </b>matches the background color of the bar.zLine %1:a  <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; 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;">1. Hold the calibration page at arm's length in front of your eyes.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2. Tilt the page away from you. Look at the two large squares, each containing colored patches. For each large square, find the colored path that <span style=" font-weight:600;">most closely</span> matches the background color.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3. Choose the letter and number for the matching patches for the gray and color plots.</p></body></html>z	Gray Plotz
Color PlotzUse Factory Defaultsan  <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 alignment 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>zStep %1 of %2z< BackzNext >Cancel)r   QCoreApplication	translatesetWindowTitler   r   r   r"   r%   r&   setItemTextr*   r,   r3   r9   r>   r@   rl   rG   rM   rP   rS   rV   rW   rX   )r   r	   
_translates      r   r   zUi_Dialog.retranslateUi  s   ,,66
j3bcd

:h0KLMZ 3t u 	v 	Z 3` a 	b 	Z2GHI++Az(C/HI++Az(C/HI++Az(C/HI++Az(C/HI++Az(C/HI++Az(C/HI++Az(C/HIZ 3] ^ 	_ 	Z2`abj  4Y  Z  	[z(J?@Z 3d e 	f 	  Hk!BC  Hl!CD..66z(Lb7cdZ 3_ ` 	a 	j?CD
8X >?
8X >?!!*Xx"@Ar   N)__name__
__module____qualname__r   r    r   r   r   r      s    K6Z0Br   r   r   )rj   )rr   N)
PyQt5r   r   r   objectr   deviceuricomboboxrj   loadpapergroupboxrr   r   r   r   <module>r      s&    + *~B ~B~	 1 0r   