Quote Originally Posted by stampede View Post
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.
Quote Originally Posted by stampede View Post
And where exactly is the code called ?
In main.cpp like this:
Qt Code:
  1. int main(int argc,char *argv[])
  2. {
  3. QApplication app(argc,argv);
  4. tabDialog tabdialog;
  5. return tabdialog.exec();
  6. }
To copy to clipboard, switch view to plain text mode 
Quote Originally Posted by stampede View Post
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?