ropel
27th June 2008, 16:56
Hi,
I'm trying to create a splitter between a QTabWidget and a QDockWidget.
I want the QDockWidget to keep a fixed height while resizing, but the splitter should of course remain functional.
I found that I should use setResizeMode, so I put:
this->UI->setResizeMode(this->UI->dockWidget, QSplitter::KeepSize);
However I get the error that QSplitter::KeepSize is not a member of QSplitter.
(QT + CMake setup, using QTDesigner)
Anyone have a solution?
Thanks.
I'm trying to create a splitter between a QTabWidget and a QDockWidget.
I want the QDockWidget to keep a fixed height while resizing, but the splitter should of course remain functional.
I found that I should use setResizeMode, so I put:
this->UI->setResizeMode(this->UI->dockWidget, QSplitter::KeepSize);
However I get the error that QSplitter::KeepSize is not a member of QSplitter.
(QT + CMake setup, using QTDesigner)
Anyone have a solution?
Thanks.