Hai
In my pro I have a MainWindow, 4 Dock widgets, I want resizeEvent() for all DockWidgets. MainWindow resizeEvent() working properly.
how to do this
pl suggest me..
Hai
In my pro I have a MainWindow, 4 Dock widgets, I want resizeEvent() for all DockWidgets. MainWindow resizeEvent() working properly.
how to do this
pl suggest me..
It should be possible to trap a resize event in QMainWindow using a customized
(QMainWindow inherits from QWidget) and then on each of your specialised QDockWidgets call an overiddenQt Code:
To copy to clipboard, switch view to plain text mode
which will then do whatever you need your specialised QDockWidget to do on a resize event.Qt Code:
To copy to clipboard, switch view to plain text mode
Last edited by stefanadelbert; 29th March 2010 at 06:38.
Hai
I want to create a resizeEvent for QFrame.
how to do this?
Qt Code:
{ ui->qwtTxtLegTittle->setGeometry(legend->x()+10,legend->y()-20,ui->qwtTxtLegTittle->width(),ui->qwtTxtLegTittle->height()); ui->qwtTxtLegTittle->setText("Run.No Param. Avg.Mach "); } { }To copy to clipboard, switch view to plain text mode
Hai
I want to create a resizeEvent for QFrame.
how to do this?
Qt Code:
{ ui->qwtTxtLegTittle->setGeometry(legend->x()+10,legend->y()-20,ui->qwtTxtLegTittle->width(),ui->qwtTxtLegTittle->height()); ui->qwtTxtLegTittle->setText("Run.No Param. Avg.Mach "); } { }To copy to clipboard, switch view to plain text mode
Bookmarks