X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.h;fp=pv%2Fview%2Fview.h;h=8664ba8de28a368257b88836b09a69559f9a2066;hp=eb60ab1a7735d9f3e51e2f96f00928fa5445b4da;hb=448a72cf7f0225eace2335ec05b979c4e9a6b882;hpb=7ff0145fbf19de010232ea5edadea5df6c28ed8e diff --git a/pv/view/view.h b/pv/view/view.h index eb60ab1a..8664ba8d 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -25,6 +25,7 @@ #include #include +#include #include #include @@ -195,6 +196,17 @@ private: */ QRectF label_rect(int right); + static bool add_channels_to_owner( + const std::vector< std::shared_ptr > &channels, + RowItemOwner *owner, int &offset, + std::unordered_map, + std::shared_ptr > &signal_map, + std::function)> filter_func = + std::function)>()); + + static void apply_offset( + std::shared_ptr row_item, int &offset); + private: bool eventFilter(QObject *object, QEvent *event);