projet crepp_git/crepp-projects/raspi-bot · branche main
IntRaspibotDesign10.pyc Voir sur GitLab
�
��uZc@s�ddlmZmZyejjZWnek
rBd�ZnXyejjZ	d�Z
Wnek
rxd�Z
nXdefd��YZe
dkr�ddlZejej�Zej�Ze�Zeje�ej�ejej��ndS(	i����(tQtCoretQtGuicCs|S(N((ts((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyt	_fromUtf8scCstjj|||t�S(N(RtQApplicationt	translatet	_encoding(tcontextttexttdisambig((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyt
_translatescCstjj|||�S(N(RRR(RRR	((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyR
stUi_InterfaceCommandecBseZd�Zd�ZRS(cCsC|jtd��|jdd�tj|�|_|jjtjdddd��|jj	t
�|jjtd��|jjtd��tj|j�|_
|j
jtjd	d
dd��|j
jtjj�|j
jtjj�|j
jtd
��tj|j�|_|jjtjdd
dd��|jjtjj�|jjtjj�|jjtd��tj|j�|_|jjtjdddd��|jjtjj�|jjtjj�|jjtd��tj|j�|_|jjtjd
ddd��|jjtjj�|jjtjj�|jjtd��tj|j�|_|jjtjd
ddd��|jjtjj�|jjtjj�|jjtd��tj|j�|_|jjtjd
ddd��|jjtjj�|jjtjj�|jjtd��tj|j�|_|jjtjdddd��|jjtd��|jjtd��tj|�|_|jjtjd
ddd ��|jjtd!��tj|j�|_|jjtd"��tj|j�|_|jjd
�|jjd#�|jj d$d%�|jj!d%�|jj"tj#j$�|jjtd&��|jj%|jd'd(d)d)�tj&|j�|_'|j'jtd*��|jj%|j'd+d(d)d)�tj(|j�|_)|j)j*tj+d,d-��|j)j,tj+d
d
��|j)jtd.��|j)jtd/��|jj%|j)d
d)d)d)�tj(|j�|_-|j-j*tj+d,d-��|j-j,tj+d
d
��|j-jtd0��|j-jtd1��|jj%|j-d2d)d)d)�tj(|j�|_.|j.j*tj+d,d-��|j.j,tj+d
d
��|j.jtd0��|j.jtd3��|jj%|j.dd)d)d)�tj(|j�|_/|j/j*tj+d,d-��|j/j,tj+d
d
��|j/jtd0��|j/jtd4��|jj%|j/d'd)d)d)�tj(|j�|_0|j0j*tj+d,d-��|j0j,tj+d
d
��|j0jtd5��|j0jtd6��|jj%|j0d7d)d)d)�tj|j�|_1|j1jd
�|j1jd#�|j1j d$d%�|j1j!d%�|j1j"tj#j$�|j1jtd8��|jj%|j1dd(d)d)�tj|j�|_2|j2jd
�|j2jd#�|j2j d$d%�|j2j!d%�|j2j"tj#j$�|j2jtd9��|jj%|j2d2d(d)d)�tj&|j�|_3|j3jtd:��|jj%|j3d
d(d)d)�tj|j�|_4|j4jd
�|j4jd#�|j4j d$d%�|j4j!d%�|j4j"tj#j$�|j4j5t6�|j4j7t
�|j4jtd;��|jj%|j4d<d(d)d)�tj&|j�|_8|j8jtd=��|jj%|j8d>d(d)d)�tj9|j�|_:tj;�}|j<t6�|j=d?�|j:j>|�|j:jtd@��|j:j?d�|j:j dAd%�|j:jtdB��|jj%|j:d7dd)d)�tj9|j�|_@tj;�}|j<t6�|j=d?�|j@j>|�|j@jtd@��|j@j?d�|j@j dAd%�|j@jtdC��|jj%|j@d'dd)d)�tj9|j�|_Atj;�}|j<t6�|j=d?�|jAj>|�|jAjtd@��|jAj?d�|jAj dAd%�|jAjtdD��|jj%|jAddd)d)�tj9|j�|_Btj;�}|j<t6�|j=d?�|jBj>|�|jBjtd@��|jBj?d�|jBj dAd%�|jBjtdE��|jj%|jBd2dd)d)�tjCdFd,tjDjEtjDjF�}|jjG|d)d(d)d)�tj&|j�|_H|jHjtdG��|jj%|jHdd(d)d)�tj|j�|_I|jIjd
�|jIjd#�|jIj d$d%�|jIj!d%�|jIj"tj#j$�|jIjtdH��|jj%|jId7d(d)d)�tj|j�|_J|jJjd
�|jJjd#�|jJj d$d%�|jJj!d%�|jJj"tj#j$�|jJjtdI��|jj%|jJdd(d)d)�tj(|j�|_K|jKj*tj+d,d-��|jKj,tj+d
d
��|jKjtd0��|jKjtdJ��|jj%|jKd<d)d)d)�tj9|j�|_Ltj;�}|j<t6�|j=d?�|jLj>|�|jLjtd@��|jLj?d�|jLj dAd%�|jLjtdK��|jj%|jLd<dd)d)�tj(|j�|_M|jMj*tj+d,d-��|jMj,tj+d
d
��|jMjtd5��|jMjtdL��|jj%|jMdd)d)d)�tj&|j�|_N|jNjtdM��|jj%|jNd(d(d)d)�tj9|j�|_Otj;�}|j<t6�|j=d?�|jOj>|�|jOjtd@��|jOj?d�|jOj dAd%�|jOjtdN��|jj%|jOddd)d)�tj&|j�|_P|jPjtdO��|jj%|jPdPd(d)d)�tj&|j�|_Q|jQjtdQ��|jj%|jQdRd(d)d)�tj|�|_R|jRjtjddSdTdU��|jRj*tj+d-d-��|jRjtdV��tj|jR�|_S|jSjtdW��tj9|jR�|_Ttj;�}|jUdR�|j<t6�|j=d?�|jTj>|�|jTjtdX��|jTjtdY��|jSj%|jTd
d
d)d)�tj9|jR�|_Vtj;�}|jUdR�|j<t6�|j=d?�|jVj>|�|jVjtdX��|jVjWtj9jX�|jVjtdZ��|jSj%|jVd
d(d)d)�tj&|jR�|_Y|jYjtdX��|jYjtd[��|jSj%|jYd)d
d)d)�tjZ|jR�|_[|j[j*tj+d-d-��|j[jtd5��|j[jtd\��|jSj%|j[d
d)d)d)�tj&|jR�|_\|j\jtdX��|j\j]tj#j^�|j\jtd]��|jSj%|j\d)d(d)d)�tj(|jR�|__|j_jtd^��|j_jtd_��|jSj%|j_d(d
d)d)�tj(|jR�|_`|j`jtd^��|j`jtd`��|jSj%|j`d(d(d)d)�tj(|jR�|_a|jajtda��|jajtdb��|jSj%|jad(d)d)d)�tjb|jR�|_c|jcjtdc��|jcjtdd��|jSj%|jcd)d)d)d)�tj|�|_d|jdjtjd
dRdedf��|jdjtdg��tje|jd�|_f|jfjtdh��tjg|jd�|_h|jhjid)�|jhjtdi��|jfj%|jh�tj&|jd�|_j|jjj*tj+d-d-��|jjj,tj+d
d
��|jjj]tj#j^�|jjjtdj��|jfj%|jj�tj&|jd�|_k|jkjltdk��|jkjtdl��|jfj%|jk�tj&|jd�|_m|jmj]tj#j^�|jmjtdm��|jfj%|jm�tjg|jd�|_n|jnjtdn��|jnjGtdk��|jnjGtdk��|jnjGtdk��|jfj%|jn�tj|�|_o|jojtjdodpddq��|jojtdr��tjp|jo�|_q|jqjtds��tj(|jo�|_r|jrjtdt��|jrjtdu��|jqj%|jr�tjs|jo�|_t|jtjtdv��|jqj%|jt�tj(|jo�|_u|jujtd0��|jujtdw��|jqj%|ju�tj|�|_v|jvjtjdxdpddq��|jvjtdy��tjp|jv�|_w|jwjtdz��tj&|jv�|_x|jxj]tj#j^�|jxjtd{��|jwj%|jx�tjy|jv�|_z|jzjtd|��|jwj%|jz�tj&|�|_{|j{jtjd}d~ddp��|j{jltdk��|j{j|tj}td����|j{jtd���|j~|�tjj�|jItj�td���|j:j��tjj�|jJtj�td���|jOj��tjj�|j2tj�td���|jBj��tjj�|jtj�td���|j@j��tjj�|j4tj�td���|jLj��tjj�|j1tj�td���|jAj��tj�j�|�dS(�NtInterfaceCommandeii�i�i�isQbackground-color: rgb(83, 249, 122);
selection-background-color: rgb(255, 0, 0);
tmoteursiiiiitlinei�tline_2i����i�tline_3imitline_4i	tline_5i�itline_6i2is8background-color: rgb(255, 0, 0);
color: rgb(255, 0, 0);tclici�itgridLayoutWidgett
gridLayoutixtvaluei<tEBSiiitEBLabelii(i���s%background-color: rgb(255, 170, 255);t
RAZgenerals%background-color: rgb(170, 255, 255);tRBiniitpinceinitElevBinis%background-color: rgb(255, 255, 127);tRotCiniitPinceStRBStRAZLabeltAvArBSi
tRCLabeliiKs"background-color: rgb(99, 99, 99);tintValuetRCValtElevBValtPinceValtRBValit
PinceLabeltRCStHBCStAvArBinitAvArBValtHBCinitHBCLabeltHBCValt
AvArBLabelitRBLabeli
i�ii[tgridLayoutWidget_2tgridLayout_2s%background-color: rgb(170, 170, 127);tsourisYtsourisXtMGLabelt
InversionBtMDLabels%background-color: rgb(170, 255, 127);tMGinitMDinis#background-color: rgb(255, 55, 55);tStoppers%background-color: rgb(170, 170, 255);tcheckBoxi�i)thorizontalLayoutWidgetthorizontalLayoutt	PortSerietPortttlabeltvitessetVcomi����i;iotverticalLayoutWidgettverticalLayouts%background-color: rgb(255, 121, 123);t	ConnexiontlineEditChaineEnvoitEnvoii�tverticalLayoutWidget_2tverticalLayout_2treceptionLabelt
textReceptioni�iPiws../InterfaceFlo/logocrepp.jpgtcreppsvalueChanged(int)(�t
setObjectNameRtresizeRtQWidgetR
tsetGeometryRtQRecttsetMouseTrackingtFalset
setStyleSheettQFrameRt
setFrameShapetVLinetsetFrameShadowtSunkenRRtHLineRRRRRtQGridLayoutRtQSliderRt
setMinimumt
setMaximumtsetPropertytsetSliderPositiontsetOrientationtQtt
Horizontalt	addWidgettQLabelRtQPushButtonRtsetMaximumSizetQSizetsetBaseSizeRRRRRR R!R"tsetInvertedAppearancetTruetsetInvertedControlsR#t
QLCDNumberR%tQFonttsetBoldt	setWeighttsetFonttsetNumDigitsR&R'R(tQSpacerItemtQSizePolicytMinimumt	ExpandingtaddItemR)R*R+R,R-R.R/R0R1R2R3R4R5tsetPointSizeR6tsetSegmentStyletFilledR7tQRadioButtonR8R9tsetAlignmenttAlignCenterR:R;R<t	QCheckBoxR=R>tQHBoxLayoutR?t	QComboBoxR@tsetMaxVisibleItemsRARCtsetTextRDRERFtQVBoxLayoutRGRHt	QLineEditRIRJRKRLRMt	QTextEditRNROt	setPixmaptQPixmapt
retranslateUitQObjecttconnecttSIGNALtdisplaytQMetaObjecttconnectSlotsByName(tselfRtfontt
spacerItem((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pytsetupUis�"""""""""







$



"





""""
......cCs.|jtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|j	jtddd��|j	jtddd��|j
jtdd	d��|j
jtddd��|jjtdd
d��|jjtddd��|j
jtddd��|jjtdd
d��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtddd��|jjtdd d��|jjtdd!d��|jjd"tdd#d��|jjd$tdd%d��|jjd&tdd'd��|j jtdd(d��|j jtdd)d��|j!jtdd*d��|j"jtdd+d��|j"jtdd,d��|j#jtdd-d��dS(.NRsInterface Commande RaspibotsElevation Bras-8sT<html><head/><body><p>Remet servos et moteurs en position initiale</p></body></html>tInits[<html><head/><body><p>Remet la rotation bras  en position médiane (60°)</p></body></html>sR<html><head/><body><p>Remet la pince en position médiane (60°)</p></body></html>sZ<html><head/><body><p>Remet l'elevation bras en position médiane (60°)</p></body></html>sH<html><head/><body><p>Remet la rotation camera à 60°</p></body></html>sRemise à ZérosRotation Cam-5sPince-9sT<html><head/><body><p>Remet Av/Ar bras en position médiane (60°)</p></body></html>s\<html><head/><body><p>Remet l'elevation camera en position médiane (60°)</p></body></html>sHaut/Bas Cam-4sAv/Ar Bras-7sRotation Bras-6sz<html><head/><body><p><span style=" font-size:11pt; font-weight:400;">Visualisation moteur gauche</span></p></body></html>sy<html><head/><body><p><span style=" font-size:11pt; font-weight:400;">Visualisation moteur droit</span></p></body></html>s
Mot Gauches[<html><head/><body><p>Inversion moteurs (un en avant, l'autre en arriere)</p></body></html>tInversetMotDroitsQ<html><head/><body><p>Arrêt moteur gauche (position d'attente)</p></body></html>sStop GsN<html><head/><body><p>Arret moteur Droit(position d'attente)</p></body></html>sStop DsT<html><head/><body><p>Arrêt des deux moteurs (position d'attente)</p></body></html>tSTOPsn<html><head/><body><p>Passage de mode manuel (selectionné) en automatique(désélectionné)</p></body></html>s ManuelRAtVitesseit115200it38400it9600sm<html><head/><body><p>Lancement de la connexion serie une fois fixés le port et la vitesse</p></body></html>sActiver PortsL<html><head/><body><p>Champ d'entrée de commande manuelle</p></body></html>sM<html><head/><body><p>Bouton d'envoi pour commande manuelle</p></body></html>RJt	RECEPTION($tsetWindowTitleR
tNoneRR�Rt
setToolTipRRRRR!R#R)R,R.R/R1R2R5R6R7R8R9R:R;R<R=RARDREtsetItemTextRHRIRJRM(R�R((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyR�zs^(t__name__t
__module__R�R�(((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyRs	�at__main__N(tPyQt4RRtQStringtfromUtf8RtAttributeErrorRtUnicodeUTF8RR
tobjectRR�tsystargvtappRRRtuiR�tshowtexittexec_(((sD/home/papy56/Bureau/Mise en oeuvre Raspibot 5/IntRaspibotDesign10.pyt<module>	s&




��