ROOT Version: Not Provided
_Platform:SL7 Compiler: Not Provided
Hello,
I am developing a ROOT GUI in a unique software environment for my experiment. I want to build a TGPictureButton for an event display which will allow navigation between events. I have a class called NavUtil which has functions Next() and Prev(). I have two images (basic arrows) which I want on the buttons and have attached these (no errors there, I think). I am now trying to connect the function to the buttons and I get this error:
FatalRootError: BEGIN
@SUB=TQObject::CheckConnectArgs
slot Prev() does not exist.
The button is connected in my code via this line in my top level main function (seperate file from NavUtil.cc) :
where util is an object of type NavUtil. Prev is definitely a function within NavUtil and the header file for that NavUtil is included in this main file. Have I missed something?
Thank you for your response. Do you mean a seperate file with some sort of lookup table? I have a class.xml and class.h file which list all my classes already. These are just lists of classes. What other type of dictionary would I need?
No I don’t know how to generate the dictionary in the code framework. We use scons and so as far as I see in other files in our framework all you need to do is include these types of ifndef statements and the ClassDef with a statement “helper.classDef(True)” in the SConscript and genrelfex should take care of that…I am no expert, I could have completely missed the mark there…
I dont know which parts of the code should be between the #ifndefCINT … #endif . I based this on a working example in our framework…it maybe wrong