thnks, i was try this but i have a error in the compilation, i did this:

Qt Code:
  1. MainWindow.cpp
  2.  
  3. #include "LogClass.h"
  4.  
  5.  
  6. log login;
  7. QString showme;
  8. showme=login.cuenta;
  9. ui->mostrarcuenta->setText(showtime);
To copy to clipboard, switch view to plain text mode 

the error its this:

login was not declarate in this scope

thnks