Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: CmsShowModelPopup.h,v 1.19 2010/11/11 19:45:49 amraktad Exp $
20
//
21
22
// system include files
23
#include <set>
24
#include <vector>
25
#ifndef __CINT__
26
#include <sigc++/connection.h>
27
#endif
28
#include "GuiTypes.h"
29
#include "TGFrame.h"
30
31
// user include files
32
#ifndef __CINT__
33
#include "
Fireworks/Core/interface/FWModelChangeSignal.h
"
34
#endif
35
36
// forward declarations
37
class
FWEventItem
;
38
class
FWSelectionManager
;
39
class
FWColorManager
;
40
//class FWModelId;
41
class
FWColorSelect
;
42
class
TGLabel;
43
class
TGTextButton;
44
class
TGTextButton;
45
class
TGHSlider;
46
class
FWDetailViewManager
;
47
class
FWSelectionManager
;
48
class
FWDialogBuilder
;
49
50
class
CmsShowModelPopup
;
51
52
class
CmsShowModelPopup
:
public
TGTransientFrame
53
{
54
55
public
:
56
friend
class
CmsShowModelPopupDetailViewButtonAdapter
;
57
58
CmsShowModelPopup
(
FWDetailViewManager
*,
FWSelectionManager
*,
59
const
FWColorManager
*,
const
TGWindow*
p
= 0,
60
UInt_t
w
= 1,
UInt_t
h
= 1);
61
virtual
~CmsShowModelPopup
();
62
63
virtual
void
CloseWindow
() { UnmapWindow(); }
64
// ---------- const member functions ---------------------
65
66
// ---------- static member functions --------------------
67
68
// ---------- member functions ---------------------------
69
void
fillModelPopup
(
const
FWSelectionManager
& iSelMgr);
70
void
updateDisplay
();
71
void
colorSetChanged
();
72
void
disconnectAll
();
73
void
changeModelColor
(Color_t iColor);
74
void
changeModelOpacity
(Int_t opacity = 100);
75
void
toggleModelVisible
(Bool_t on = kTRUE);
76
void
openDetailedView
();
77
78
void
clicked
();
79
80
ClassDef
(
CmsShowModelPopup
, 0);
81
82
private
:
83
CmsShowModelPopup
(
const
CmsShowModelPopup
&);
// stop default
84
85
const
CmsShowModelPopup
&
operator=
(
const
CmsShowModelPopup
&);
// stop default
86
87
88
// ---------- member data --------------------------------
89
TGLabel*
m_modelLabel
;
90
FWColorSelect
*
m_colorSelectWidget
;
91
TGCheckButton*
m_isVisibleButton
;
92
std::vector<TGTextButton*>
m_openDetailedViewButtons
;
93
94
#ifndef __CINT__
95
std::set<FWModelId>
m_models
;
96
sigc::connection
m_modelChangedConn
;
97
sigc::connection
m_destroyedConn
;
98
sigc::connection
m_changes
;
99
#endif
100
FWDetailViewManager
*
m_detailViewManager
;
101
const
FWColorManager
*
m_colorManager
;
102
TGHSlider *
m_opacitySlider
;
103
FWDialogBuilder
*
m_dialogBuilder
;
104
};
105
106
107
#endif
CmsShowModelPopup::~CmsShowModelPopup
virtual ~CmsShowModelPopup()
Definition:
CmsShowModelPopup.cc:107
FWModelChangeSignal.h
CmsShowModelPopup::m_destroyedConn
sigc::connection m_destroyedConn
Definition:
CmsShowModelPopup.h:97
CmsShowModelPopup::changeModelColor
void changeModelColor(Color_t iColor)
Definition:
CmsShowModelPopup.cc:311
CmsShowModelPopup::ClassDef
ClassDef(CmsShowModelPopup, 0)
CmsShowModelPopup::toggleModelVisible
void toggleModelVisible(Bool_t on=kTRUE)
Definition:
CmsShowModelPopup.cc:349
FWSelectionManager
Definition:
FWSelectionManager.h:35
CmsShowModelPopup::updateDisplay
void updateDisplay()
Definition:
CmsShowModelPopup.cc:245
CmsShowModelPopup::m_changes
sigc::connection m_changes
Definition:
CmsShowModelPopup.h:98
CmsShowModelPopup::m_modelChangedConn
sigc::connection m_modelChangedConn
Definition:
CmsShowModelPopup.h:96
FWColorSelect
Definition:
FWColorSelect.h:116
CmsShowModelPopup::m_isVisibleButton
TGCheckButton * m_isVisibleButton
Definition:
CmsShowModelPopup.h:91
CmsShowModelPopup::m_modelLabel
TGLabel * m_modelLabel
Definition:
CmsShowModelPopup.h:89
CmsShowModelPopup::m_models
std::set< FWModelId > m_models
Definition:
CmsShowModelPopup.h:95
FWDialogBuilder
Definition:
FWDialogBuilder.h:93
CmsShowModelPopup::CmsShowModelPopupDetailViewButtonAdapter
friend class CmsShowModelPopupDetailViewButtonAdapter
Definition:
CmsShowModelPopup.h:56
CmsShowModelPopup::clicked
void clicked()
Definition:
CmsShowModelPopup.cc:372
CmsShowModelPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowModelPopup.cc:265
CmsShowModelPopup::changeModelOpacity
void changeModelOpacity(Int_t opacity=100)
Definition:
CmsShowModelPopup.cc:330
CmsShowModelPopup::CmsShowModelPopup
CmsShowModelPopup(FWDetailViewManager *, FWSelectionManager *, const FWColorManager *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
Definition:
CmsShowModelPopup.cc:55
FWEventItem
Definition:
FWEventItem.h:57
CmsShowModelPopup::m_colorManager
const FWColorManager * m_colorManager
Definition:
CmsShowModelPopup.h:101
evf::UInt_t
unsigned int UInt_t
Definition:
FUTypes.h:12
CmsShowModelPopup::openDetailedView
void openDetailedView()
Definition:
CmsShowModelPopup.cc:364
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
Definition:
CmsShowModelPopup.h:52
FWDetailViewManager
Definition:
FWDetailViewManager.h:30
CmsShowModelPopup::m_openDetailedViewButtons
std::vector< TGTextButton * > m_openDetailedViewButtons
Definition:
CmsShowModelPopup.h:92
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
CmsShowModelPopup::m_dialogBuilder
FWDialogBuilder * m_dialogBuilder
Definition:
CmsShowModelPopup.h:103
CmsShowModelPopup::operator=
const CmsShowModelPopup & operator=(const CmsShowModelPopup &)
CmsShowModelPopup::m_detailViewManager
FWDetailViewManager * m_detailViewManager
Definition:
CmsShowModelPopup.h:100
CmsShowModelPopup::fillModelPopup
void fillModelPopup(const FWSelectionManager &iSelMgr)
Definition:
CmsShowModelPopup.cc:136
FWColorManager
Definition:
FWColorManager.h:45
w
T w() const
Definition:
extBasic3DVector.h:245
CmsShowModelPopup::disconnectAll
void disconnectAll()
Definition:
CmsShowModelPopup.cc:280
CmsShowModelPopup::m_opacitySlider
TGHSlider * m_opacitySlider
Definition:
CmsShowModelPopup.h:102
CmsShowModelPopup::m_colorSelectWidget
FWColorSelect * m_colorSelectWidget
Definition:
CmsShowModelPopup.h:90
CmsShowModelPopup::CloseWindow
virtual void CloseWindow()
Definition:
CmsShowModelPopup.h:63
Generated for CMSSW Reference Manual by
1.8.5