Asaf
Sleep Deprived
- Joined
- Mar 22, 2010
- Messages
- 1,326
I assume that these buttons are the new widgets you added, right?
If so - make sure you added the proper code (CvDLLWidgetData:: parseHelp? a new popup definition?).
If everything is defined properly, and the python code seems fine, try adding a breakpoint in the C++ code when debugging, in the function(s) that should be called when the button is pressed.
Another thing - in the widgets enum itself - make sure you added your widgets at the end (right before NUM_WIDGET_TYPES), or else there might be problems (I had them when I added widgets). Probably a conflict with the definitions in the exe.
If so - make sure you added the proper code (CvDLLWidgetData:: parseHelp? a new popup definition?).
If everything is defined properly, and the python code seems fine, try adding a breakpoint in the C++ code when debugging, in the function(s) that should be called when the button is pressed.
Another thing - in the widgets enum itself - make sure you added your widgets at the end (right before NUM_WIDGET_TYPES), or else there might be problems (I had them when I added widgets). Probably a conflict with the definitions in the exe.