#include <XSReactionDlg.h>
Inheritance diagram for XSReactionDlg:
Definition at line 25 of file XSReactionDlg.h.
XSReactionDlg::XSReactionDlg | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
UInt_t | initZ, | |||
UInt_t | w, | |||
UInt_t | h | |||
) |
Definition at line 70 of file XSReactionDlg.cxx.
References TGCompositeFrame::AddFrame(), XSStepButton::Associate(), TGWidget::Associate(), blueBoldGC, boilingPtLbl, boilingValLbl, buttonFrame, TGFrame::ChangeBackground(), chargeLbl, closeButton, DATABASE_COMBO, databaseCombo, databaseLbl, densityLbl, densityValLbl, elementBuf, elementLbl, elementStep, elementText, ERRORBAR_COLOR_COMBO, errorbarColorCombo, errorbarColorLbl, execButton, TGObject::fClient, TGFrame::fHeight, frm1, frm2, frm3, frm4, frm5, TGFrame::fWidth, TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), TGClient::GetPicture(), gVirtualX, infoGroup, infoView, InitCombos(), ISOTOPE_COMBO, isotopeCombo, isotopeInfoLbl, isotopeInfoValLbl, isotopeLbl, kChildFrame, kFitHeight, kFitWidth, kFixedWidth, kLHintsBottom, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kSunkenFrame, kTextCenterY, kTextLeft, kTextRight, kVerticalFrame, LastWinX, LastWinY, lHBot, lHExpX, lHExpXCen, lHExpXY, lHExpY, lHFixed, lHFixedCen, LINE_COLOR_COMBO, LINE_WIDTH_COMBO, lineColorCombo, lineColorLbl, lineWidthCombo, lineWidthLbl, main(), mainWindow, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), MARKER_COLOR_COMBO, MARKER_SIZE_COMBO, MARKER_STYLE_COMBO, markerColorCombo, markerColorLbl, markerSizeCombo, markerSizeLbl, markerStyleCombo, markerStyleLbl, massLbl, massValLbl, materialGroup, MAX, meltingPtLbl, meltingValLbl, TGFrame::Move(), nameLbl, okButton, optionGroup, oxidationLbl, oxidationValLbl, PROJECTILE_COMBO, projectileCombo, projectileLbl, ptableButton, PTBL_ICON, REAC_CLOSE, REAC_ELEMENT_STEP, REAC_EXEC, REAC_OK, REAC_PTABLE, REAC_RESET, REACTION_LISTBOX, reactionGroup, reactionInfoLbl, reactionInfoValLbl, reactionLbl, reactionList, resetButton, TGListBox::Resize(), TGFrame::Resize(), SetElement(), TGCompositeFrame::SetLayoutManager(), TGLabel::SetTextJustify(), TGButton::SetToolTipText(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMPosition(), TEMPERATURE_COMBO, temperatureCombo, temperatureLbl, TGCompositeFrame::TGCompositeFrame(), Vfrm1, Vfrm2, Vfrm3, and zLbl.
XSReactionDlg::~XSReactionDlg | ( | ) |
Definition at line 409 of file XSReactionDlg.cxx.
References boilingPtLbl, boilingValLbl, buttonFrame, chargeLbl, closeButton, databaseCombo, databaseLbl, densityLbl, densityValLbl, elementLbl, elementStep, elementText, errorbarColorCombo, errorbarColorLbl, execButton, frm1, frm2, frm3, frm4, frm5, infoGroup, infoView, isotopeCombo, isotopeInfoLbl, isotopeInfoValLbl, isotopeLbl, lHExpX, lHExpXCen, lHExpXY, lHExpY, lHFixed, lHFixedCen, lineColorCombo, lineColorLbl, lineWidthCombo, lineWidthLbl, markerColorCombo, markerColorLbl, markerSizeCombo, markerSizeLbl, markerStyleCombo, markerStyleLbl, massLbl, massValLbl, materialGroup, meltingPtLbl, meltingValLbl, nameLbl, okButton, optionGroup, oxidationLbl, oxidationValLbl, projectileCombo, projectileLbl, ptableButton, reactionGroup, reactionInfoLbl, reactionInfoValLbl, reactionLbl, reactionList, resetButton, temperatureCombo, temperatureLbl, Vfrm1, Vfrm2, Vfrm3, and zLbl.
void XSReactionDlg::InitColorCombo | ( | TGComboBox * | cb | ) | [protected] |
Definition at line 498 of file XSReactionDlg.cxx.
References TGComboBox::AddEntry(), and TGComboBox::Select().
Referenced by InitCombos().
void XSReactionDlg::InitCombos | ( | ) | [protected] |
Definition at line 515 of file XSReactionDlg.cxx.
References TGComboBox::AddEntry(), errorbarColorCombo, InitColorCombo(), lineColorCombo, lineWidthCombo, markerColorCombo, markerSizeCombo, markerStyleCombo, and TGComboBox::Select().
Referenced by XSReactionDlg().
const char * XSReactionDlg::GetString | ( | int | box | ) | [protected] |
Definition at line 570 of file XSReactionDlg.cxx.
References DATABASE_COMBO, databaseCombo, entry, ERRORBAR_COLOR_COMBO, errorbarColorCombo, TGListBox::GetSelectedEntry(), TGComboBox::GetSelectedEntry(), ISOTOPE_COMBO, isotopeCombo, LINE_COLOR_COMBO, LINE_WIDTH_COMBO, lineColorCombo, lineWidthCombo, MARKER_COLOR_COMBO, MARKER_SIZE_COMBO, MARKER_STYLE_COMBO, markerColorCombo, markerSizeCombo, markerStyleCombo, NULL, PROJECTILE_COMBO, projectileCombo, REACTION_LISTBOX, reactionList, TEMPERATURE_COMBO, and temperatureCombo.
Referenced by CreatePath(), ExecCommand(), UpdateCurIsotope(), and UpdateGraph().
char * XSReactionDlg::CreatePath | ( | int | option | ) | [protected] |
Definition at line 628 of file XSReactionDlg.cxx.
References DATABASE_COMBO, DBDIR, GetString(), ISOTOPE_COMBO, XSElements::Mnemonic(), PATHDatabase, PATHIsotope, PATHProjectile, PATHSEP, PROJECTILE_COMBO, strlcat(), strlcpy(), XSelements, and Z.
Referenced by ExecCommand(), UpdateDatabase(), UpdateIsotopes(), UpdateProjectile(), and UpdateReactions().
int XSReactionDlg::UpdateContainer | ( | TGListBox * | lb, | |
char * | path, | |||
int | option | |||
) | [protected] |
Definition at line 658 of file XSReactionDlg.cxx.
References TGListBox::AddEntry(), DIRBoth, DIROnlyDirectories, DIROnlyFiles, entry, FileStat_t::fMode, TSystem::FreeDirectory(), TSystem::GetDirEntry(), TSystem::GetPathInfo(), gSystem, i, kFALSE, kTRUE, NULL, TSystem::OpenDirectory(), R_ISDIR(), TGListBox::RemoveEntries(), strlcat(), and strlcpy().
Referenced by UpdateDatabase(), UpdateIsotopes(), and UpdateProjectile().
void XSReactionDlg::UpdateCurIsotope | ( | ) | [protected] |
Definition at line 788 of file XSReactionDlg.cxx.
References XSElements::Elem(), GetString(), ISOTOPE_COMBO, XSElement::IsotopeInfo(), isotopeInfoValLbl, TGLabel::SetText(), str, UpdateDatabase(), UpdateProjectile(), UpdateReactions(), XSelements, and Z.
Referenced by ProcessCombo(), and SetElement().
void XSReactionDlg::UpdateIsotopes | ( | ) | [protected] |
Definition at line 699 of file XSReactionDlg.cxx.
References CreatePath(), DIROnlyDirectories, TGComboBox::GetListBox(), isotopeCombo, PATHIsotope, TGComboBox::Select(), and UpdateContainer().
Referenced by SetElement().
void XSReactionDlg::UpdateProjectile | ( | ) | [protected] |
Definition at line 711 of file XSReactionDlg.cxx.
References CreatePath(), DIROnlyDirectories, TGComboBox::GetListBox(), PATHProjectile, projectileCombo, TGComboBox::Select(), and UpdateContainer().
Referenced by UpdateCurIsotope().
void XSReactionDlg::UpdateDatabase | ( | ) | [protected] |
Definition at line 723 of file XSReactionDlg.cxx.
References CreatePath(), databaseCombo, DIRBoth, TGComboBox::GetListBox(), PATHDatabase, TGComboBox::Select(), and UpdateContainer().
Referenced by ProcessCombo(), and UpdateCurIsotope().
void XSReactionDlg::UpdateReactions | ( | ) | [protected] |
Definition at line 735 of file XSReactionDlg.cxx.
References TGListBox::AddEntry(), NdbMTDir::Author(), TGTextView::Clear(), CreatePath(), NdbMTDir::DIRMF(), NdbMTDir::DIRMT(), NdbMTDir::DistributionDate(), NdbMTDir::EvaluationDate(), NdbMTDir::GetInfo(), NdbMTReacDesc::GetShort(), i, info, infoView, NdbMTDir::Laboratory(), NdbMTDir::LastRevisionDate(), TGTextView::LoadBuffer(), NdbMTDir::LoadENDF(), TGCompositeFrame::MapSubwindows(), NdbMTDir::MasterEntryDate(), PATHFile, reactionList, NdbMTDir::Reference(), TGListBox::RemoveEntries(), NdbMTDir::Sections(), TGListBox::Select(), NdbMTDir::SymbolName(), and XSReactionDesc.
Referenced by ProcessCombo(), and UpdateCurIsotope().
void XSReactionDlg::SetElement | ( | UInt_t | aZ | ) | [protected] |
Definition at line 807 of file XSReactionDlg.cxx.
References TGComboBox::AddEntry(), TGTextBuffer::AddText(), XSElement::AtomicWeight(), XSElement::BoilingPt(), boilingValLbl, TGTextBuffer::Clear(), XSElement::Density(), densityValLbl, XSElements::Elem(), elementBuf, elementText, TGObject::fClient, XSElements::GetSize(), TGCompositeFrame::Layout(), massValLbl, XSElement::MeltingPt(), meltingValLbl, XSElement::Name(), nameLbl, TGClient::NeedRedraw(), XSElement::Oxidation(), oxidationValLbl, TGComboBox::RemoveEntries(), TGComboBox::Select(), TGLabel::SetText(), snprintf, str, XSElement::Symbol(), temperatureCombo, UpdateCurIsotope(), UpdateIsotopes(), XSelements, Z, and zLbl.
Referenced by ElementEntryChanged(), ProcessButton(), and XSReactionDlg().
void XSReactionDlg::ElementEntryChanged | ( | ) | [protected] |
Definition at line 871 of file XSReactionDlg.cxx.
References elementBuf, TGObject::fClient, XSElements::Find(), TGClient::GetRoot(), TGFrame::GetSize(), TGTextBuffer::GetString(), kMBIconAsterisk, kMBOk, name, retval, SetElement(), snprintf, XSelements, and Z.
Referenced by ProcessMessage().
void XSReactionDlg::UpdateGraph | ( | NdbMTReactionXS * | xs | ) | [protected] |
Definition at line 904 of file XSReactionDlg.cxx.
References Add2GraphList(), canvas, canvasWindow, TString::Data(), NdbMT::Description(), TGraph::Draw(), TGObject::fClient, GetString(), gr, ISOTOPE_COMBO, mainWindow, XSElements::Mnemonic(), TGClient::NeedRedraw(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TGraph::SetTitle(), snprintf, title, TCanvas::Update(), XSelements, and Z.
Referenced by ExecCommand().
Bool_t XSReactionDlg::ExecCommand | ( | ) | [protected] |
Definition at line 936 of file XSReactionDlg.cxx.
References CreatePath(), NdbMTDir::DIRMF(), NdbMTDir::DIRMT(), NdbMTReacDesc::GetShort(), GetString(), i, kFALSE, kTRUE, NdbMTDir::LoadENDF(), PATHFile, REACTION_LISTBOX, NdbMTDir::Sections(), UpdateGraph(), and XSReactionDesc.
Referenced by ProcessButton().
void XSReactionDlg::CloseWindow | ( | ) | [protected, virtual] |
Reimplemented from TGMainFrame.
Definition at line 859 of file XSReactionDlg.cxx.
References TGObject::GetId(), TGWindow::GetParent(), gVirtualX, LastWinX, and LastWinY.
Referenced by ProcessButton().
Definition at line 963 of file XSReactionDlg.cxx.
References CloseWindow(), ExecCommand(), TGObject::fClient, TGClient::GetRoot(), XSElements::GetSize(), kTRUE, REAC_CLOSE, REAC_ELEMENT_STEP, REAC_EXEC, REAC_OK, REAC_PTABLE, REAC_RESET, SetElement(), XSelements, XSSTEPBUTTON_UP, and Z.
Referenced by ProcessMessage().
Definition at line 1012 of file XSReactionDlg.cxx.
References DATABASE_COMBO, ISOTOPE_COMBO, kTRUE, PROJECTILE_COMBO, REACTION_LISTBOX, UpdateCurIsotope(), UpdateDatabase(), and UpdateReactions().
Referenced by ProcessMessage().
Bool_t XSReactionDlg::ProcessMessage | ( | Long_t | msg, | |
Long_t | param1, | |||
Long_t | param2 | |||
) | [protected, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 1045 of file XSReactionDlg.cxx.
References ElementEntryChanged(), GET_MSG(), GET_SUBMSG(), kC_COMMAND, kC_TEXTENTRY, kCM_BUTTON, kCM_COMBOBOX, kTE_ENTER, kTRUE, ProcessButton(), and ProcessCombo().
UInt_t XSReactionDlg::Z [protected] |
Definition at line 29 of file XSReactionDlg.h.
Referenced by CreatePath(), ElementEntryChanged(), ProcessButton(), SetElement(), UpdateCurIsotope(), and UpdateGraph().
const TGWindow* XSReactionDlg::mainWindow [protected] |
TGHorizontalFrame* XSReactionDlg::frm1 [protected] |
TGHorizontalFrame * XSReactionDlg::frm2 [protected] |
TGHorizontalFrame * XSReactionDlg::frm3 [protected] |
TGHorizontalFrame * XSReactionDlg::frm4 [protected] |
TGHorizontalFrame * XSReactionDlg::frm5 [protected] |
TGCompositeFrame* XSReactionDlg::Vfrm1 [protected] |
TGCompositeFrame * XSReactionDlg::Vfrm2 [protected] |
TGCompositeFrame * XSReactionDlg::Vfrm3 [protected] |
TGLayoutHints* XSReactionDlg::lHFixed [protected] |
TGLayoutHints * XSReactionDlg::lHExpX [protected] |
TGLayoutHints * XSReactionDlg::lHExpY [protected] |
TGLayoutHints * XSReactionDlg::lHExpXY [protected] |
TGLayoutHints * XSReactionDlg::lHBot [protected] |
TGLayoutHints * XSReactionDlg::lHExpXCen [protected] |
TGLayoutHints * XSReactionDlg::lHFixedCen [protected] |
TGGroupFrame* XSReactionDlg::materialGroup [protected] |
TGLabel* XSReactionDlg::elementLbl [protected] |
TGTextBuffer* XSReactionDlg::elementBuf [protected] |
Definition at line 55 of file XSReactionDlg.h.
Referenced by ElementEntryChanged(), SetElement(), and XSReactionDlg().
TGTextEntry* XSReactionDlg::elementText [protected] |
Definition at line 56 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
XSStepButton* XSReactionDlg::elementStep [protected] |
TGLabel* XSReactionDlg::nameLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::mnemonicLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
TGLabel * XSReactionDlg::chargeLbl [protected] |
TGLabel * XSReactionDlg::zLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::massLbl [protected] |
TGLabel * XSReactionDlg::massValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::isotopeLbl [protected] |
TGLabel * XSReactionDlg::densityLbl [protected] |
TGLabel * XSReactionDlg::densityValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::meltingPtLbl [protected] |
TGLabel * XSReactionDlg::meltingValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::boilingPtLbl [protected] |
TGLabel * XSReactionDlg::boilingValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::oxidationLbl [protected] |
TGLabel * XSReactionDlg::oxidationValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::isotopeInfoLbl [protected] |
TGLabel * XSReactionDlg::isotopeInfoValLbl [protected] |
Definition at line 59 of file XSReactionDlg.h.
Referenced by UpdateCurIsotope(), XSReactionDlg(), and ~XSReactionDlg().
TGButton* XSReactionDlg::ptableButton [protected] |
TGComboBox* XSReactionDlg::isotopeCombo [protected] |
Definition at line 86 of file XSReactionDlg.h.
Referenced by GetString(), UpdateIsotopes(), XSReactionDlg(), and ~XSReactionDlg().
TGGroupFrame* XSReactionDlg::reactionGroup [protected] |
TGLabel* XSReactionDlg::projectileLbl [protected] |
TGLabel * XSReactionDlg::temperatureLbl [protected] |
TGLabel * XSReactionDlg::databaseLbl [protected] |
TGLabel * XSReactionDlg::reactionLbl [protected] |
TGLabel * XSReactionDlg::reactionInfoLbl [protected] |
TGLabel * XSReactionDlg::reactionInfoValLbl [protected] |
TGComboBox* XSReactionDlg::projectileCombo [protected] |
Definition at line 98 of file XSReactionDlg.h.
Referenced by GetString(), UpdateProjectile(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::temperatureCombo [protected] |
Definition at line 98 of file XSReactionDlg.h.
Referenced by GetString(), SetElement(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::databaseCombo [protected] |
Definition at line 98 of file XSReactionDlg.h.
Referenced by GetString(), UpdateDatabase(), XSReactionDlg(), and ~XSReactionDlg().
TGListBox* XSReactionDlg::reactionList [protected] |
Definition at line 102 of file XSReactionDlg.h.
Referenced by GetString(), UpdateReactions(), XSReactionDlg(), and ~XSReactionDlg().
TGGroupFrame* XSReactionDlg::optionGroup [protected] |
Definition at line 105 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel* XSReactionDlg::lineWidthLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::lineColorLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::markerStyleLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::markerColorLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::markerSizeLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGLabel * XSReactionDlg::errorbarColorLbl [protected] |
Definition at line 107 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGComboBox* XSReactionDlg::lineWidthCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::lineColorCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::markerStyleCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::markerColorCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::markerSizeCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGComboBox * XSReactionDlg::errorbarColorCombo [protected] |
Definition at line 114 of file XSReactionDlg.h.
Referenced by GetString(), InitCombos(), XSReactionDlg(), and ~XSReactionDlg().
TGGroupFrame* XSReactionDlg::infoGroup [protected] |
Definition at line 122 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGTextView* XSReactionDlg::infoView [protected] |
Definition at line 124 of file XSReactionDlg.h.
Referenced by UpdateReactions(), XSReactionDlg(), and ~XSReactionDlg().
TGHorizontalFrame* XSReactionDlg::buttonFrame [protected] |
Definition at line 128 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGButton* XSReactionDlg::okButton [protected] |
Definition at line 129 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGButton * XSReactionDlg::execButton [protected] |
Definition at line 129 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGButton * XSReactionDlg::resetButton [protected] |
Definition at line 129 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().
TGButton * XSReactionDlg::closeButton [protected] |
Definition at line 129 of file XSReactionDlg.h.
Referenced by XSReactionDlg(), and ~XSReactionDlg().