Hi,
dock->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
dock->setFloating(false);
addDockWidget(Qt::BottomDockWidgetArea, dock);
dock = new QDockWidget(tr("Log"), this);
dock->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
dock->setFloating(false);
addDockWidget(Qt::BottomDockWidgetArea, dock);
To copy to clipboard, switch view to plain text mode
When I press maximize button(two little square), the dock goes to floating status. What I need is, dock should maximize and cover the entire window area and pressing the button again should set the dock to it's previous state.
Secondly, this dock is taking too much height, how do I set the initial height.
Prashant
Bookmarks