
Originally Posted by
stampede
Why are you creating your objects in a header ?
I create them in .cpp files. I have .h and .cpp files, as it have to be.

Originally Posted by
stampede
And where exactly is the code called ?
In main.cpp like this:
int main(int argc,char *argv[])
{
tabDialog tabdialog;
return tabdialog.exec();
}
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
tabDialog tabdialog;
return tabdialog.exec();
}
To copy to clipboard, switch view to plain text mode

Originally Posted by
stampede
connect( Tab1, SIGNAL(returnPressed()), Tab2, SLOT(publicSlotFromTab2()) );
This does not work. Tab2 in my Application does not change it's Table when user press "Enter" in QLineEdit in Tab1. Maybe I have to push Tab2 to "redraw" itself somehow? But how?
Bookmarks