hey there, i have created a push button inside a tab called demandsTab() and i have connected the button to a method. the method and the connection is shown below:
QPushButton *shortestPathButton = new QPushButton(tr("Shortest Path"));
connect(shortestPathButton, SIGNAL(clicked()), this, SLOT(PermissionsTab:utputTable()));
the slot function that i created is shown below:
void PermissionsTab:utputTable()
{
int result = 5;
display->setText(QString::number(result));
}
i basically just want the display to output the number 5 in the permissions tab when i press the button from the demands tab, but it isnt working....any idea's??? Jag
Bookmarks