Fatal error: Class 'QTextBoxPromptDialog'
Tue, 02/08/2011 - 15:51
Hi,
I'm trying to reproduce the example "Server-Side Modal Dialogs" to implement one dialog box in my application but when I did it I found this error:
Fatal error: Class 'QTextBoxPromptDialog' not found in C:\....
I don't know what's wrong with the class, in the example online it works but I cant's find any reference to that class in the Api or inside the Qcubed files.
Anyone can tell me what's wrong?

Have you installed the plugin from http://trac.qcu.be/projects/qcubed/wiki/plugins?
Just to clarify what Steven is saying, the QTextBoxPromptDialog class is a part of a plugin. It is not included in the QCubed core distribution. That is why you're seeing "no class found" exception. Install the plugin using the link that Steven provided (it also has other plugins - and instructions) and you'll be good to go.
Thank you guys. I saw steven reply but I'm dealing with some php code here and I still can't see the plugin to install it. I'll let you know if I have any problem when I do it
Thanks for the help guys, and exceus me if sometimes I ask for really simple things.
I could make it work but, is there any way to put a mask to the text I write in the prompt to use, for example, to recieve passwords.
There isn't one today, but you can derive your own class from the QTextBoxPromptDialog class, and set the appropriate mode on the textbox for it.