aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/lte_rlc_graph_dialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-05-16Windows: Make sure more native dialogs handle HiDPI.Gerald Combs1-2/+2
Add a WiresharkFileDialog class, which is a thin wrapper around a few QFileDialog functions that sets per-monitor v2 DPI awareness before showing native dialogs and resets the awareness context afterward. Use it where we call QFileDialog::getXXX. Change-Id: Ib711a70aa94b693a2515804a729f666ea7fbd673 Reviewed-on: https://code.wireshark.org/review/27568 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-05-01Fix comment end after SPDX identifierStig Bjørlykke1-1/+2
Move */ to a separate line below the SPDX identifier. Change-Id: Id1032215449cfccae0933147b45e04b65e0b727f Reviewed-on: https://code.wireshark.org/review/27211 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-09RLC graph: fix zooming, both in normal case and when graph direction has ↵Martin Mathieson1-4/+9
been switched Change-Id: I05e02b2821367ef1a78b9ededd462324053cf06e Reviewed-on: https://code.wireshark.org/review/25683 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-08replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later.Dario Lombardo1-1/+1
The first is deprecated, as per https://spdx.org/licenses/. Change-Id: I8e21e1d32d09b8b94b93a2dc9fbdde5ffeba6bed Reviewed-on: https://code.wireshark.org/review/25661 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-02Qt: use SPDX identifiers.Dario Lombardo1-14/+1
Change-Id: I111945c08f99818c249a868c12d9a7b3a3df64b3 Reviewed-on: https://code.wireshark.org/review/25563 Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-01-25Qt 4.8 compatibility fixesPeter Wu1-0/+1
Add missing include headers, define Q_NULLPTR for all Qt objects (to avoid having to include an ugly compat header), use old signal/slot syntax (Q_SIGNALS are protected in Qt 4.8), disable Qt 5 log message handler, etc. Change-Id: I449beb0b74050fdfb0fc5828d8fb74eedb2b45bf Reviewed-on: https://code.wireshark.org/review/25469 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-12-17LTE RLC graph: export graph as image, like TCP stream doesMartin Mathieson1-2/+47
Change-Id: I8709f7c09528a44a9729a06ea2ba4d6f99dbeccb Reviewed-on: https://code.wireshark.org/review/24864 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-12-09Allow switching direction in LTE RLC graphMartin Mathieson1-6/+38
Change-Id: I1681089aebe7f00b2b84ece00c53a3bf8769d50b Reviewed-on: https://code.wireshark.org/review/24682 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2017-12-08Have the frame_tvbuff.c routines not use the global cfile.Guy Harris1-2/+0
Have the routines that create them take a pointer to a struct packet_provider_data, store that in the tvbuff data, and use it to get the wtap from which packets are being read. While we're at it, don't include globals.h in any header files, and include it in source files iff the source file actually uses cfile. Add whatever includes that requires. Change-Id: I9f1ee391f951dc427ff62c80f67aa4877a37c229 Reviewed-on: https://code.wireshark.org/review/24733 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-12-04RLC LTE graph: add comments clarifying tracer limitationMartin Mathieson1-0/+5
Change-Id: Ib6a79689ced9377b1ac00513810db2e86d26d83f Reviewed-on: https://code.wireshark.org/review/24690 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-11-24LTE RLC graph: 'r' should reset, not zoom outMartin Mathieson1-1/+1
Change-Id: I34ad795b5c4f3f5d47b357d3af1de1f4b5fe481b Reviewed-on: https://code.wireshark.org/review/24561 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-26Qt: Move utils to separate utils directoryRoland Knall1-2/+2
Following the move for widgets directory, moving utils to the utils directory. Guidelines for this directory are: - Generic use but not a widget - Utility functionality used by many classes Note: additionally all includes affected by this move have been changed to absolute path includes, instead of relative ones. Change-Id: I019ae4b6e6f6d06a5745a63ed195edbd36fb936b Reviewed-on: https://code.wireshark.org/review/22602 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Roland Knall <rknall@gmail.com>
2016-08-24Qt: add initializer (CID 1328485).Dario Lombardo1-0/+1
Change-Id: I1ce4ddc8bfb66522d4e472c258de2f928d5c776f Reviewed-on: https://code.wireshark.org/review/17298 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2016-08-07Qt: add initializers (CID 1328485).Dario Lombardo1-0/+4
Change-Id: I9135dabc3f656ac17f6269221f795a5dda7552af Reviewed-on: https://code.wireshark.org/review/16946 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-28Qt: Add dialog geometry restoreStig Bjørlykke1-3/+1
Add GeometryStateDialog class to handle load and save dialog geometry. The QDialog class name will be used as window name. For shared classes the UAT name or the statistics title or abbr will be used. Change-Id: I5a019598307fb3861518f41e733de834788184d8 Reviewed-on: https://code.wireshark.org/review/14139 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-01-31RLC LTE: upgrade dissector to v13.0.0Pascal Quantin1-3/+3
Change-Id: Ibe4586925ffe49f5aaab72956c40e123855a1a1e Reviewed-on: https://code.wireshark.org/review/13620 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-12-29Always supply a g_mallocated error message from select_rlc_lte_session().Guy Harris1-5/+2
That way, we don't have to pass a "free this" indication separately. While we're at it, don't just free the error message, *display* it in all cases where rlc_graph_segment_list_get() fails. (I wish more programming languages had a proper string type, including some whose names consist solely of the third letter of the alphabet, but I digress....) Change-Id: I99f8b088aa19bc8fbb178bdb36d85ba5b89c06e0 Reviewed-on: https://code.wireshark.org/review/12902 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-24RLC Graph: call replot() with rpQueued to avoid lag caused by trying to draw ↵Martin Mathieson1-8/+10
every mouse position Change-Id: Ibde38a1168f8d8dafbce5985a4b10ed935d95cba Reviewed-on: https://code.wireshark.org/review/11249 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-21LTE RLC Graph: fix CID 1328485: Uninitialized members (UNINIT_CTOR)Martin Mathieson1-1/+2
Change-Id: Ia3d6a87ba4d8fb0ff66700d19ec30ffaeea86f2b Reviewed-on: https://code.wireshark.org/review/11201 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-20LTE dialogs: tidy up some loose endsMartin Mathieson1-7/+20
Change-Id: I18f099311f7660c91cffdf21bbacdb88b7c0fd7e Reviewed-on: https://code.wireshark.org/review/11182 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-19RLC LTE graph: allow switching between zoom and drag, and place limits on eachMartin Mathieson1-20/+120
Change-Id: I9fb9fa5be25dc56810dcbf2d4d5607d79eed541e Reviewed-on: https://code.wireshark.org/review/11146 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-17LTE RLC Graph: add support for going to packet clickedMartin Mathieson1-39/+89
Change-Id: I7e1ada7508c33f7ccea5703a9ea9e2a76ecdb706 Reviewed-on: https://code.wireshark.org/review/11118 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-16RLC statistics window can now launch UL or DL graphsMartin Mathieson1-7/+33
Change-Id: I9eb1ceacaee6aab510c5a005d40334867cafc8a4 Reviewed-on: https://code.wireshark.org/review/11059 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-15Remove unused offset variables.Martin Mathieson1-16/+5
Fixes CID 1327340. Change-Id: I1914e21ca7c0e911534a850fe2a8210b28650bee Reviewed-on: https://code.wireshark.org/review/11055 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-12Try to fix OS X buildbot but using a different QBrush constructor in the ↵Martin Mathieson1-4/+2
cases that were failing (where implicit conversion seems to be failing) Change-Id: Id0393c2403ed953579c7d571e9880849b7dff8b3 Reviewed-on: https://code.wireshark.org/review/10952 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2015-10-11LTE RLC graphs - initial versionMartin Mathieson1-0/+643
Change-Id: Ic5f2c353ae1f787ac19cb575a938cb093ff5f6dc Reviewed-on: https://code.wireshark.org/review/10930 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>