8#include <display/BrowsableWrapper.h>
10#include <framework/logging/Logger.h>
12#include <TVirtualPad.h>
21 B2ERROR(
"Trying to browse invalid object!");
26 gPad->Connect(
"Closed()",
"Belle2::BrowsableWrapper",
this,
"padClosed()");
33 TVirtualPad* pad =
dynamic_cast<TVirtualPad*
>(
static_cast<TQObject*
>(gTQSender));
35 B2ERROR(
"Sender is not a pad?");
39 B2WARNING(
"TODO remove - deleting pad");
virtual void Browse(TBrowser *b)
Reimplementation to store additional info on current state.
void padClosed()
Slot to remove associated pad from central map.
TObject * m_wrapped
wrapped object.
static std::map< TVirtualPad *, std::string > s_pads
TPad -> name of drawn object.
Abstract base class for different kinds of events.