Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

What is the purpose of the Ui Namespace in Qt ?

$
0
0
The code auto-generated by qt creates 2 classes which are similar. For Example :- class Ui_MainWindow { //... }   namespace ui { class MainWindow : public Ui_MainWindow {}; } The class in the Ui name space i.e Ui::MainWIndow and Ui_MainWindow are exactly the same. Then what is the purpose of creating another class in the Ui namespace when we can directly use Ui_Mainwindow itself and what is the purpose of the Ui Namespace?

Viewing all articles
Browse latest Browse all 18427

Trending Articles