When we define a class in a header file, i write down this code "" Ui::Dialog ui; ""
what does it mean?
If we have Two form first one is MainWindow the second one is Dialog window, these forms all classes contains these code why?
Code:
{ Q_OBJECT public: int i; QTranslator translator; //Dialog::Dialog *a=new Dialog(); ~MainWindow(); private: Ui::MainWindow ui; void languageChange(int); protected: public slots: void english(); void turkce(); void deutsch(); void reset(); void sayfa(); }; { Q_OBJECT public: private: Ui::Dialog ui; public slots: void gizle(); };
thanks
