MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrAnnotationSliderBar.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrAnnotationSliderBar_H_
11 #define lgrAnnotationSliderBar_H_
12 
13 #include <lgrAnnotations/lgrAnn.h>
14 #include <lgrGui/sliderBar.h>
15 
16 class QFont;
17 class QPainter;
18 class QRectF;
19 
20 namespace MAKLogger
21 {
22 
23  class DtLgrAnnotation;
24 
27  {
28  public:
30  virtual ~DtLgrAnnotationSliderBar();
31 
32  private:
37  public:
38 
40  DtLgrAnnotation* annotation();
42  const DtLgrAnnotation* annotation() const;
44 
47  virtual void drawBar(QPainter& painter,const QRectF& viewport,
48  bool hovered,bool hasFocus);
49 
52  virtual int minPixelWidth(const QFont& font) const;
53 
55  virtual QRectF hitRect(const QRectF& viewport,const QFont& font) const;
56 
57  protected:
60  QColor drawStateFrame(QPainter& painter,const QRectF& rect,
61  bool hovered,bool hasFocus) const;
62 
65  int colorStripeWidth() const;
66 
68  static QFont timeFont(const QFont& uiFont);
69 
71  };
72 }
73 
74 #endif
Used to manage a bar between a start and an end of a slider bar.
Definition: sliderBar.h:25
DtLgrAnnotation * myAnnotation
Definition: lgrAnnotationSliderBar.h:70
Contains MAKLogger::DtSliderBar class.
Defines INPORT/EXPORT macros for lgrGui library.
Annotation slider bar class.
Definition: lgrAnnotationSliderBar.h:26
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:31
#define DT_DLL_LGRANN
Definition: lgrAnn.h:19

Document ID: Generated on Tue Nov 17 15:25:07 EST 2026 from SVN revision 298446
Copyright © 2026 MAK Technologies. All Rights Reserved (www.mak.com)