With QT3 available with Fedora I have a simple aspiration. I would like to enter into a lineedit widget a file name (a cstring) and have my C++ program go from there and do lots of neat stuff with processing the file. The latter has been pretty much accomplished. Back to Qt3-- I have figured out how to build a form with a textlabel, a lineedit, and a pushbutton. Three simple things easily accomplished in RealBasic, but amazingly less than obvious for QT. Still I would like to give Qt a shot, given open platform, and GNU etc etc
However I cannot figure out where what is entered into the lineedit box ends up. The form is called from main, but I cannot see that anything is returnd to main, and if so where is it? Is it hidden somewhere in a pointer to memory that was allocated by new? If so where is the pointer? I can't see that any pointer is initialized in main that would then have a cstring placed therein. Maybe the memory is allocated in some far off function but I don't see that a pointer is returned. Where is what is entered into the form available in main? Maybe Qt is limited to only the pro's, but any help is appreciated.
And, if so my alternative question is how could I call my C++ program from RealBasic. RealBasic does a fairly decent job in my opinion of making their GUI interface understandable, but I can't find in their documentation the procedure for passing parameters to a C++ plug in. Any help on this will be appreciated as well (only if my Qt question is beyond easy answer). Again I am somewhat trying to avoid realBasic because it appears to be too proprietary (and Visual C)
Thanks in advance LD