Hello!
I've got very irritating problem with my layout. I need to put it below button which is on top of the window:
quitButton
->setGeometry
(QRect(0,
0,
25,
25));
quitButton->move(207,2);
connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));
Wykres *wykres = new Wykres(this);
oknoLayout->addWidget(wykres);
QPushButton *quitButton = new QPushButton(this);
quitButton->setGeometry(QRect(0,0,25,25));
quitButton->move(207,2);
connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));
QHBoxLayout *oknoLayout = new QHBoxLayout(this);
Wykres *wykres = new Wykres(this);
oknoLayout->addWidget(wykres);
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
Bookmarks