#include <GfxCfg.h>
Inheritance diagram for GfxCfg:

Public Member Functions | |
| GfxCfg () | |
| virtual | ~GfxCfg () |
| virtual void | Config () |
| virtual void | GuiConfig () |
| virtual const Registry & | GetPossibles () |
| void | SetPossibles (const Registry ®) |
| GfxCfg () | |
| virtual | ~GfxCfg () |
| virtual void | Config () |
| virtual void | GuiConfig () |
| virtual const Registry & | GetPossibles () |
| void | SetPossibles (const Registry ®) |
Public Attributes | |
| SigC::Signal0< void > | modified_signal |
| SigC::Signal0< void > | modified_signal |
Private Member Functions | |
| GfxCfg (const GfxCfg &rhs) | |
| GfxCfg & | operator= (const GfxCfg &rhs) |
| GfxCfg (const GfxCfg &rhs) | |
| GfxCfg & | operator= (const GfxCfg &rhs) |
Private Attributes | |
| Registry | fPossibles |
Contact: bv@bnl.gov
Created on: Mon Nov 18 10:57:54 2002
Definition at line 25 of file EventDisplay/GfxCfg.h.
|
|
Definition at line 9 of file EventDisplay/GfxCfg.cxx. 00010 {
00011 }
|
|
|
Definition at line 13 of file EventDisplay/GfxCfg.cxx. 00014 {
00015 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements CfgConfigurable. |
|
|
Implements CfgConfigurable. Definition at line 17 of file EventDisplay/GfxCfg.cxx. References modified_signal. 00018 {
00019 // cerr << "GfxCfg::Config()\n";
00020 this->modified_signal.emit();
00021 }
|
|
|
|
|
|
Definition at line 24 of file EventDisplay/GfxCfg.cxx. 00025 {
00026 return fPossibles;
00027 }
|
|
|
|
|
|
Definition at line 41 of file EventDisplay/GfxCfg.cxx. References GuiCompositeFrameBase::Add(), apply_reg_gui(), GuiButtonBase::clicked, GuiBase::SetLayoutHints(), RegistryGui::SetPossibles(), and RegistryGui::SetRegistry(). Referenced by GfxStrip::ConfigGui(), and GfxDigit::ConfigGui(). 00042 {
00043 GuiMainWindow* mw = new GuiMainWindow(100,300);
00044
00045 RegistryGui* rg = manage(new RegistryGui(*mw));
00046 mw->Add(*rg);
00047
00048 GuiBox* box = manage(new GuiBox(*mw,kHorizontalFrame));
00049 box->SetLayoutHints(kLHintsExpandX);
00050 mw->Add(*box);
00051
00052 GuiTextButton* apply = manage(new GuiTextButton(*box,"Apply"));
00053 box->Add(*apply);
00054 apply->clicked.connect(bind(slot(apply_reg_gui),this,rg));
00055
00056 GuiTextButton* okay = manage(new GuiTextButton(*box,"Okay"));
00057 box->Add(*okay);
00058 okay->clicked.connect(bind(slot(apply_reg_gui),this,rg));
00059 okay->clicked.connect(slot(*mw,&GuiMainWindow::SendCloseMessage));
00060
00061 GuiTextButton* cancel = manage(new GuiTextButton(*box,"Cancel"));
00062 box->Add(*cancel);
00063 cancel->clicked.connect(slot(*mw,&GuiMainWindow::SendCloseMessage));
00064
00065 rg->SetRegistry(this->GetConfig());
00066 rg->SetPossibles(this->GetPossibles());
00067
00068 mw->ShowAll();
00069 mw->ConnectClose(true);
00070 mw->Resize(mw->GetDefaultWidth(),mw->GetDefaultHeight());
00071
00072 }
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 29 of file EventDisplay/GfxCfg.cxx. References fPossibles. Referenced by GfxDigitListCfg::GfxDigitListCfg(), and GfxStripListCfg::GfxStripListCfg(). 00030 {
00031 fPossibles = reg;
00032 }
|
|
|
Definition at line 54 of file Midad/MultiPage/GfxCfg.h. Referenced by SetPossibles(). |
|
|
Definition at line 46 of file Midad/MultiPage/GfxCfg.h. |
|
|
Definition at line 46 of file EventDisplay/GfxCfg.h. Referenced by MultiPage::AddGfx(), Config(), GfxDigitList::GfxDigitList(), GfxMCVecList::GfxMCVecList(), GfxShowerList::GfxShowerList(), GfxStripList::GfxStripList(), and GfxTrackList::GfxTrackList(). |
1.3.9.1