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

Public Types | |
| typedef std::map< std::string, GuiTextEntry * > | EntryMap_t |
| typedef std::map< std::string, GuiBox * > | BoxMap_t |
Public Member Functions | |
| GuiMultiEntry (TGWindow &parent) | |
| virtual | ~GuiMultiEntry () |
| GuiTextEntry & | AddEntry (std::string label, std::string init_value="") |
| EntryMap_t | GetEntries () |
| BoxMap_t | GetBoxes () |
Private Member Functions | |
| GuiMultiEntry (const GuiMultiEntry &rhs) | |
| GuiMultiEntry & | operator= (const GuiMultiEntry &rhs) |
Private Attributes | |
| EntryMap_t | fEntryMap |
| BoxMap_t | fBoxMap |
Midad/Gui
Contact: bv@bnl.gov
Created on: Tue Nov 12 14:04:27 2002
Definition at line 26 of file GuiMultiEntry.h.
|
|
Definition at line 40 of file GuiMultiEntry.h. Referenced by GetBoxes(). |
|
|
Definition at line 37 of file GuiMultiEntry.h. Referenced by GetEntries(). |
|
|
Definition at line 8 of file GuiMultiEntry.cxx. 00009 :GuiBox(parent,kVerticalFrame) 00010 { 00011 }
|
|
|
Definition at line 13 of file GuiMultiEntry.cxx. 00014 {
00015 }
|
|
|
|
|
||||||||||||
|
Definition at line 17 of file GuiMultiEntry.cxx. References GuiCompositeFrameBase::Add(), fBoxMap, fEntryMap, GuiBase::GetMainWindow(), GuiBox::GuiBox(), and GuiMainWindow::ShowAll(). Referenced by add_entry(), and RegistryGui::SetRegistry(). 00018 {
00019 GuiBox* box = manage(new GuiBox(*this,kHorizontalFrame));
00020 this->Add(*box);
00021
00022 GuiLabel* glabel = manage(new GuiLabel(*box,label.c_str()));
00023 box->Add(*glabel);
00024
00025 GuiTextEntry* te = manage(new GuiTextEntry(*box,init_entry.c_str()));
00026 box->Add(*te);
00027
00028 this->GetMainWindow()->ShowAll();
00029 this->GetMainWindow()->Layout();
00030
00031 fEntryMap[label] = te;
00032 fBoxMap[label] = box;
00033 return *te;
00034 }
|
|
|
Definition at line 41 of file GuiMultiEntry.cxx. References BoxMap_t. Referenced by RegistryGui::SetPossiblesMenu(). 00042 {
00043 return fBoxMap;
00044 }
|
|
|
Definition at line 36 of file GuiMultiEntry.cxx. References EntryMap_t. Referenced by RegistryGui::GetRegistry(), RegistryGui::SetPossibles(), and RegistryGui::SetPossiblesMenu(). 00037 {
00038 return fEntryMap;
00039 }
|
|
|
|
|
|
Definition at line 50 of file GuiMultiEntry.h. Referenced by AddEntry(). |
|
|
Definition at line 49 of file GuiMultiEntry.h. Referenced by AddEntry(). |
1.3.9.1