Unsolved Accessing Widgets of UserInterface from another window
-
How to access widgets of a userinterface from other newly created window.....
-
You can either pass UI pointer to the new class or you can create a member functions in mainwidow and access from new class.
-
Hi,
Through a proper interface usually done through signals and slots. Passing internal widgets around is usually a sign of bad architecture as it creates tight coupling and maintenance hell.
-
Why don't you give me an example code
-
@SGaist said in Accessing Widgets of UserInterface from another window:
Through a proper interface usually done through signals and slots. Passing internal widgets around is usually a sign of bad architecture as it creates tight coupling and maintenance hell.
Agreed. so i also suggested creating function which access UI..
-
This forum is full of questions similar to yours already answered.
Did you take the time to search through it ?
Did you take a look at the Qt examples for designer based widgets ?