#include <TSessionViewer.h>
Inheritance diagram for TSessionServerFrame:
Definition at line 202 of file TSessionViewer.h.
Definition at line 197 of file TSessionViewer.cxx.
TSessionServerFrame::~TSessionServerFrame | ( | ) | [virtual] |
virtual TSessionServerFrame::~TSessionServerFrame | ( | ) | [virtual] |
void TSessionServerFrame::Build | ( | TSessionViewer * | gui | ) |
Definition at line 212 of file TSessionViewer.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), TQObject::Connect(), fBtnAdd, fBtnConnect, fFrmNewServer, fLogLevel, fNumPort, fSync, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, fViewer, TGFrame::GetDefaultHeight(), kButtonDown, kDeepCleanup, kLHintsBottom, kLHintsCenterX, kLHintsExpandX, kLHintsLeft, kLHintsTop, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNESInteger, TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGCompositeFrame::SetLayoutManager(), TGCheckButton::SetState(), and TGButton::SetToolTipText().
Referenced by TSessionViewer::Build().
const char* TSessionServerFrame::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 223 of file TSessionViewer.h.
References fTxtName, and TGTextEntry::GetText().
const char* TSessionServerFrame::GetAddress | ( | ) | const [inline] |
Definition at line 224 of file TSessionViewer.h.
References fTxtAddress, and TGTextEntry::GetText().
Int_t TSessionServerFrame::GetPortNumber | ( | ) | const [inline] |
Definition at line 225 of file TSessionViewer.h.
References fNumPort, and TGNumberEntry::GetIntNumber().
Int_t TSessionServerFrame::GetLogLevel | ( | ) | const [inline] |
Definition at line 226 of file TSessionViewer.h.
References fLogLevel, and TGNumberEntry::GetIntNumber().
const char* TSessionServerFrame::GetConfigText | ( | ) | const [inline] |
const char* TSessionServerFrame::GetUserName | ( | ) | const [inline] |
Definition at line 228 of file TSessionViewer.h.
References fTxtUsrName, and TGTextEntry::GetText().
Bool_t TSessionServerFrame::IsSync | ( | ) | const [inline] |
Definition at line 229 of file TSessionViewer.h.
References fSync, TGButton::GetState(), and kButtonDown.
Definition at line 231 of file TSessionViewer.h.
References fBtnAdd, TGCompositeFrame::HideFrame(), kTRUE, and TGCompositeFrame::ShowFrame().
Referenced by TSessionViewer::Build(), and TSessionViewer::OnListTreeClicked().
Definition at line 233 of file TSessionViewer.h.
References fBtnConnect, TGCompositeFrame::HideFrame(), kTRUE, and TGCompositeFrame::ShowFrame().
Referenced by TSessionViewer::Build(), and TSessionViewer::OnListTreeClicked().
void TSessionServerFrame::SetName | ( | const char * | str | ) | [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 235 of file TSessionViewer.h.
References fTxtName, and TGTextEntry::SetText().
void TSessionServerFrame::SetAddress | ( | const char * | str | ) | [inline] |
Definition at line 236 of file TSessionViewer.h.
References fTxtAddress, and TGTextEntry::SetText().
void TSessionServerFrame::SetPortNumber | ( | Int_t | port | ) | [inline] |
Definition at line 237 of file TSessionViewer.h.
References fNumPort, and TGNumberEntry::SetIntNumber().
void TSessionServerFrame::SetLogLevel | ( | Int_t | log | ) | [inline] |
Definition at line 238 of file TSessionViewer.h.
References fLogLevel, and TGNumberEntry::SetIntNumber().
Referenced by TSessionViewer::OnListTreeClicked().
void TSessionServerFrame::SetConfigText | ( | const char * | str | ) | [inline] |
void TSessionServerFrame::SetUserName | ( | const char * | str | ) | [inline] |
Definition at line 240 of file TSessionViewer.h.
References fTxtUsrName, and TGTextEntry::SetText().
void TSessionServerFrame::SetSync | ( | Bool_t | sync | ) | [inline] |
Definition at line 241 of file TSessionViewer.h.
References fSync, kButtonDown, kButtonUp, and TGCheckButton::SetState().
void TSessionServerFrame::SettingsChanged | ( | ) |
Definition at line 314 of file TSessionViewer.cxx.
References TString::Data(), TSessionDescription::fAddress, fBtnAdd, fBtnConnect, TSessionDescription::fConfigFile, TSessionDescription::fLocal, fLogLevel, TSessionDescription::fLogLevel, fNumPort, TSessionDescription::fPort, fSync, TSessionDescription::fSync, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, TSessionDescription::fUserName, fViewer, TSessionViewer::GetActDesc(), TGNumberEntry::GetIntNumber(), TSessionDescription::GetName(), TGButton::GetState(), TGTextEntry::GetText(), gTQSender, TGCompositeFrame::HideFrame(), kButtonDown, TGTextEntry::SetFocus(), and TGCompositeFrame::ShowFrame().
void TSessionServerFrame::OnBtnConnectClicked | ( | ) |
Definition at line 422 of file TSessionViewer.cxx.
References TProof::AddFeedback(), TGFrame::AddInput(), TProofMgr::AttachSession(), TSessionViewer::ChangeRightLogo(), TProof::ClearFeedback(), TGContainer::ClearViewPort(), TQObject::Connect(), TProofMgr::Create(), TProofMgr::CreateSession(), TString::Data(), TProof::EnablePackage(), TSessionViewer::EnableTimer(), TObject::Error(), TSessionDescription::fAddress, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, TGObject::fClient, TSessionDescription::fConfigFile, TSessionDescription::fConnected, TPackageDescription::fEnabled, TGListTree::FindChildByData(), TList::FindObject(), fLogLevel, TSessionDescription::fLogLevel, TSessionDescription::fName, TPackageDescription::fName, TSessionDescription::fNbHistos, fNumPort, TString::Form(), TSessionDescription::fPackages, TSessionDescription::fPort, TSessionDescription::fProof, TSessionDescription::fProofMgr, fSync, TSessionDescription::fSync, TSessionDescription::fTag, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, TSessionDescription::fUserName, fViewer, TSessionViewer::GetActDesc(), TGStatusBar::GetBarPart(), TSessionViewer::GetCascadeMenu(), TProof::GetConfFile(), TSessionViewer::GetConnectProg(), TGObject::GetId(), TGNumberEntry::GetIntNumber(), TProofDesc::GetLocalId(), TProof::GetLogLevel(), TProof::GetMaster(), TNamed::GetName(), TSessionViewer::GetOptionsMenu(), TProof::GetPort(), TSessionViewer::GetProofConPict(), TSessionViewer::GetQueryFrame(), TSessionViewer::GetSessionFrame(), TSessionViewer::GetSessionHierarchy(), TSessionViewer::GetSessionItem(), TSessionViewer::GetSessions(), TGButton::GetState(), TSessionViewer::GetStatusBar(), TGTextEntry::GetText(), TNamed::GetTitle(), TProof::GetUser(), gROOT, gVirtualX, TGCompositeFrame::HideFrame(), i, TSessionViewer::IsAutoSave(), TSessionViewer::IsBusy(), TGPopupMenu::IsEntryChecked(), TProof::IsLite(), TProofMgr::IsValid(), TProof::IsValid(), kAnyButton, kAnyModifier, TProof::kAsync, kButtonDown, kButtonPressMask, kButtonReleaseMask, kEnterWindowMask, kFALSE, kFeedbackHistos, kKeyPressMask, kLeaveWindowMask, kNone, kOptionsFeedback, kPointerMotionMask, TProof::kSync, kTRUE, TProof::kUsingSessionGui, kWatch, TList::Last(), TGClient::NeedRedraw(), OnBtnAddClicked(), TSessionViewer::OnListTreeClicked(), TSessionFrame::ProofInfos(), TProofMgr::QuerySessions(), TGFrame::RemoveInput(), TProof::SetAlias(), TObject::SetBit(), TSessionViewer::SetBusy(), TSessionViewer::SetChangePic(), TProof::SetLogLevel(), TGListTreeItem::SetPictures(), TProof::SetQueryMode(), TGStatusBar::SetText(), TGCompositeFrame::ShowFrame(), TROOT::Time(), TSessionFrame::UpdateListOfDataSets(), TSessionViewer::UpdateListOfPackages(), TSessionViewer::UpdateListOfSessions(), TSessionFrame::UpdatePackages(), and TSessionViewer::WriteConfiguration().
Referenced by TSessionViewer::MyHandleMenu(), TSessionViewer::OnListTreeDoubleClicked(), and TSessionViewer::ProcessMessage().
void TSessionServerFrame::OnBtnNewServerClicked | ( | ) |
Definition at line 636 of file TSessionViewer.cxx.
References TGListTree::ClearHighlighted(), TGContainer::ClearViewPort(), TGObject::fClient, fLogLevel, fNumPort, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, fViewer, TSessionViewer::GetSessionHierarchy(), TSessionViewer::GetSessionItem(), TGListTree::HighlightItem(), TSessionViewer::IsBusy(), TGClient::NeedRedraw(), TSessionViewer::OnListTreeClicked(), TGListTree::OpenItem(), TGNumberEntry::SetIntNumber(), TGListTree::SetSelected(), and TGTextEntry::SetText().
Referenced by TSessionViewer::ProcessMessage().
void TSessionServerFrame::OnBtnDeleteClicked | ( | ) |
Definition at line 367 of file TSessionViewer.cxx.
References TGListTree::ClearHighlighted(), TGContainer::ClearViewPort(), TGListTree::DeleteItem(), TGObject::fClient, TGListTree::FindChildByData(), fTxtName, fViewer, TSessionViewer::GetActDesc(), TGClient::GetRoot(), TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TSessionViewer::GetSessionItem(), TSessionViewer::GetSessions(), TGTextEntry::GetText(), TGListTree::HighlightItem(), TSessionViewer::IsAutoSave(), TSessionViewer::IsBusy(), kMBCancel, kMBIconExclamation, kMBOk, TList::Last(), m, name, TGClient::NeedRedraw(), TSessionViewer::OnListTreeClicked(), TGListTree::OpenItem(), TList::Remove(), result(), retval, TGListTree::SetSelected(), and TSessionViewer::WriteConfiguration().
Referenced by TSessionViewer::MyHandleMenu(), and TSessionViewer::ProcessMessage().
void TSessionServerFrame::OnBtnAddClicked | ( | ) |
Definition at line 659 of file TSessionViewer.cxx.
References TList::Add(), TGListTree::AddItem(), TGListTree::ClearHighlighted(), TGContainer::ClearViewPort(), TSessionDescription::fActQuery, TSessionDescription::fAddress, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, fBtnAdd, fBtnConnect, TGObject::fClient, TSessionDescription::fConfigFile, TSessionDescription::fConnected, TList::FindObject(), TSessionDescription::fLocal, fLogLevel, TSessionDescription::fLogLevel, TSessionDescription::fName, fNumPort, TString::Format(), TSessionDescription::fPackages, TSessionDescription::fPort, TSessionDescription::fProof, TSessionDescription::fProofMgr, TSessionDescription::fQueries, fSync, TSessionDescription::fSync, TSessionDescription::fTag, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, TSessionDescription::fUserName, fViewer, TSessionViewer::GetActDesc(), TGTextEntry::GetBuffer(), TGNumberEntry::GetIntNumber(), TSessionViewer::GetProofDisconPict(), TGClient::GetRoot(), TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TSessionViewer::GetSessionItem(), TSessionViewer::GetSessions(), TGButton::GetState(), TGTextEntry::GetText(), TGTextBuffer::GetTextLength(), TGCompositeFrame::HideFrame(), TGListTree::HighlightItem(), TSessionViewer::IsAutoSave(), TSessionViewer::IsBusy(), kButtonDown, kFALSE, kMBCancel, kMBIconExclamation, kMBIconQuestion, kMBNo, kMBOk, kMBYes, kTRUE, TGClient::NeedRedraw(), TSessionViewer::OnListTreeClicked(), TGListTree::OpenItem(), retval, TGListTree::SetSelected(), TGListTree::SetToolTipItem(), TGListTreeItem::SetUserData(), TGCompositeFrame::ShowFrame(), and TSessionViewer::WriteConfiguration().
Referenced by OnBtnConnectClicked(), and TSessionViewer::ProcessMessage().
void TSessionServerFrame::OnConfigFileClicked | ( | ) |
Definition at line 352 of file TSessionViewer.cxx.
References TSystem::BaseName(), conftypes, TGObject::fClient, TGFileInfo::fFilename, TGFileInfo::fFileTypes, fi, fTxtConfig, fViewer, TGClient::GetRoot(), gSystem, TSessionViewer::IsBusy(), kFDOpen, and TGTextEntry::SetText().
void TSessionServerFrame::Update | ( | TSessionDescription * | desc | ) |
Definition at line 750 of file TSessionViewer.cxx.
References TSessionDescription::fAddress, TSessionDescription::fConfigFile, TSessionDescription::fLocal, fLogLevel, TSessionDescription::fLogLevel, TSessionDescription::fName, fNumPort, TSessionDescription::fPort, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, TSessionDescription::fUserName, TString::Length(), TGNumberEntry::SetIntNumber(), and TGTextEntry::SetText().
Referenced by TSessionViewer::Build(), and TSessionViewer::OnListTreeClicked().
Reimplemented from TGCompositeFrame.
Definition at line 779 of file TSessionViewer.cxx.
References fLogLevel, fNumPort, fTxtAddress, fTxtConfig, fTxtName, fTxtUsrName, GET_MSG(), GET_SUBMSG(), TGNumberEntry::GetNumberEntry(), kC_TEXTENTRY, kTE_ENTER, kTE_TAB, kTRUE, TGTextEntry::SelectAll(), and TGTextEntry::SetFocus().
void TSessionServerFrame::Build | ( | TSessionViewer * | gui | ) |
const char* TSessionServerFrame::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 223 of file TSessionViewer.h.
References fTxtName, and TGTextEntry::GetText().
const char* TSessionServerFrame::GetAddress | ( | ) | const [inline] |
Definition at line 224 of file TSessionViewer.h.
References fTxtAddress, and TGTextEntry::GetText().
Int_t TSessionServerFrame::GetPortNumber | ( | ) | const [inline] |
Definition at line 225 of file TSessionViewer.h.
References fNumPort, and TGNumberEntry::GetIntNumber().
Int_t TSessionServerFrame::GetLogLevel | ( | ) | const [inline] |
Definition at line 226 of file TSessionViewer.h.
References fLogLevel, and TGNumberEntry::GetIntNumber().
const char* TSessionServerFrame::GetConfigText | ( | ) | const [inline] |
const char* TSessionServerFrame::GetUserName | ( | ) | const [inline] |
Definition at line 228 of file TSessionViewer.h.
References fTxtUsrName, and TGTextEntry::GetText().
Bool_t TSessionServerFrame::IsSync | ( | ) | const [inline] |
Definition at line 229 of file TSessionViewer.h.
References fSync, TGButton::GetState(), and kButtonDown.
Definition at line 231 of file TSessionViewer.h.
References fBtnAdd, TGCompositeFrame::HideFrame(), kTRUE, and TGCompositeFrame::ShowFrame().
Definition at line 233 of file TSessionViewer.h.
References fBtnConnect, TGCompositeFrame::HideFrame(), kTRUE, and TGCompositeFrame::ShowFrame().
void TSessionServerFrame::SetName | ( | const char * | str | ) | [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 235 of file TSessionViewer.h.
References fTxtName, and TGTextEntry::SetText().
void TSessionServerFrame::SetAddress | ( | const char * | str | ) | [inline] |
Definition at line 236 of file TSessionViewer.h.
References fTxtAddress, and TGTextEntry::SetText().
void TSessionServerFrame::SetPortNumber | ( | Int_t | port | ) | [inline] |
Definition at line 237 of file TSessionViewer.h.
References fNumPort, and TGNumberEntry::SetIntNumber().
void TSessionServerFrame::SetLogLevel | ( | Int_t | log | ) | [inline] |
Definition at line 238 of file TSessionViewer.h.
References fLogLevel, and TGNumberEntry::SetIntNumber().
void TSessionServerFrame::SetConfigText | ( | const char * | str | ) | [inline] |
void TSessionServerFrame::SetUserName | ( | const char * | str | ) | [inline] |
Definition at line 240 of file TSessionViewer.h.
References fTxtUsrName, and TGTextEntry::SetText().
void TSessionServerFrame::SetSync | ( | Bool_t | sync | ) | [inline] |
Definition at line 241 of file TSessionViewer.h.
References fSync, kButtonDown, kButtonUp, and TGCheckButton::SetState().
void TSessionServerFrame::SettingsChanged | ( | ) |
void TSessionServerFrame::OnBtnConnectClicked | ( | ) |
void TSessionServerFrame::OnBtnNewServerClicked | ( | ) |
void TSessionServerFrame::OnBtnDeleteClicked | ( | ) |
void TSessionServerFrame::OnBtnAddClicked | ( | ) |
void TSessionServerFrame::OnConfigFileClicked | ( | ) |
void TSessionServerFrame::Update | ( | TSessionDescription * | desc | ) |
Reimplemented from TGWindow.
virtual Bool_t TSessionServerFrame::ProcessMessage | ( | Long_t | msg, | |
Long_t | parm1, | |||
Long_t | parm2 | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
TGTextEntry* TSessionServerFrame::fTxtName [private] |
Definition at line 206 of file TSessionViewer.h.
Referenced by Build(), GetName(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnDeleteClicked(), OnBtnNewServerClicked(), ProcessMessage(), SetName(), SettingsChanged(), and Update().
TGTextEntry* TSessionServerFrame::fTxtAddress [private] |
Definition at line 207 of file TSessionViewer.h.
Referenced by Build(), GetAddress(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnNewServerClicked(), ProcessMessage(), SetAddress(), SettingsChanged(), and Update().
TGNumberEntry* TSessionServerFrame::fNumPort [private] |
Definition at line 208 of file TSessionViewer.h.
Referenced by Build(), GetPortNumber(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnNewServerClicked(), ProcessMessage(), SetPortNumber(), SettingsChanged(), and Update().
TGNumberEntry* TSessionServerFrame::fLogLevel [private] |
Definition at line 209 of file TSessionViewer.h.
Referenced by Build(), GetLogLevel(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnNewServerClicked(), ProcessMessage(), SetLogLevel(), SettingsChanged(), and Update().
TGTextEntry* TSessionServerFrame::fTxtConfig [private] |
Definition at line 210 of file TSessionViewer.h.
Referenced by Build(), GetConfigText(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnNewServerClicked(), OnConfigFileClicked(), ProcessMessage(), SetConfigText(), SettingsChanged(), and Update().
TGTextEntry* TSessionServerFrame::fTxtUsrName [private] |
Definition at line 211 of file TSessionViewer.h.
Referenced by Build(), GetUserName(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnNewServerClicked(), ProcessMessage(), SettingsChanged(), SetUserName(), and Update().
TGCheckButton* TSessionServerFrame::fSync [private] |
Definition at line 212 of file TSessionViewer.h.
Referenced by Build(), IsSync(), OnBtnAddClicked(), OnBtnConnectClicked(), SetSync(), and SettingsChanged().
TSessionViewer* TSessionServerFrame::fViewer [private] |
Definition at line 213 of file TSessionViewer.h.
Referenced by Build(), OnBtnAddClicked(), OnBtnConnectClicked(), OnBtnDeleteClicked(), OnBtnNewServerClicked(), OnConfigFileClicked(), and SettingsChanged().
TGTextButton* TSessionServerFrame::fBtnAdd [private] |
Definition at line 214 of file TSessionViewer.h.
Referenced by Build(), OnBtnAddClicked(), SetAddEnabled(), and SettingsChanged().
TGTextButton* TSessionServerFrame::fBtnConnect [private] |
Definition at line 215 of file TSessionViewer.h.
Referenced by Build(), OnBtnAddClicked(), SetConnectEnabled(), and SettingsChanged().
Definition at line 205 of file TSessionViewer.h.
TGTextEntry* TSessionServerFrame::fTxtName [private] |
Definition at line 206 of file TSessionViewer.h.
TGTextEntry* TSessionServerFrame::fTxtAddress [private] |
Definition at line 207 of file TSessionViewer.h.
TGNumberEntry* TSessionServerFrame::fNumPort [private] |
Definition at line 208 of file TSessionViewer.h.
TGNumberEntry* TSessionServerFrame::fLogLevel [private] |
Definition at line 209 of file TSessionViewer.h.
TGTextEntry* TSessionServerFrame::fTxtConfig [private] |
Definition at line 210 of file TSessionViewer.h.
TGTextEntry* TSessionServerFrame::fTxtUsrName [private] |
Definition at line 211 of file TSessionViewer.h.
TGCheckButton* TSessionServerFrame::fSync [private] |
Definition at line 212 of file TSessionViewer.h.
TSessionViewer* TSessionServerFrame::fViewer [private] |
Definition at line 213 of file TSessionViewer.h.
TGTextButton* TSessionServerFrame::fBtnAdd [private] |
Definition at line 214 of file TSessionViewer.h.
TGTextButton* TSessionServerFrame::fBtnConnect [private] |
Definition at line 215 of file TSessionViewer.h.