
    08i	                     T    d dl mZ ddlmZ ddlmZmZ ddlmZm	Z	  G d dee      Z
y)	   )UIFile   )
SourceFile)ContextMessage)UserUserExceptionc                   "     e Zd ZdZ fdZ xZS )DesignerSourcez% Encapsulate a Designer source file. c           
         t        |   di | | j                  dj                  | j                               	 t        | j                        }|j                  t        |j                        }|j                  j                  d      D ]  }|j                  dd      dk(  r|j                  s&t        | j                  d|j                  |j                  dd	      d
      }|j                  d      }|r%|j                   j"                  j%                  |       |j&                  j%                  |        |j&                  r| j(                  j%                  |       yyy# t        $ r}t        t        |            d}~ww xY w)z Initialise the object. zReading {0}...Nstringnotrfalsetrue    comment Fextracomment )super__init__progressformatfilenamer   	Exceptionr	   strwidgetr   
class_nameitergettextr   embedded_commentsextra_commentsappendmessagescontexts)	selfkwargsui_fileecontext	string_elmessageextra_comment	__class__s	           g/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/PyQt6/lupdate/designer_source.pyr   zDesignerSource.__init__   sZ    	"6" 	&--dmm<=	(T]]+G >>%g001G
 %^^00: 1	==1V; !~~!$--INN!i4e= !*n = --<<CC)+   ''0#1& $$W-  3 &  	(A''	(s   E& &	F/FF)__name__
__module____qualname____doc__r   __classcell__)r/   s   @r0   r   r      s    /'. '.    r   N)uicr   source_filer   translationsr   r   userr   r	   r   r   r6   r0   <module>r;      s!   &  # * %*.Z *.r6   