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

From KDE TechBase
(Created page with "void MainWindow::initObject() { /* This slot will be called as soon as the event loop starts. * Put everything else that needs to be done, including * restoring...")
 
No edit summary
 
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
    
    
Using this technique may not buy you any overall time, but it makes your app ''seem'' quicker to the user who is starting it. This increased perceived responsiveness is reassuring for the user as they get quick feedback that the action of launching the app has succeeded.
O uso dessa técnica pode não custar muito tempo para você, mas faz com que seu aplicativo pareça mais rápido para o usuário que o está iniciando. Esse aumento da capacidade de resposta percebida é reconfortante para o usuário, pois ele recebe um feedback rápido de que a ação de iniciar o aplicativo foi bem-sucedida.

Latest revision as of 17:27, 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)
void MainWindow::initObject()
{
   /* This slot will be called as soon as the event loop starts.
     * Put everything else that needs to be done, including
     * restoring values, reading files, session restoring, etc here.
     * It will still take time, but at least your window will be
     * on the screen, making your app look active.
     */
}
</syntaxhighlight>
   
Using this technique may not buy you any overall time, but it makes your app ''seem'' quicker to the user who is starting it. This increased perceived responsiveness is reassuring for the user as they get quick feedback that the action of launching the app has succeeded.

void MainWindow::initObject() {

   /* This slot will be called as soon as the event loop starts.
    * Put everything else that needs to be done, including
    * restoring values, reading files, session restoring, etc here.
    * It will still take time, but at least your window will be
    * on the screen, making your app look active.
    */

} </syntaxhighlight>

O uso dessa técnica pode não custar muito tempo para você, mas faz com que seu aplicativo pareça mais rápido para o usuário que o está iniciando. Esse aumento da capacidade de resposta percebida é reconfortante para o usuário, pois ele recebe um feedback rápido de que a ação de iniciar o aplicativo foi bem-sucedida.