ATLAS Offline Software
Private Slots | Private Attributes | Friends | List of all members
VP1ExaminerViewer_SignalCatcher Class Reference

#include <VP1ExaminerViewer.h>

Inheritance diagram for VP1ExaminerViewer_SignalCatcher:
Collaboration diagram for VP1ExaminerViewer_SignalCatcher:

Private Slots

void catchSignal ()
 

Private Attributes

VP1ExaminerViewer::Impm_d
 

Friends

class VP1ExaminerViewer::Imp
 

Detailed Description

Definition at line 135 of file VP1ExaminerViewer.h.

Member Function Documentation

◆ catchSignal

void VP1ExaminerViewer_SignalCatcher::catchSignal ( )
privateslot

Definition at line 1138 of file VP1ExaminerViewer.cxx.

1139 {
1140  if (!sender())
1141  return;
1142  if (sender()==&(m_d->animationSequencer)) {
1143  if (m_d->tourLoopsForever)
1145  return;
1146  }
1147  QPushButton* button = dynamic_cast<QPushButton*>(sender());
1148  if (button) {
1149  if (m_d->detectorbuttons.find(button)!=m_d->detectorbuttons.end())
1150  m_d->detectorZoomButtonClicked(m_d->detectorbuttons.find(button)->second);
1151  else if (button==m_d->takeTourButton)
1153  return;
1154  }
1155  QMenu* menu = dynamic_cast<QMenu*>(sender());
1156  if (menu) {
1158  return;
1159  }
1160  VP1Msg::messageDebug("VP1ExaminerViewer_SignalCatcher::catchSignal ERROR: Received unknown signal");
1161 }

Friends And Related Function Documentation

◆ VP1ExaminerViewer::Imp

friend class VP1ExaminerViewer::Imp
friend

Definition at line 141 of file VP1ExaminerViewer.h.

Member Data Documentation

◆ m_d

VP1ExaminerViewer::Imp* VP1ExaminerViewer_SignalCatcher::m_d
private

Definition at line 140 of file VP1ExaminerViewer.h.


The documentation for this class was generated from the following files:
VP1ExaminerViewer::Imp::detectorbuttons
std::map< QPushButton *, std::pair< REGION, VIEW > > detectorbuttons
Definition: VP1ExaminerViewer.cxx:190
VP1ExaminerViewer::Imp::tourLoopsForever
bool tourLoopsForever
Definition: VP1ExaminerViewer.cxx:283
VP1ExaminerViewer::Imp::takeTourButtonClicked
void takeTourButtonClicked()
Definition: VP1ExaminerViewer.cxx:1267
VP1ExaminerViewer::Imp::detectorZoomButtonClicked
void detectorZoomButtonClicked(std::pair< REGION, VIEW >)
Definition: VP1ExaminerViewer.cxx:1283
AnimationSequencer::startAnimating
void startAnimating(bool skipFirstFrame=false)
Definition: AnimationSequencer.cxx:83
VP1ExaminerViewer_SignalCatcher::m_d
VP1ExaminerViewer::Imp * m_d
Definition: VP1ExaminerViewer.h:140
VP1ExaminerViewer::Imp::takeTourButton
QPushButton * takeTourButton
Definition: VP1ExaminerViewer.cxx:191
menu
make the sidebar many part of the config
Definition: hcg.cxx:551
VP1ExaminerViewer::Imp::aboutToShowMenu
void aboutToShowMenu(QMenu *)
Definition: VP1ExaminerViewer.cxx:2147
VP1Msg::messageDebug
static void messageDebug(const QString &)
Definition: VP1Msg.cxx:39
VP1ExaminerViewer::Imp::tourLoopsForeverSkipFirstFrame
bool tourLoopsForeverSkipFirstFrame
Definition: VP1ExaminerViewer.cxx:284
VP1ExaminerViewer::Imp::animationSequencer
AnimationSequencer animationSequencer
Definition: VP1ExaminerViewer.cxx:282