From 7e9d6e28297432d4a15721a49a9dd0c0d067ce7e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 12 Jun 2013 15:54:55 -0300 Subject: Fixed the show / hide dialog shortcuts to take the splitter into consideration Fixed the show / hide dialog shortcuts to take the splitter into consideration, So, here's the deal. We have a few QSplitters that takes care of helping us with the size of a few widgets, they are ok, and we should continue using them to manage the visibility of them too. But the way that we did before was to widget->hide(); something, and if you hided something using the splitter, by holding it's handle and collapsing the widget, then you used the 'ctrl+number' shortcut to show it, it whould only show a gray panel. This patch makes everything behave using the splitters. Signed-off-by: Tomaz Canabrava --- qt-ui/mainwindow.ui | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'qt-ui/mainwindow.ui') diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index fbf10cdf8..598068e3d 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -14,8 +14,8 @@ MainWindow - - + + Qt::Vertical @@ -92,7 +92,7 @@ - + @@ -147,7 +147,9 @@ + + @@ -323,7 +325,7 @@ View All - Ctrl+4 + Ctrl+5 @@ -365,6 +367,14 @@ F1 + + + View Globe + + + Ctrl+4 + + -- cgit v1.2.3-70-g09d2