Respect the layout preference (just the horizontal/vertical splitting of the
authorEvan Huus <eapache@gmail.com>
Mon, 2 Sep 2013 16:03:13 +0000 (16:03 -0000)
committerEvan Huus <eapache@gmail.com>
Mon, 2 Sep 2013 16:03:13 +0000 (16:03 -0000)
commit785c1a531009a56d7fe400d849bd77a6d083d3ac
tree7d69094ec5f19691e1047f6078071b9b90a7b057
parentc5488abfe7d883210109cf9142d623e6b11641a5
Respect the layout preference (just the horizontal/vertical splitting of the
panes, not yet which data goes in which pane).

You currently have to restart for the change to take effect. I also had to move
the preferences-reading (and thus the epan_init) call to before the main window
instantiation so that the preference was actually available for use. This means
that the progress-bar doesn't show up for very long any more, since most of the
work is already done by the time it appears.

I'm sure there is a way to delay just the layout setup until later, but I kept
getting slot errors I couldn't figure out...

svn path=/trunk/; revision=51647
ui/qt/layout_preferences_frame.h
ui/qt/main.cpp
ui/qt/main_window.cpp
ui/qt/main_window.h
ui/qt/main_window_slots.cpp