Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Fireworks
Core
interface
CmsShowModelPopup.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_CmsShowModelPopup_h
2
#define Fireworks_Core_CmsShowModelPopup_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : CmsShowModelPopup
7
//
16
//
17
// Original Author:
18
// Created: Fri Jun 27 11:23:31 EDT 2008
19
//
20
21
// system include files
22
#include <set>
23
#include <vector>
24
#ifndef __CINT__
25
#include <sigc++/connection.h>
26
#endif
27
#include "GuiTypes.h"
28
#include "TGFrame.h"
29
30
// user include files
31
#ifndef __CINT__
32
#include "
Fireworks/Core/interface/FWModelChangeSignal.h
"
33
#endif
34
35
// forward declarations
36
class
FWEventItem
;
37
class
FWSelectionManager
;
38
class
FWColorManager
;
39
//class FWModelId;
40
class
FWColorSelect
;
41
class
TGLabel;
42
class
TGTextButton;
43
class
TGTextButton;
44
class
TGHSlider;
45
class
FWDetailViewManager
;
46
class
FWSelectionManager
;
47
class
FWDialogBuilder
;
48
49
class
CmsShowModelPopup
;
50
51
class
CmsShowModelPopup
:
public
TGTransientFrame
52
{
53
54
public
:
55
friend
class
CmsShowModelPopupDetailViewButtonAdapter
;
56
57
CmsShowModelPopup
(
FWDetailViewManager
*,
FWSelectionManager
*,
58
const
FWColorManager
*,
const
TGWindow*
p
= 0,
59
UInt_t
w
= 1, UInt_t
h
= 1);
60
virtual
~CmsShowModelPopup
();
61
62
virtual
void
CloseWindow
() { UnmapWindow(); }
63
// ---------- const member functions ---------------------
64
65
// ---------- static member functions --------------------
66
67
// ---------- member functions ---------------------------
68
void
fillModelPopup
(
const
FWSelectionManager
& iSelMgr);
69
void
updateDisplay
();
70
void
colorSetChanged
();
71
void
disconnectAll
();
72
void
changeModelColor
(Color_t iColor);
73
void
changeModelOpacity
(Int_t opacity = 100);
74
void
toggleModelVisible
(Bool_t on = kTRUE);
75
void
openDetailedView
();
76
77
void
clicked
();
78
79
ClassDef
(
CmsShowModelPopup
, 0);
80
81
private
:
82
CmsShowModelPopup
(
const
CmsShowModelPopup
&);
// stop default
83
84
const
CmsShowModelPopup
&
operator=
(
const
CmsShowModelPopup
&);
// stop default
85
86
87
// ---------- member data --------------------------------
88
TGLabel*
m_modelLabel
;
89
FWColorSelect
*
m_colorSelectWidget
;
90
TGCheckButton*
m_isVisibleButton
;
91
std::vector<TGTextButton*>
m_openDetailedViewButtons
;
92
93
#ifndef __CINT__
94
std::set<FWModelId>
m_models
;
95
sigc::connection
m_modelChangedConn
;
96
sigc::connection
m_destroyedConn
;
97
sigc::connection
m_changes
;
98
#endif
99
FWDetailViewManager
*
m_detailViewManager
;
100
const
FWColorManager
*
m_colorManager
;
101
TGHSlider *
m_opacitySlider
;
102
FWDialogBuilder
*
m_dialogBuilder
;
103
};
104
105
106
#endif
CmsShowModelPopup::~CmsShowModelPopup
virtual ~CmsShowModelPopup()
Definition:
CmsShowModelPopup.cc:106
FWModelChangeSignal.h
CmsShowModelPopup::m_destroyedConn
sigc::connection m_destroyedConn
Definition:
CmsShowModelPopup.h:96
w
const double w
Definition:
UKUtility.cc:23
CmsShowModelPopup::changeModelColor
void changeModelColor(Color_t iColor)
Definition:
CmsShowModelPopup.cc:310
CmsShowModelPopup::ClassDef
ClassDef(CmsShowModelPopup, 0)
CmsShowModelPopup::toggleModelVisible
void toggleModelVisible(Bool_t on=kTRUE)
Definition:
CmsShowModelPopup.cc:348
FWSelectionManager
Definition:
FWSelectionManager.h:34
CmsShowModelPopup::updateDisplay
void updateDisplay()
Definition:
CmsShowModelPopup.cc:244
CmsShowModelPopup::m_changes
sigc::connection m_changes
Definition:
CmsShowModelPopup.h:97
CmsShowModelPopup::m_modelChangedConn
sigc::connection m_modelChangedConn
Definition:
CmsShowModelPopup.h:95
FWColorSelect
Definition:
FWColorSelect.h:116
CmsShowModelPopup::m_isVisibleButton
TGCheckButton * m_isVisibleButton
Definition:
CmsShowModelPopup.h:90
CmsShowModelPopup::m_modelLabel
TGLabel * m_modelLabel
Definition:
CmsShowModelPopup.h:88
CmsShowModelPopup::m_models
std::set< FWModelId > m_models
Definition:
CmsShowModelPopup.h:94
FWDialogBuilder
Definition:
FWDialogBuilder.h:93
CmsShowModelPopup::CmsShowModelPopupDetailViewButtonAdapter
friend class CmsShowModelPopupDetailViewButtonAdapter
Definition:
CmsShowModelPopup.h:55
CmsShowModelPopup::clicked
void clicked()
Definition:
CmsShowModelPopup.cc:371
CmsShowModelPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowModelPopup.cc:264
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
CmsShowModelPopup::changeModelOpacity
void changeModelOpacity(Int_t opacity=100)
Definition:
CmsShowModelPopup.cc:329
CmsShowModelPopup::CmsShowModelPopup
CmsShowModelPopup(FWDetailViewManager *, FWSelectionManager *, const FWColorManager *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
Definition:
CmsShowModelPopup.cc:54
FWEventItem
Definition:
FWEventItem.h:56
CmsShowModelPopup::m_colorManager
const FWColorManager * m_colorManager
Definition:
CmsShowModelPopup.h:100
CmsShowModelPopup::openDetailedView
void openDetailedView()
Definition:
CmsShowModelPopup.cc:363
CmsShowModelPopup
Definition:
CmsShowModelPopup.h:51
FWDetailViewManager
Definition:
FWDetailViewManager.h:29
CmsShowModelPopup::m_openDetailedViewButtons
std::vector< TGTextButton * > m_openDetailedViewButtons
Definition:
CmsShowModelPopup.h:91
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
CmsShowModelPopup::m_dialogBuilder
FWDialogBuilder * m_dialogBuilder
Definition:
CmsShowModelPopup.h:102
CmsShowModelPopup::operator=
const CmsShowModelPopup & operator=(const CmsShowModelPopup &)
CmsShowModelPopup::m_detailViewManager
FWDetailViewManager * m_detailViewManager
Definition:
CmsShowModelPopup.h:99
CmsShowModelPopup::fillModelPopup
void fillModelPopup(const FWSelectionManager &iSelMgr)
Definition:
CmsShowModelPopup.cc:135
FWColorManager
Definition:
FWColorManager.h:44
CmsShowModelPopup::disconnectAll
void disconnectAll()
Definition:
CmsShowModelPopup.cc:279
CmsShowModelPopup::m_opacitySlider
TGHSlider * m_opacitySlider
Definition:
CmsShowModelPopup.h:101
CmsShowModelPopup::m_colorSelectWidget
FWColorSelect * m_colorSelectWidget
Definition:
CmsShowModelPopup.h:89
CmsShowModelPopup::CloseWindow
virtual void CloseWindow()
Definition:
CmsShowModelPopup.h:62
Generated for CMSSW Reference Manual by
1.8.5