X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Ftracegroup.h;h=21298dcb01e4d10f09423289a2a98f4ba0cb8ad7;hb=0dda6fe595932b2e340930104fad8ac4fc574895;hp=297afa82eaec28c1002bc79cbbd33a4ee47466e4;hpb=722930c167711a4b59b4f4d5a9bab20d88b3f535;p=pulseview.git diff --git a/pv/view/tracegroup.h b/pv/view/tracegroup.h index 297afa82..21298dcb 100644 --- a/pv/view/tracegroup.h +++ b/pv/view/tracegroup.h @@ -31,6 +31,10 @@ class TraceGroup : public RowItem, public RowItemOwner { Q_OBJECT +private: + static const int Padding; + static const int Width; + public: /** * Virtual destructor @@ -77,7 +81,7 @@ public: * area. * @return Returns the rectangle of the signal label. */ - QRectF label_rect(int right); + QRectF label_rect(int right) const; /** * Determines if a point is in the header label rect.