LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Unable to execute code in Implementation class when a button is clicked (https://www.linuxquestions.org/questions/programming-9/unable-to-execute-code-in-implementation-class-when-a-button-is-clicked-387285/)

Gnarg 11-28-2005 11:47 AM

Unable to execute code in Implementation class when a button is clicked
 
Hi all,

I have created a new project using a "Simple Designer Based Application."
When executed a label and a button show. If you click on the button it will insert some text. Click it again and the text goes away.

I then created a new dialog with just a button. I added a connect to that button to point to my slot "myButtonClicked"

The original code that adds text into the label has been replaced to display the dialog

Code:



Form1 *myDialog;
myDialog = new Form1( this ); // Note, I also removed "this"
myDialog->show();


When the dialog appears with just one button. When clicked a qWarning should appear just informing me that the button was pressed but what I get instead is:

Form1::myButtonClicked(): Not implemented Yet

I have made all the connection through KDevDesigner and should be going to my implementation class.


So right now I really don't know what's going on. To me everything looks right.

Anyone have suggestions? If requested I will post the code here.

:confused: Hope you all can help.








Gnarg
:study:

Mara 11-30-2005 02:57 PM

Are you sure Form1 is the class that has the slot implemented?

Gnarg 12-01-2005 06:36 AM

Hi Mara,

I had another post that explained better my situation which you have answered for me.

The link is here: http://www.linuxquestions.org/questi...21#post1978121


Thank you for your help...


Gnarg
:)


All times are GMT -5. The time now is 11:24 PM.