tags:

views:

14

answers:

1

What i did:

create a project,

edited the ui file with the designer tool,

ran the project, everything is ok

tried to add to my cppfile:

connect( pushButton_bracketBegin, SIGNAL( clicked() ), this, SLOT( pushButton_bracketBeginAction() ) );

but i get the error "‘pushButton_bracketBegin’ was not declared in this scope". this is my first project in qt and it should be fairly simple i guess (but yet out of my grasp ) :) appreciate the help

+1  A: 

the button is part of the ui object, so the correct way to get it is ui->buttonName :D

Jason94