Only about half the time are tooltips all that helpful to me, only because I don't understand exactly what context they are using the terms in. For example, when typing, "button->setIcon..." a tooltip pops up and shows, "QIcon(const Qstring &fileName) "
I get that they want me to use a string, and list a fileName, but I don't know what the const function has to do with all this. Is it saying that I can't put a variable in there? Or that whatever I put in there will be turned into a constant? Or is it saying I have to put a const before the qstring? What about the &? Does this mean I need a namespace for the filename?


Reply With Quote



Bookmarks