Fatal error: Class 'QTextBoxPromptDialog'

Login or register to post comments
5 replies [Last post]
Offline
Joined: 12/30/2009

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?

Steven Warren's picture
Offline
Joined: 11/06/2008

Have you installed the plugin from http://trac.qcu.be/projects/qcubed/wiki/plugins?

alex94040's picture
Offline
Joined: 11/06/2008

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.

Offline
Joined: 12/30/2009

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

Offline
Joined: 12/30/2009

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.

alex94040's picture
Offline
Joined: 11/06/2008

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.