Translations:Development/Tutorials/Common Programming Mistakes/78/pt-br: Difference between revisions

From KDE TechBase
(Created page with "Observe que a <tt>janela</tt> é criada antes da chamada <tt>a.exec()</tt> que inicia o loop de eventos. Isso implica que queremos evitar fazer algo não trivial no construtor...")
 
(No difference)

Latest revision as of 17:18, 22 April 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Common Programming Mistakes)
Notice that <tt>window</tt> is created before the <tt>a.exec()</tt> call that starts the event loop. This implies that we want to avoid doing anything non-trivial in the top-level constructor, since it runs before we can even show the window.

Observe que a janela é criada antes da chamada a.exec() que inicia o loop de eventos. Isso implica que queremos evitar fazer algo não trivial no construtor de nível superior, pois ele é executado antes que possamos mostrar a janela.