Hello!

I've got very irritating problem with my layout. I need to put it below button which is on top of the window:

Qt Code:
  1. QPushButton *quitButton = new QPushButton(this);
  2. quitButton->setGeometry(QRect(0,0,25,25));
  3. quitButton->move(207,2);
  4.  
  5. connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));
  6.  
  7. QHBoxLayout *oknoLayout = new QHBoxLayout(this);
  8.  
  9. Wykres *wykres = new Wykres(this);
  10. oknoLayout->addWidget(wykres);
  11.  
  12. oknoLayout->setGeometry(QRect(QPoint(0,40),QPoint(0,320)));
To copy to clipboard, switch view to plain text mode 

Layout with widget inside is on top of a button. I need button to be where it is now. QHBoxLayout don't have move(), so any ideas how can I move my layout lower?

thanks in advance
best regards
Tomasz