Forum Discussion
Attaching screenshot of my Object Mapping window:
And what happens when you try to add your custom control?
- sameerjade3 years agoFrequent Contributor
I tried adding the custom control in 2 ways:
1. First I tried adding a custom control "TreeWidget" under Qt Controls>Tree widget. After saving changes, I try to select my control using object spy but there is no change. It still cannot highlight the items inside my control.
2. Second I tried the first approach in the below link i.e. find your custom control's base class in the object mapping window and select the "derived classes" checkbox. This enables TestComplete to find your derived classes/custom controls from that base class. However, my base class is "QWidget" and this base class is not listed in the Object Mapping window, therefore I cannot do this approach.
Please let me know if I am missing something. Thanks!
- Marsha_R3 years agoChampion Level 3
What type is your QWidget?
- sameerjade3 years agoFrequent Contributor
I am not sure about that. How can I find that out? When I select my control with the object spy, it gives QtClassName=QWidget (see attached screenshot from object spy). It does not give the type of QWidget.
I will check with my developers also.
Related Content
Recent Discussions
- 3 days agovladd1