Hi
I write application which uses BorderLayout.
I have one main layout in the center, and additionaly one in the bottom, and one on the left side:
- Center layout has only QTextEdit, and it's filling almost entire space of the window
- South layout has few QLabels and QLineEdit
- West layout has little more various controls (and will have more in future, so I plan to add here QDockWidget)
I want to have possiblity to toggle hide/show South and West layout with custom keyboard shortcut when QTextEdit is active. Unfortunately BorderLayouts don't have hide() option.
I could hide one control by one, but:
- this could be laborious
- even if I did this, there is small space visible in the rest of South or West panel, I can set this in BorderLayout.cpp constructor, but as I said, manual hiding all controls will be hard
My question: how can I easily toggle show/hide some layouts in BorderLayout? I appreciate any help.
Bookmarks