Quote Originally Posted by sonulohani View Post
Because you're using the private member function outside the class.
Qt Code:
  1. void NowyWpis::Wybor ()
To copy to clipboard, switch view to plain text mode 
If you mean that problem is because of making Wybor() private function, it's not reason of error- I made everrything in class public:
Qt Code:
  1. public:
  2. NowyWpis(QWidget *parent = 0);
  3. public slots:
  4. void Aktual();
  5. public:
  6. void Wybor ();
  7. void Dane();
  8. QGroupBox *wybortr;
  9. QComboBox *wybierz;
  10. QLabel *ikona;
  11. QString wybrany;
To copy to clipboard, switch view to plain text mode 

but it didn't solve the problem