ATLAS Offline Software
VP1DockWidget.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Header file for class VP1DockWidget //
8 // //
9 // Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10 // //
11 // Initial version: April 2007 //
12 // //
14 
15 #ifndef VP1DOCKWIDGET_H
16 #define VP1DOCKWIDGET_H
17 
18 #include <QDockWidget>
19 
20 class IVP1ChannelWidget;
21 class VP1TabManager;
22 class QResizeEvent;
23 
24 class VP1DockWidget : public QDockWidget {
25 
26  Q_OBJECT
27 
28 public:
29 
31  virtual ~VP1DockWidget();
32 
33  void setSelected();
34  void setUnselected();
35  bool isSelected() const;
36 
38 
39  //For dropping in and out of fullscreen:
40  void ensureCWHasNoParent();
41  void ensureCWHasParent();
42 
43  static QString highlightStyle();//Here so that other parts of the gui can use the same style for highlighting.
44 
45 signals:
47 private Q_SLOTS:
48  void systemRefreshInfoChanged(const QString& sysrefreshing, int nsysOn, int nsysOnRefreshed);
49  void updateTitle();
50 protected:
51  void contextMenuEvent ( QContextMenuEvent * event );
52  void resizeEvent ( QResizeEvent * event );
53 protected:
54  class Imp;
55  Imp * m_d;
56 };
57 
58 #endif
VP1DockWidget::VP1DockWidget
VP1DockWidget(IVP1ChannelWidget *cw, VP1TabManager *tm)
Definition: VP1DockWidget.cxx:127
VP1DockWidget::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event)
Definition: VP1DockWidget.cxx:261
VP1DockWidget::highlightStyle
static QString highlightStyle()
Definition: VP1DockWidget.cxx:121
VP1DockWidget::wasSelected
void wasSelected(VP1DockWidget *)
VP1DockWidget::m_d
Imp * m_d
Definition: VP1DockWidget.h:54
VP1DockWidget::systemRefreshInfoChanged
void systemRefreshInfoChanged(const QString &sysrefreshing, int nsysOn, int nsysOnRefreshed)
Definition: VP1DockWidget.cxx:195
VP1DockWidget::isSelected
bool isSelected() const
Definition: VP1DockWidget.cxx:255
VP1DockWidget::resizeEvent
void resizeEvent(QResizeEvent *event)
Definition: VP1DockWidget.cxx:316
VP1DockWidget
Definition: VP1DockWidget.h:24
VP1DockWidget::updateTitle
void updateTitle()
Definition: VP1DockWidget.cxx:214
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
IVP1ChannelWidget
Definition: IVP1ChannelWidget.h:34
VP1DockWidget::setSelected
void setSelected()
Definition: VP1DockWidget.cxx:223
VP1DockWidget::ensureCWHasNoParent
void ensureCWHasNoParent()
Definition: VP1DockWidget.cxx:164
VP1DockWidget::setUnselected
void setUnselected()
Definition: VP1DockWidget.cxx:236
VP1DockWidget::Imp
Definition: VP1DockWidget.cxx:30
VP1DockWidget::channelWidget
IVP1ChannelWidget * channelWidget() const
Definition: VP1DockWidget.cxx:249
VP1TabManager
Definition: VP1TabManager.h:30
VP1DockWidget::~VP1DockWidget
virtual ~VP1DockWidget()
Definition: VP1DockWidget.cxx:114
VP1DockWidget::ensureCWHasParent
void ensureCWHasParent()
Definition: VP1DockWidget.cxx:177