3
N ŸZ¨   ã               @   s(   d dl mZmZmZ G dd„ deƒZdS )é    )ÚQtCoreÚQtGuiÚ	QtWidgetsc               @   s   e Zd Zdd„ Zdd„ ZdS )ÚUi_AboutDlg_basec             C   s  |j dƒ |jddƒ tj|ƒ| _| jjddddƒ | jjdƒ | jj dƒ tj|ƒ| _| jj	dƒ | jj dƒ | jj
| jd	d	d
dƒ tjƒ | _| jjdƒ | jj dƒ tjddtjjtjjƒ}| jj|ƒ t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dƒ | jj	dƒ | jj dƒ | jj
| jƒ tjddtjjtjjƒ}| jj|ƒ | jj| jd
d	d
dƒ tjƒ | _ | j jdƒ | j j dƒ tj|ƒ| _!| j!j	dƒ | j!j dƒ | j j
| j!ƒ tj|ƒ| _"| j"j	dƒ | j"j dƒ | j j
| j"ƒ | jj| j dd	d
dƒ tjƒ | _#| j#jdƒ | j#j dƒ tj|ƒ| _$| j$j	dƒ | j$j dƒ | j#j
| j$ƒ tj|ƒ| _%| j%j	dƒ | j%j dƒ | j#j
| j%ƒ | jj| j#dd	d
dƒ tj|ƒ| _&| j&j	dƒ | j&j dƒ | jj
| j&dd	d
dƒ tj|ƒ| _'| j'j	dƒ | j'j dƒ | jj
| j'dd	d
dƒ tjƒ | _(| j(jdƒ | j(j dƒ tj|ƒ| _)| j)jtjd d!ƒƒ | j)jtjd d!ƒƒ | j)jdƒ | j)j	dƒ | j)j d"ƒ | j(j
| j)ƒ tj|ƒ| _*| j*jtjd#d$ƒƒ | j*jtjd#d$ƒƒ | j*jdƒ | j*j	dƒ | j*j d%ƒ | j(j
| j*ƒ | jj| j(dd	d
dƒ tjddtjjtjjƒ}| jj|d&d	d
dƒ tjd'dtjjtjjƒ}| jj|d(d	d
d
ƒ tj+|ƒ| _,| j,j d)ƒ | jj
| j,d(d
d
d
ƒ | j-|ƒ | j,j.j/|j0ƒ tj1j2|ƒ d S )*NÚAboutDlg_basei  i  é   é   Ú
gridlayoutFÚ
textLabel1r   é   é   Ú
hboxlayouté–   é   éd   én   TÚ	HPLIPLogoé—   Úhboxlayout1Ú
textLabel4ÚHPLIPVersionTextÚhboxlayout2ÚtextLabel4_2ÚToolboxVersionTexté   Ú
textLabel3é   Ú
textLabel2é   Úhboxlayout3éÈ   é>   ÚPythonPixmapéK   éA   Ú	OsiPixmapé   i›  é   ÚCloseButton)3ZsetObjectNameZresizer   ZQGridLayoutr	   ZsetContentsMarginsZ
setSpacingZQLabelr
   ZsetWordWrapZ	addWidgetZQHBoxLayoutr   ZQSpacerItemZQSizePolicyZ	ExpandingZMinimumZaddItemr   ZFixedZsetHorizontalStretchZsetVerticalStretchZsetHeightForWidthÚ
sizePolicyZhasHeightForWidthZsetSizePolicyZsetMinimumSizer   ZQSizeZsetMaximumSizeZsetScaledContentsZ	addLayoutr   r   r   r   r   r   r   r   r   r"   r%   ZQPushButtonr(   ÚretranslateUiZclickedZconnectÚcloseZQMetaObjectZconnectSlotsByName)Úselfr   Z
spacerItemr)   ZspacerItem1ZspacerItem2ZspacerItem3© r-   ú(/usr/share/hplip/ui5/aboutdialog_base.pyÚsetupUi   s´    







zUi_AboutDlg_base.setupUic             C   s¬   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	ƒƒ d S )
Nr   zHP Device Manager - AboutzR<font size="+3"><p align="center">HP Linux Imaging and Printing (HPLIP)</p></font>z<b>HPLIP Software Version:</b>z0.0.0aŸ  <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;">Device Manager Version:</span></p></body></html>aQ  <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;">License and Copyright:</span> (c) Copyright 2015 HP Development Company, L.P. This software is licensed under the GNU General Public License (GPL), BSD, and MIT licenses. See the software sources for details.</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;">Authors and Contributors:</span> David Suffield, Don Welch, Shiyun Yie, Raghothama Cauligi, John Oleinik, Cory Meisch, Foster Nuffer, Pete Parks, Jacqueline Pitter, David Paschal, Steve DeRoos, Mark Overton, Aaron Albright, Smith Kennedy, John Hosszu, Chris Wiesner, Henrique M. Holschuh, Till Kamppeter, Linus Araque, Mark Crawford, Charlie Moore, Jason Callough, Stan Dolson, Don Mackliet, Paul Leclerc, Naga Samrat Choudary, Suma Byrappa, Yashwant Sahu, Sanjay Kumar, Sarbeswar Meher, Goutam Kodu, Gaurav Sood, Srikant Lokare, Parul Singh, Raghavendra Chitpadi</p></body></html>ZClose)r   ZQCoreApplicationÚ	translateZsetWindowTitler
   ZsetTextr   r   r   r   r   r   r(   )r,   r   Z
_translater-   r-   r.   r*   i   s    zUi_AboutDlg_base.retranslateUiN)Ú__name__Ú
__module__Ú__qualname__r/   r*   r-   r-   r-   r.   r      s   ]r   N)ZPyQt5r   r   r   Úobjectr   r-   r-   r-   r.   Ú<module>	   s   