aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/welcome_page.h
AgeCommit message (Collapse)AuthorFilesLines
2019-06-23Qt: Handle ApplicationPaletteChange events in the welcome page.Gerald Combs1-0/+3
Update our various welcome page style sheets when we receive an ApplicationPaletteChange event. It looks like ApplicationPaletteChange is the proper way to detect a system-wide theme change, since we can infinitely recurse if we hold things wrong inside a regular PaletteChange event (I'm guessing setting CSS background and foreground colors were the culprits in this case). Switch from PaletteChange to ApplicationPaletteChange everywhere. Ping-Bug: 15511 Change-Id: I6e7aa627d9ca1d1d3872ab31620ea5c579061191 Reviewed-on: https://code.wireshark.org/review/33703 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2018-06-01Qt: Rename MainWelcomeRoland Knall1-0/+101
Currently exist two main pages within Wireshark. The first being the main welcome page and the second the packet capture page. The first is called "main_welcome.?" and the second is actually the master_split_ object defined in main_window.h. The first being a QFrame, the second not. In preparation for future developments (dockable windows, multiple capture files), this is being corrected, with the main welcome being renamed as welcome_page as a first step Change-Id: I40703e6ed15ff6f6b62b2a3cf31f5636ac6da9ec Reviewed-on: https://code.wireshark.org/review/27949 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>