Hi,
Tryed to set ui from seperate file by :
Qt Code:
  1. MainWin ee;
  2. ee.update_gui();
To copy to clipboard, switch view to plain text mode 
In ui-window cpp file it recives but no change to ui
Qt Code:
  1. void MainWin::update_gui()
  2. {
  3. ui->label_4->setText("eeeeeeee");
  4. // ui->horizontalSlider->setValue(Lugemis_kaugus/LEVEL.size());
  5.  
  6. // ui->label_2->setNum(Lugemis_kaugus);
  7.  
  8. //double size = LEVEL.size();
  9.  
  10. // ui->label_3->setNum(size);
  11.  
  12. }
To copy to clipboard, switch view to plain text mode 

Debug shows it executes but nothing changes on gui.
How to solve this problem?