Vuo  2.0.2
VuoPopover.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
15 class VuoPopover : public QWidget
16 {
17  Q_OBJECT
18 public:
19  explicit VuoPopover(QWidget *parent = 0);
20  static void * getWindowForPopover(QWidget *popoverWidget);
21  static void setWindowLevelAndVisibility(bool top, QWidget *popoverWidget);
22  static void setWindowLevel(bool top, QWidget *popoverWidget);
23 
24 protected:
26  static void setWindowLevelForNextUpdate(bool top, QWidget *popoverWidget);
27  QPainterPath getPopoverPath(Qt::AnchorPoint arrowSide, int arrowPixelsFromTopOrLeft);
28  QMargins getPopoverContentsMargins(Qt::AnchorPoint arrowSide);
29 };