summaryrefslogtreecommitdiff
path: root/ui/qt/color_utils.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-04 16:36:19 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-07 00:30:30 +0000
commitc8cad99515eeac25faf6ea84795ce6b5fa4afebb (patch)
treeec72051d71ac3caf9331690a6f34d6255a876576 /ui/qt/color_utils.h
parentb3f3dd8d82d9b651f34886a3293056c612958aa2 (diff)
downloadwireshark-c8cad99515eeac25faf6ea84795ce6b5fa4afebb.tar.gz
Qt: Add the Coloring Rules dialog.
Merge in the old ColorDialog which was a placeholder for color_filter_add_cb. Change-Id: I48d188509f480b8514122b4011ac9d8790fcca10 Reviewed-on: https://code.wireshark.org/review/6996 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/color_utils.h')
-rw-r--r--ui/qt/color_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/color_utils.h b/ui/qt/color_utils.h
index abbd4497a2..aa74adcfaf 100644
--- a/ui/qt/color_utils.h
+++ b/ui/qt/color_utils.h
@@ -40,6 +40,7 @@ public:
static QColor fromColorT(color_t *color);
static QColor fromColorT(color_t color);
+ static const color_t toColorT(const QColor color);
static QRgb alphaBlend(const QColor &color1, const QColor &color2, qreal alpha);
static QRgb alphaBlend(const QBrush &brush1, const QBrush &brush2, qreal alpha);