aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/accordion_frame.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-01-08Revert "Qt: Try to fix Main Welcome Interfaces List Scrollbar"Gerald Combs1-4/+2
Instead of calling InterfaceTree::reset (which clears our selection) when we resize, just pass our resize event to QTreeWidget. Additionally, select our default interface using setCurrentItem. This fixes behavior broken in gb152ca3. This reverts commit 7baac67149a68b66087c5d688dbeda2869485765. Bug: 11733 Change-Id: I58855de38561fcb6984273ae3910c0dfcda04e69 Reviewed-on: https://code.wireshark.org/review/13135 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-12-19Qt: Try to fix Main Welcome Interfaces List ScrollbarMichal Labedzki1-2/+4
Bug: 11733 Change-Id: Ic144634acce7b9e9eb9821ca6452694cb2dcf4dd Reviewed-on: https://code.wireshark.org/review/12684 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
2015-09-11Fix a bunch of leaks found by Valgrind.Gerald Combs1-1/+1
Change-Id: I8862ed15d354aee487bacd80ab5fb4918423287e Reviewed-on: https://code.wireshark.org/review/10487 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-07-16Add display_is_remote.Gerald Combs1-2/+2
Add a display_is_remote function and use it instead of get_conn_cfilter to check for remoteness. Change-Id: Ia93d113afec36ede55daf7dc8394b2dc0d8c9abf Reviewed-on: https://code.wireshark.org/review/9659 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-02-10Qt/C++: Change a bunch of includes to forward declarations.Gerald Combs1-0/+1
In theory this this should reduce compilation times. On my particular system it makes no difference but hopefully it will elsewhere. Change-Id: I570177d3ca4eec691c82d46b4dbbce74092aac1d Reviewed-on: https://code.wireshark.org/review/7060 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-12-21Qt: Better accordion frame layout.Gerald Combs1-9/+9
Calling invalidate + activate on the parent layout has better results than calling adjustSize on the parent widget. Change-Id: I844bee49b868d988b0fc93a72687407adf232ef9 Reviewed-on: https://code.wireshark.org/review/5951 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-12-21Qt: Fix accordion frame height calculation.Gerald Combs1-9/+35
Change-Id: I32d2ea2ff34544e285b52e4e35e035306c33d3aa Reviewed-on: https://code.wireshark.org/review/5935 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-12-20Qt: Use an accordion frame in the welcome screen.Gerald Combs1-1/+0
Place the recent files list in an accordion frame so that showing and hiding is more visually smooth. Change-Id: Ifdc534a33aa9f93949c9f919cfe0765fbfcde750 Reviewed-on: https://code.wireshark.org/review/5924 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2012-12-19Set SVN propertiesJeff Morriss1-1/+1
svn path=/trunk/; revision=46609
2012-12-18Add an AccordionFrame class which can animate showing and hiding (exceptGerald Combs1-0/+96
when we detect a remote connection). Use it for the "go to" and search frames. Properly detect remote connections in the splash overlay. svn path=/trunk/; revision=46591