ATLAS Offline Software
Public Member Functions | Protected Member Functions | List of all members
VP1TextBrowser Class Reference

#include <VP1TextBrowser.h>

Inheritance diagram for VP1TextBrowser:
Collaboration diagram for VP1TextBrowser:

Public Member Functions

 VP1TextBrowser (QWidget *parent=0)
 
virtual ~VP1TextBrowser ()
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *)
 

Detailed Description

Definition at line 10 of file VP1TextBrowser.h.

Constructor & Destructor Documentation

◆ VP1TextBrowser()

VP1TextBrowser::VP1TextBrowser ( QWidget *  parent = 0)

Definition at line 12 of file VP1TextBrowser.cxx.

13  : QTextBrowser(parent)
14 {
15 }

◆ ~VP1TextBrowser()

VP1TextBrowser::~VP1TextBrowser ( )
virtual

Definition at line 18 of file VP1TextBrowser.cxx.

19 {
20 }

Member Function Documentation

◆ contextMenuEvent()

void VP1TextBrowser::contextMenuEvent ( QContextMenuEvent *  e)
protected

Definition at line 23 of file VP1TextBrowser.cxx.

23  {
24  QMenu *menu = createStandardContextMenu();
25  menu->addSeparator();
26  QAction * clearAct = menu->addAction("C&lear all");
27  QAction * zoominAct = menu->addAction("Zoom &in");
28  QAction * zoomoutAct = menu->addAction("Zoom &out");
29 
30  QAction * selAct = menu->exec(e->globalPos());
31  delete menu;
32  if (selAct==clearAct)
33  clear();
34  else if (selAct==zoominAct)
35  zoomIn();
36  else if (selAct==zoomoutAct)
37  zoomOut();
38 
39 }

The documentation for this class was generated from the following files:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
python.TriggerConfig.menu
menu
Definition: TriggerConfig.py:842
menu
make the sidebar many part of the config
Definition: hcg.cxx:551
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VKalVrtAthena::varHolder_detail::clear
void clear(T &var)
Definition: NtupleVars.h:48