__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g�;��N�SSKrSSKrSSK7 SSKJrJr SSKJr SSK7 SSK	7 SSK
Jr SSK7 SSK
7 SSK7 SSKJr SSKJr \R(r\(aSS	KJr \(d\R3S5 "SS
\5rSrSSjr"SS\\5rg!\a S
rNBf=f)�N)�*)�device�utils)�cups�)�
to_unicode)�	Ui_Dialog)�DEVICEURICOMBOBOX_TYPE_FAX_ONLY)�faxFz
Fax disabled.c�D�\rSrSrS
SjrSSjrSrSrSrSSjr	S	r
g)
�PasswordDialog�7Nc��[RX5 UR[[	SS555 Xl[
U5nURSSSS5 URS5 [U5Ul
URURSSSS5 [U5UlURURSS5 [U5UlURR[R 5 URURSSSS5 [U5UlURUR"SS5 [U5UlUR$R[R&5 URUR$SSSS5 [)U5UlURUR*SS5 [)U5UlURUR,SS5 UR/5 UR1[3S	S
5R5UR7555 UR*R8R;UR<5 UR,R8R;UR>5 UR$R@R;UR<5 g)N�hp_logo�128x128��rr��i��)!�QDialog�__init__�
setWindowIcon�QIcon�load_pixmap�prompt�QGridLayout�setContentsMargins�
setSpacing�QLabel�PromptTextLabel�	addWidget�UsernameTextLabel�	QLineEdit�UsernameLineEdit�setEchoMode�Normal�PasswordTextLabel�PasswordLineEdit�Password�QPushButton�OkPushButton�CancelPushButton�languageChange�resize�QSize�
expandedTo�minimumSizeHint�clicked�connect�accept�reject�
returnPressed)�selfr�parent�name�modal�fl�Layouts       �&/usr/share/hplip/ui5/faxsetupdialog.pyr�PasswordDialog.__init__8s%������&����5��Y�	�!B�C�D����T�"���!�!�"�b�"�b�1����!��%�d�|�������-�-�q�!�Q��:�!'���������/�/��A�6� )�$�������)�)�)�*:�*:�;�����.�.��1�a��;�!'���������/�/��A�6� )�$�������)�)�)�*<�*<�=�����.�.��1�a��;�'��-�������*�*�A�q�1� +�D� 1�������.�.��1�5��������E�#�s�O�.�.�t�/C�/C�/E�F�G����!�!�)�)�$�+�+�6����%�%�-�-�d�k�k�:����+�+�3�3�D�K�K�@�c��URRU5 U(d7URRS5 URRS5 gg)NTz'QLineEdit {background-color: lightgray})r%�setText�setReadOnly�
setStyleSheet)r8�defUser�allowUsernameEdits   r>�setDefaultUsername�!PasswordDialog.setDefaultUsernameasI�����%�%�g�.� ��!�!�-�-�d�3��!�!�/�/�9�
;�!r@c�H�[URR55$�N)rr%�text�r8s r>�getUsername�PasswordDialog.getUsernameh����$�/�/�4�4�6�7�7r@c�H�[URR55$rJ)rr)rKrLs r>�getPassword�PasswordDialog.getPasswordkrOr@c��URURS55 URRURUR55 UR
RURS55 URRURS55 URRURS55 URRURS55 g)Nz+HP Device Manager - Enter Username/Passwordz	Username:z	Password:�OK�Cancel)	�setWindowTitle�_PasswordDialog__trr!rBrr#r(r,r-rLs r>r.�PasswordDialog.languageChangens�������I�I�C�D�	F����$�$�T�Y�Y�t�{�{�%;�<����&�&�t�y�y��'=�>����&�&�t�y�y��'=�>����!�!�$�)�)�D�/�2����%�%�d�i�i��&9�:r@c�.�[RSX5$)N�SetupDialog��qApp�	translate�r8�s�cs   r>�__tr�PasswordDialog.__trws���~�~�m�Q�2�2r@)r-r,r)r(r!r%r#r)NNrr)TrJ)�__name__�
__module__�__qualname__�__firstlineno__rrGrMrQr.rW�__static_attributes__�r@r>r
r
7s"��'A�R;�8�8�;�3r@r
c�>�[US5n[X5 g!f=frJ)r
�	FailureUI)r�dlgs  r>�FailureMessageUIrl{s"��
��V�T�*���#�����s��c���[US5nUS:waURX5 UR5[R:Xa UR5UR
54$g!f=f)N)�rn)r
rG�exec_r�AcceptedrMrQ)r�userNamerFrks    r>�showPasswordUIrr�sl��

��V�T�*���t���"�"�8�?��9�9�;�'�*�*�*��O�O�%�s���'8�9�	
�	+�	
���	
�s�A$A*�*A,c��\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSSjrSrSrSrSSjrSrg)�FaxSetupDialog�c�z�[RX5 URU5 X lUR	5 SUlSUlSUlSUl[5Ul
URR5 URR5 [RSUR5 g)NrnTr)rr�setupUi�
device_uri�initUi�dev�
fax_number�fax_company_name�call_password_ui�UserSettings�
user_settings�load�debug�QTimer�
singleShot�updateUi)r8r9rxs   r>r�FaxSetupDialog.__init__�s�������&����T��$�����
������� "��� $���)�^��������!���� � �"����!�T�]�]�+r@c�.�URRRUR5 URRRUR
5 URRRUR5 URRRUR5 URR[5 [R"[R[R5 UR![#[%SS555 UR&(a%URR)UR&5 UR*R-S5 UR.R-S5 UR.R1[3UR.55 UR4R-S5 UR4R1[3UR455 UR6R-S5 [9UR.R;55Ul[9UR*R;55UlUR4R@RURB5 UR4RDSRURF5 UR6R@RURH5 UR6RDSRURJ5 URLRN[PRURR5 SUl*SUl+SUl,SUl-g)Nrr�2zconst QString &F).�CancelButtonr3r4�CancelButton_clicked�SaveBtn�SaveBtn_Clicked�FaxComboBox�DeviceUriComboBox_noDevices�FaxComboBox_noDevices� DeviceUriComboBox_currentChanged�FaxComboBox_currentChanged�setTyper
�signal�SIGINT�SIG_DFLrrrrx�setInitialDevice�NameCompanyLineEdit�setMaxLength�FaxNumberLineEdit�setValidator�PhoneNumValidator�VoiceNumberLineEdit�
EmailLineEditrrKr{r|�editingFinished�#VoiceNumberLineEdit_editingFinished�textChanged�VoiceNumberLineEdit_textChanged�EmailLineEdit_editingFinished�EmailLineEdit_textChanged�	tabWidget�currentChanged�int�Tabs_currentChanged�name_company_dirty�fax_number_dirty�voice_number_dirty�email_dirtyrLs r>ry�FaxSetupDialog.initUi�s������!�!�)�)�$�*C�*C�D������$�$�T�%9�%9�:����4�4�<�<��&�&�	(����9�9�A�A��+�+�	-���� � �!@�A��
�
�f�m�m�V�^�^�4�	
���5��Y�	�!B�C�D��?�?����-�-�d�o�o�>�� � �-�-�b�1����+�+�B�/����+�+��d�4�4�5�	7�� � �-�-�b�1�� � �-�-��d�6�6�7�	9����'�'��+�$�T�%;�%;�%@�%@�%B�C��� *�4�+C�+C�+H�+H�+J� K���	�	
� � �0�0�8�8��4�4�	6�	
� � �,�,�->�?�G�G��0�0�	2�	
���*�*�2�2��.�.�	0�	
���&�&�'8�9�A�A��*�*�	,�	
���%�%�c�*�2�2�4�3K�3K�L�"'��� %���"'��� ��r@c�z�[(d+[XRS55 UR5 gURR5 URRS5 [URR55Ul[URR55Ul
g)Nz�<b>PC send fax support is not enabled.</b><p>Re-install HPLIP with fax support or use the device front panel to send a fax.</p><p>Click <i>OK</i> to exit.</p>r)�fax_enabledrj�_FaxSetupDialog__tr�closer�r�r��setCurrentIndexrr�rKr{r�r|rLs r>r��FaxSetupDialog.updateUi�s����{��d�I�I�q�r�
s��J�J�L�����!�!�#����&�&�q�)�$�T�%;�%;�%@�%@�%B�C��� *�4�+C�+C�+H�+H�+J� K��r@c� �XlUR5 URbURR5 [R
"UR5UlUR5 g![a [U5 gf=frJ)	rx�updateCoverpageTabrzr�r�getFaxDevice�Error�
CheckDeviceUI�updateHeaderTab)r8rxs  r>r��)FaxSetupDialog.FaxComboBox_currentChanged�sp��$�����!��8�8���H�H�N�N��	��'�'����8�D�H�
	
�����	�	��$���	�s�%A5�5B
�B
c�X�[XRS55 UR5 g)Nz/<b>No devices that require fax setup found.</b>)rjr�r�rLs r>r��$FaxSetupDialog.FaxComboBox_noDevices�s"���$�	�	�=�?�	@��
�
�r@c�h�UR[URR555 grJ)�saveNameCompanyrr�rKrLs r>�#NameCompanyLineEdit_editingFinished�2FaxSetupDialog.NameCompanyLineEdit_editingFinished�$�����Z��(@�(@�(E�(E�(G�H�Ir@c��SUlg�NT)r��r8r_s  r>�NameCompanyLineEdit_textChanged�.FaxSetupDialog.NameCompanyLineEdit_textChanged�
��"&��r@c��SUlSn[5 [RSU-5 URR5S:Xa_URS:XaOSn[U5upEUS:XdUS:Xa
[5 U$URRXE5nUS:waSnMLURRU5 Sn[5 U$![a [U5 N#f=f![5 Us s$=f)NFz Saving station name %s to deviceT�/Enter the printer's username password password
rn���PInvalid Username or Password!.
Rernter the printer's username password password
)
r��beginWaitCursor�logr�rz�isAuthRequiredr}rr�
endWaitCursor�getCDMToken�setStationNamer�r��r8r_�retn�
promptText�username�password�respCodes       r>r��FaxSetupDialog.saveNameCompanys���"'�������	�
$��	�	�<�q�@�A��8�8�*�*�,��4��9N�9N�RV�9V�!S�J��-;�J�-G�*��#�r�>�X��^�#(�
�O��K�$(�8�8�#7�#7��#K��#�s�?�)}�J�$�����'�'��*���
�O��K��	�
$��d�#�
$��
�O��K�s+�A"C�AC�C,�)C/�+C,�,C/�/Dc�h�UR[URR555 grJ)�
saveFaxNumberrr�rKrLs r>�!FaxNumberLineEdit_editingFinished�0FaxSetupDialog.FaxNumberLineEdit_editingFinished%s$�����:�d�&<�&<�&A�&A�&C�D�Er@c��SUlgr�)r�r�s  r>�FaxNumberLineEdit_textChanged�,FaxSetupDialog.FaxNumberLineEdit_textChanged(s
�� $��r@c�
�SUlSn[5 [RSU-5 URR5S:XaaURS:XaQSn[U5upEUS:XdUS:XaU[5 Us $URRXE5nUS:waSnMNURRU5 Sn[5 U$![a [U5 N#f=f![5 Us s$=f)NFzSaving fax number %s to deviceTr�rnr�r�)
r�r�r�r�rzr�r}rrr�r��setPhoneNumr�r�r�s       r>r��FaxSetupDialog.saveFaxNumber+s��� %�������	�
$��	�	�:�Q�>�?��8�8�*�*�,��4��9N�9N�RV�9V�!S�J��-;�J�-G�*��#�r�>�X��^�#'�
�O��K�$(�8�8�#7�#7��#K��#�s�?�)}�J�$�����$�$�Q�'���
�O��K��	�
$��d�#�
$��
�O��K�s+�A#C�AC�C.�+C1�-C.�.C1�1Dc�h�UR[URR555 grJ)�saveVoiceNumberrr�rKrLs r>r��2FaxSetupDialog.VoiceNumberLineEdit_editingFinishedIr�r@c��SUlgr�)r�r�s  r>r��.FaxSetupDialog.VoiceNumberLineEdit_textChangedLr�r@c��[RSU-5 SUlXRlURR5 g)Nz/Saving voice number (%s) to ~/.hplip/hplip.confF)r�r�r�r�voice_phone�saver�s  r>r��FaxSetupDialog.saveVoiceNumberOs:���	�	�C�a�G�H�"'���)*���&������!r@c�h�UR[URR555 grJ)�	saveEmailrr�rKrLs r>r��,FaxSetupDialog.EmailLineEdit_editingFinishedZs"�����z�$�"4�"4�"9�"9�";�<�=r@c��SUlgr�)r�r�s  r>r��(FaxSetupDialog.EmailLineEdit_textChanged]s
����r@c��[RSU-5 SUlXRlURR5 g)Nz0Saving email address (%s) to ~/.hplip/hplip.confF)r�r�r�r�
email_addressr�r�s  r>r��FaxSetupDialog.saveEmail`s:���	�	�D�q�H�I� ���+,���(������!r@c�$�UR5 grJ)r�rLs r>r��#FaxSetupDialog.CancelButton_clickedks���
�
�r@c��[URR55=ol[URR55nXR:wajURUR5S:XaURR
U5 O([URR55UlSUlX R:wakURUR5S:XaURR
U5 O([URR55UlSUlgg)NF)
rr�rKr{r�r�rBr}r|r�)r8�current_fax_num�current_fax_companys   r>r��FaxSetupDialog.SaveBtn_Clickedns���,6�t�7M�7M�7R�7R�7T�,U�U��/�(��)A�)A�)F�)F�)H�I���o�o�-��!�!�$�/�/�2�e�;��&�&�.�.��?�",�T�-C�-C�-H�-H�-J�"K���$)�D�!��#8�#8�8��#�#�D�$9�$9�:�e�C��(�(�0�0�1D�E�(2�4�3K�3K�3P�3P�3R�(S��%�$)�D�!�
9r@c�`�US:XaUR5 gUS:XaUR5 gg)z@Called when the active tab changes.
Update newly displayed tab.
rrN)r�r�)r8�tabs  r>r��"FaxSetupDialog.Tabs_currentChanged�s/���!�8�� � �"�
�A�X��#�#�%�r@c���[5 [URR55n[RSU-5 URRU5 [URR55n[RSU-5 URRU5 [5 g![a [U5 N"f=f![5 f=f)Nzname_company = '%s'zfax_number = '%s')r�rrz�getStationNamer�r�r�rB�str�getPhoneNumr�r�r�r�)r8�name_companyr{s   r>r��FaxSetupDialog.updateHeaderTab�s�����	�
$�)�$�(�(�*A�*A�*C�D���	�	�/�,�>�?��(�(�0�0��>� ����!5�!5�!7�8�
��	�	�-�
�:�;��&�&�.�.�z�:�
�O���
$��d�#�
$��
�O�s$�B,C�C�C�C�C�C+c�(�URRn[RSU-5 URRU5 URRn[RSU-5 URRU5 g)Nzvoice_phone = '%s'zemail_address = '%s')rr�r�r�r�rBr�r�)r8r�r�s   r>r��!FaxSetupDialog.updateCoverpageTab�sp���(�(�4�4���	�	�&��4�5�� � �(�(��5��*�*�8�8�
��	�	�(�=�8�9����"�"�=�1r@c��UR(a$URRR5 UR(a$UR
RR5 UR(a$URRR5 UR(a$URRR5 URbURR5 UR5 grJ)
r�r�r��emitr�r�r�r�r�r�rzr�r5)r8�es  r>�
closeEvent�FaxSetupDialog.closeEvent�s����"�"��$�$�4�4�9�9�;��"�"��$�$�4�4�9�9�;�������.�.�3�3�5�� � ��"�"�2�2�7�7�9��8�8���H�H�N�N��	���
r@Nc�.�[RSX5$)Nrtr[r^s   r>ra�FaxSetupDialog.__tr�s���~�~�.��5�5r@)
r}rzrxr�r|r{r�r�rr�)rrJ)rcrdrerfrryr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr�rgrhr@r>rtrt�s��
,�9!�v
L�
��J�'��<F�%��<J�'�"�>� �"��*�&&�
�2��$6r@rtr�)�operatorr��base.g�baserr�prntr�
base.codes�ui_utils�base.sixextr�PyQt5.QtCore�PyQt5.QtGui�PyQt5.QtWidgets�faxsetupdialog_baser	�deviceuricomboboxr
�prop�	fax_buildr�r�ImportErrorr��warnrr
rlrrrtrhr@r>�<module>rs���.�
������"����+�>��n�n�������H�H�_��A3�W�A3�H
�
�d6�W�i�d6��G�����s�B�B$�#B$

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 129 B 0644
aboutdialog.cpython-313.pyc File 1.67 KB 0644
aboutdialog_base.cpython-313.pyc File 12.62 KB 0644
aligndialog.cpython-313.pyc File 41.93 KB 0644
aligndialog_base.cpython-313.pyc File 40.41 KB 0644
cleandialog.cpython-313.pyc File 15.76 KB 0644
cleandialog_base.cpython-313.pyc File 17.91 KB 0644
colorcaldialog.cpython-313.pyc File 21.01 KB 0644
colorcaldialog_base.cpython-313.pyc File 36.36 KB 0644
devicesetupdialog.cpython-313.pyc File 12.45 KB 0644
devicesetupdialog_base.cpython-313.pyc File 8.12 KB 0644
deviceuricombobox.cpython-313.pyc File 6.62 KB 0644
devmgr5.cpython-313.pyc File 113.65 KB 0644
devmgr5_base.cpython-313.pyc File 39.38 KB 0644
devmgr_ext.cpython-313.pyc File 3.74 KB 0644
fabgrouptable.cpython-313.pyc File 2.54 KB 0644
fabnametable.cpython-313.pyc File 1.14 KB 0644
fabwindow.cpython-313.pyc File 38.92 KB 0644
fabwindow_base.cpython-313.pyc File 14.44 KB 0644
faxsetupdialog.cpython-313.pyc File 21.82 KB 0644
faxsetupdialog_base.cpython-313.pyc File 10.13 KB 0644
filetable.cpython-313.pyc File 22.07 KB 0644
firmwaredialog.cpython-313.pyc File 4.36 KB 0644
firmwaredialog_base.cpython-313.pyc File 6.12 KB 0644
infodialog.cpython-313.pyc File 14.75 KB 0644
infodialog_base.cpython-313.pyc File 10.15 KB 0644
linefeedcaldialog.cpython-313.pyc File 5.25 KB 0644
linefeedcaldialog_base.cpython-313.pyc File 4.81 KB 0644
loadpapergroupbox.cpython-313.pyc File 4.68 KB 0644
makecopiesdialog.cpython-313.pyc File 3.59 KB 0644
makecopiesdialog_base.cpython-313.pyc File 4.37 KB 0644
mimetypesdialog.cpython-313.pyc File 1.94 KB 0644
mimetypesdialog_base.cpython-313.pyc File 6.68 KB 0644
nodevicesdialog.cpython-313.pyc File 3.09 KB 0644
nodevicesdialog_base.cpython-313.pyc File 8.34 KB 0644
plugindiagnose.cpython-313.pyc File 4.33 KB 0644
plugindiagnose_base.cpython-313.pyc File 5.51 KB 0644
plugindialog.cpython-313.pyc File 17.44 KB 0644
plugindialog_base.cpython-313.pyc File 11.7 KB 0644
pluginlicensedialog.cpython-313.pyc File 1.28 KB 0644
pluginlicensedialog_base.cpython-313.pyc File 8.41 KB 0644
pqdiagdialog.cpython-313.pyc File 5.04 KB 0644
pqdiagdialog_base.cpython-313.pyc File 4.79 KB 0644
printdialog.cpython-313.pyc File 9.78 KB 0644
printdialog_base.cpython-313.pyc File 9.83 KB 0644
printernamecombobox.cpython-313.pyc File 6.69 KB 0644
printsettings_base.cpython-313.pyc File 139 B 0644
printsettingsdialog.cpython-313.pyc File 4.78 KB 0644
printsettingsdialog_base.cpython-313.pyc File 4.88 KB 0644
printsettingstoolbox.cpython-313.pyc File 88.52 KB 0644
printtestpagedialog.cpython-313.pyc File 7.25 KB 0644
printtestpagedialog_base.cpython-313.pyc File 7.18 KB 0644
queuesconf.cpython-313.pyc File 15.2 KB 0644
readonlyradiobutton.cpython-313.pyc File 2.24 KB 0644
scandialog.cpython-313.pyc File 123.01 KB 0644
sendfaxdialog.cpython-313.pyc File 57.92 KB 0644
sendfaxdialog_base.cpython-313.pyc File 39.46 KB 0644
settingsdialog.cpython-313.pyc File 5.55 KB 0644
settingsdialog_base.cpython-313.pyc File 25.92 KB 0644
setupdialog.cpython-313.pyc File 79.67 KB 0644
setupdialog_base.cpython-313.pyc File 38.46 KB 0644
setupdialog_base5.cpython-313.pyc File 38.43 KB 0644
systemtray.cpython-313.pyc File 41.3 KB 0644
systrayframe.cpython-313.pyc File 12.48 KB 0644
systrayframe_base.cpython-313.pyc File 10.84 KB 0644
ui_utils.cpython-313.pyc File 28.62 KB 0644
upgradedialog.cpython-313.pyc File 6.38 KB 0644
upgradedialog_base.cpython-313.pyc File 5.98 KB 0644
wifisetupdialog.cpython-313.pyc File 54.96 KB 0644
wifisetupdialog_base.cpython-313.pyc File 62.3 KB 0644
Filemanager