aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/layout_preferences_frame.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-02-18 13:30:06 +0100
committerMichal Labedzki <michal.labedzki@tieto.com>2015-07-20 21:21:28 +0000
commit1e487664bc2a902dbfd8d2d3ef9ddcd09a4b3d12 (patch)
tree98e7d8e8ae2724be9f0ce966012292eab2d90b25 /ui/qt/layout_preferences_frame.h
parent7e13cacb9b589662a1f748c362a70e753ae4a9db (diff)
Qt: Add option to back white line separator for packet list items
This uses one line (on bottom) of items and makes it white. Seen in Wireshark on some configurations of GTK 2 on Linux, so backports it to Qt for people who like it. In my opinion it helps if you use packet list background colors for frames and you have a lot of following frames with the same background color. Bug: 10954 Change-Id: Id8f58520d7224db4eb8181bcc04febd7416a8578 Reviewed-on: https://code.wireshark.org/review/7293 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'ui/qt/layout_preferences_frame.h')
-rw-r--r--ui/qt/layout_preferences_frame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/layout_preferences_frame.h b/ui/qt/layout_preferences_frame.h
index cc04b5dab3..5fe260df6d 100644
--- a/ui/qt/layout_preferences_frame.h
+++ b/ui/qt/layout_preferences_frame.h
@@ -49,6 +49,7 @@ private:
pref_t *pref_layout_content_1_;
pref_t *pref_layout_content_2_;
pref_t *pref_layout_content_3_;
+ pref_t *pref_packet_list_separator_;
void updateWidgets();
@@ -72,6 +73,7 @@ private slots:
void on_pane3PacketBytesRadioButton_toggled(bool checked);
void on_pane3NoneRadioButton_toggled(bool checked);
void on_restoreButtonBox_clicked(QAbstractButton *button);
+ void on_packetListSeparatorCheckBox_toggled(bool checked);
};