aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window_preferences_frame.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-07-07Continuing to remove Q_UNUSEDJoerg Mayer1-2/+1
Change-Id: I54bc4a1b7d39abd1bb88ee361b0de5fcbca1efe8 Reviewed-on: https://code.wireshark.org/review/9546 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-06-25Qt: use <> for including the generated ui_*.h filesMartin Kaiser1-1/+1
this should make Visual Studio pick up the generated include files from the build directory instead of the source directory (which may contain lefovers from an in-tree build) Change-Id: Ie3de4cdd85a2865e203118a42ab10f443372f03b Reviewed-on: https://code.wireshark.org/review/9129 Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-01Qt: fix crash when opening Preferences window on WindowsPascal Quantin1-2/+2
Do not use delete on g_allocated memory Change-Id: I84e0adc65c45520916adb9b2f6d46ca3f144486e Reviewed-on: https://code.wireshark.org/review/6207 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-12-10Qt: Obey main toolbar icon preferences.Gerald Combs1-7/+0
Remove the preferences for the filter toolbar and mark them GTK+-only. Change-Id: Ie48b19aee29a1cfcea4c41ca6c08ddbba3102377 Reviewed-on: https://code.wireshark.org/review/5693 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-01qt: use qstring_strdupPeter Wu1-2/+2
Replaces the more verbose `g_strdup(foo.toUtf8().constData())` by `qstring_strdup(foo)`. While at it, plug a minor memleak in MainWindow dialogs. Change-Id: I32b53f972b4e3998ac9beabd98647a381b7b42e3 Reviewed-on: https://code.wireshark.org/review/5531 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-11-07Call the default language preference setting "Use system setting".Guy Harris1-1/+1
That more correctly describes it - it doesn't do any form of automatic detection of anything, it just picks up the system settings from wherever Qt picks them up. Change-Id: I62d40719728cc9735e3b8f3e4202b7e61fc3f43b Reviewed-on: https://code.wireshark.org/review/5165 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-11-04Qt: Dynamic languagesMichal Labedzki1-3/+55
- get language as soon as possible (before creating any Qt objects) to make all translations working - dynamic list of supported languages - runtime change of GUI language (no need to restart application) - add flags icons support - search for *.qm languages in buildin resources, then data dir called "languages" (main directory in sources or /usr/share/wireshark/languages), then user directory (UNIX: ~/.wireshark/languages); "languages" directory should contains files wireshark_xx.qm where xx is language code (en, en_GB, etc.), and optional xx.svg for flag icon - try to fix some untranslated manually-created UI items (need manual reset text of those components) Change-Id: I62ca8a8cddce47cec9dbcad6b0bd68b6cfd92229 Reviewed-on: https://code.wireshark.org/review/5041 Tested-by: Michal Labedzki <michal.labedzki@tieto.com> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
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>
2013-09-09Add Preference to change Language (in QtShark)Alexis La Goutte1-0/+7
Need restart application to change language svn path=/trunk/; revision=51869
2013-01-22GTK+:Gerald Combs1-0/+15
Get rid of user-hostile behavior. In the layout preferences pane 2 & 3 radio buttons overrode the user's selection if a duplicate item was selected. Now we assume that the user knows what he or she is doing and steal duplicate selections from the other panes. Qt: Match the new GTK+ behavior in the layout preferences. Add padding around the layout images. Add toolbar style preferences to the Appearance pane (instead of the layout pane). All: Remove the selection mode and scrollbar placement prefs and mark them obsolete as recently discussed on -dev. Adjust the layout images yet again after more Awful Monitor Testing. svn path=/trunk/; revision=47214
2013-01-21Add an initial layout preference pane. Set SVN properties.Gerald Combs1-1/+1
svn path=/trunk/; revision=47190
2013-01-19Add an "Appearance" (aka "User Interface") preference pane. Having anGerald Combs1-0/+183
"Advanced" pane gives us the luxury of omitting some items in favor of simplicity so do that. svn path=/trunk/; revision=47158