QlineEdit with selectionChanged()
Hi
I’m wondering if someone can help me with this problem in QDesigner, I tried to connect a signal (selectionChanged()) for an EditLine calling a function that can open a QFileDialog. It has been done already under a project using QDialog form but when it comes for a new project with MainMenu as a form type, it does nothing it can’t even enter in the called function. I didn’t code the signal but I added it in the Signal/Slot Editor.
Do I need to do something else under MainMenu?
Thank you for your help!
Massi
3 replies
Hi, usually when a slot isn’t called it is because the connect wasn’t correct. In QDesigner you are able the check the signal/slot editor. Might want to debug it with just a simple lineedit update next to it. If that works, the signal is issued. After that make sure you are able to call the desired slot (maybe private member of a different class?)
good luck, but as Gerolf says, we can’t do much without code.
You must log in to post a reply. Not a member yet? Register here!


