TUploadDataSetDlg Class Reference

#include <TSessionDialogs.h>

Inheritance diagram for TUploadDataSetDlg:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TUploadDataSetDlg (TSessionViewer *gui, Int_t w, Int_t h)
virtual ~TUploadDataSetDlg ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
void AddFiles (const char *fileName)
void AddFiles (TList *fileList)
void BrowseFiles ()
void ClearFiles ()
void RemoveFile ()
void UploadDataSet ()
void OnOverwriteDataset (Bool_t on)
void OnOverwriteFiles (Bool_t on)
void OnAppendFiles (Bool_t on)
 TUploadDataSetDlg (TSessionViewer *gui, Int_t w, Int_t h)
virtual ~TUploadDataSetDlg ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
void AddFiles (const char *fileName)
void AddFiles (TList *fileList)
void BrowseFiles ()
void ClearFiles ()
void RemoveFile ()
void UploadDataSet ()
void OnOverwriteDataset (Bool_t on)
void OnOverwriteFiles (Bool_t on)
void OnAppendFiles (Bool_t on)

Private Attributes

Bool_t fUploading
TListfSkippedFiles
TGTextEntryfDSetName
TGTextEntryfDestinationURL
TGTextEntryfLocationURL
TGListViewfListView
TGLVContainerfLVContainer
TGTextButtonfAddButton
TGTextButtonfBrowseButton
TGTextButtonfRemoveButton
TGTextButtonfClearButton
TGCheckButtonfOverwriteDSet
TGCheckButtonfOverwriteFiles
TGCheckButtonfAppendFiles
TGTextButtonfUploadButton
TGTextButtonfCloseDlgButton
TSessionViewerfViewer
TListfSkippedFiles
TGTextEntryfDSetName
TGTextEntryfDestinationURL
TGTextEntryfLocationURL
TGListViewfListView
TGLVContainerfLVContainer
TGTextButtonfAddButton
TGTextButtonfBrowseButton
TGTextButtonfRemoveButton
TGTextButtonfClearButton
TGCheckButtonfOverwriteDSet
TGCheckButtonfOverwriteFiles
TGCheckButtonfAppendFiles
TGTextButtonfUploadButton
TGTextButtonfCloseDlgButton
TSessionViewerfViewer

Detailed Description

Definition at line 128 of file TSessionDialogs.h.


Constructor & Destructor Documentation

TUploadDataSetDlg::TUploadDataSetDlg ( TSessionViewer gui,
Int_t  w,
Int_t  h 
)

Definition at line 837 of file TSessionDialogs.cxx.

References TGCompositeFrame::AddFrame(), TGContainer::Associate(), TGWidget::Associate(), TGCompositeFrame::ChangeOptions(), TQObject::Connect(), fAddButton, fAppendFiles, TSessionDescription::fAttached, fBrowseButton, fClearButton, TGObject::fClient, fCloseDlgButton, TSessionDescription::fConnected, fDestinationURL, fDSetName, fListView, fLocationURL, fLVContainer, fOverwriteDSet, fOverwriteFiles, TSessionDescription::fProof, fRemoveButton, fUploadButton, fUploading, fViewer, TSessionViewer::GetActDesc(), TGFrame::GetDefaultHeight(), TGClient::GetDefaultRoot(), TGObject::GetId(), TGFrame::GetOptions(), TGFrame::GetWhitePixel(), gVirtualX, TProof::IsValid(), kDeepCleanup, kFALSE, kFixedSize, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kLVDetails, kSunkenFrame, kTextLeft, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Move(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGLVContainer::SetHeader(), TGLVContainer::SetHeaders(), TGTextEntry::SetText(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), TGLVContainer::SetViewMode(), TGMainFrame::SetWindowName(), and TGMainFrame::SetWMSizeHints().

Referenced by G__G__SessionViewer_322_0_1().

TUploadDataSetDlg::~TUploadDataSetDlg (  )  [virtual]

Definition at line 1003 of file TSessionDialogs.cxx.

References TGCompositeFrame::Cleanup(), and TObject::IsZombie().

TUploadDataSetDlg::TUploadDataSetDlg ( TSessionViewer gui,
Int_t  w,
Int_t  h 
)

virtual TUploadDataSetDlg::~TUploadDataSetDlg (  )  [virtual]


Member Function Documentation

void TUploadDataSetDlg::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 1011 of file TSessionDialogs.cxx.

References TGFrame::DeleteWindow(), and fUploading.

Referenced by G__G__SessionViewer_124_0_10(), and ProcessMessage().

Bool_t TUploadDataSetDlg::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1020 of file TSessionDialogs.cxx.

References AddFiles(), BrowseFiles(), ClearFiles(), CloseWindow(), fLocationURL, GET_MSG(), GET_SUBMSG(), TGTextEntry::GetText(), kC_COMMAND, kCM_BUTTON, kTRUE, RemoveFile(), and UploadDataSet().

void TUploadDataSetDlg::AddFiles ( const char *  fileName  ) 

Definition at line 1068 of file TSessionDialogs.cxx.

References TSystem::AccessPathName(), TGLVContainer::AddItem(), TGListView::AdjustHeaders(), TSystem::BaseName(), TSystem::DirName(), entry, TGObject::fClient, TGContainer::FindItem(), fListView, fLVContainer, Form(), TString::Format(), gClient, TSystem::GetDirEntry(), TGClient::GetPicture(), gSystem, TString::Index(), kFALSE, kNPOS, kReadPermission, TGListView::Layout(), TGClient::NeedRedraw(), TSystem::OpenDirectory(), text(), and TSystem::UnixPathName().

Referenced by BrowseFiles(), G__G__SessionViewer_322_0_4(), G__G__SessionViewer_322_0_5(), and ProcessMessage().

void TUploadDataSetDlg::AddFiles ( TList fileList  ) 

Definition at line 1113 of file TSessionDialogs.cxx.

References TGLVContainer::AddItem(), TGListView::AdjustHeaders(), TSystem::BaseName(), TString::Data(), TSystem::DirName(), entry, TGObject::fClient, TGContainer::FindItem(), fListView, fLVContainer, TString::Format(), gClient, TGClient::GetPicture(), TObjString::GetString(), gSystem, TGListView::Layout(), TGClient::NeedRedraw(), and TSystem::UnixPathName().

void TUploadDataSetDlg::BrowseFiles (  ) 

Definition at line 1138 of file TSessionDialogs.cxx.

References AddFiles(), TGObject::fClient, TGFileInfo::fFilename, TGFileInfo::fFileNamesList, TGFileInfo::fFileTypes, fi, TGFileInfo::fMultipleSelection, TGClient::GetRoot(), and kFDOpen.

Referenced by G__G__SessionViewer_322_0_6(), and ProcessMessage().

void TUploadDataSetDlg::ClearFiles (  ) 

Definition at line 1156 of file TSessionDialogs.cxx.

References TGObject::fClient, fListView, fLVContainer, TGListView::Layout(), TGClient::NeedRedraw(), and TGContainer::RemoveAll().

Referenced by G__G__SessionViewer_322_0_7(), and ProcessMessage().

void TUploadDataSetDlg::RemoveFile (  ) 

Definition at line 1192 of file TSessionDialogs.cxx.

References TGListView::AdjustHeaders(), TGObject::fClient, fListView, fLVContainer, TGContainer::GetLastActive(), TGListView::Layout(), TGClient::NeedRedraw(), and TGContainer::RemoveItem().

Referenced by G__G__SessionViewer_322_0_8(), and ProcessMessage().

void TUploadDataSetDlg::UploadDataSet (  ) 

Definition at line 1205 of file TSessionDialogs.cxx.

References TList::Add(), entry, fAppendFiles, TSessionDescription::fAttached, TGObject::fClient, fCloseDlgButton, TSessionDescription::fConnected, fDestinationURL, fDSetName, flags, fLVContainer, TString::Format(), fOverwriteDSet, fOverwriteFiles, TSessionDescription::fProof, fUploadButton, fUploading, fViewer, TSessionViewer::GetActDesc(), TGCompositeFrame::GetList(), TGClient::GetRoot(), TSessionViewer::GetSessionFrame(), TCollection::GetSize(), TGTextEntry::GetText(), gSystem, TGCheckButton::IsOn(), TProof::IsValid(), TProof::kAppend, kButtonDisabled, kButtonUp, TProof::kDataSetExists, TProof::kError, kFALSE, kMBAppend, kMBCancel, kMBDismiss, kMBIconAsterisk, kMBIconExclamation, kMBIconQuestion, kMBNo, kMBNoAll, kMBOk, kMBYes, kMBYesAll, TProof::kNoOverwriteDataSet, TProof::kOverwriteAllFiles, TProof::kOverwriteDataSet, TProof::kOverwriteNoFiles, kTRUE, retval, TGButton::SetState(), TSystem::UnixPathName(), TSessionFrame::UpdateListOfDataSets(), and TProof::UploadDataSet().

Referenced by G__G__SessionViewer_322_0_9(), and ProcessMessage().

void TUploadDataSetDlg::OnOverwriteDataset ( Bool_t  on  ) 

Definition at line 1167 of file TSessionDialogs.cxx.

References fAppendFiles, TGCheckButton::IsOn(), kButtonUp, and TGCheckButton::SetState().

Referenced by G__G__SessionViewer_322_0_10().

void TUploadDataSetDlg::OnOverwriteFiles ( Bool_t  on  ) 

Definition at line 1176 of file TSessionDialogs.cxx.

Referenced by G__G__SessionViewer_322_0_11().

void TUploadDataSetDlg::OnAppendFiles ( Bool_t  on  ) 

Definition at line 1183 of file TSessionDialogs.cxx.

References fOverwriteDSet, TGCheckButton::IsOn(), kButtonUp, and TGCheckButton::SetState().

Referenced by G__G__SessionViewer_322_0_12().

virtual void TUploadDataSetDlg::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

virtual Bool_t TUploadDataSetDlg::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

void TUploadDataSetDlg::AddFiles ( const char *  fileName  ) 

void TUploadDataSetDlg::AddFiles ( TList fileList  ) 

void TUploadDataSetDlg::BrowseFiles (  ) 

void TUploadDataSetDlg::ClearFiles (  ) 

void TUploadDataSetDlg::RemoveFile (  ) 

void TUploadDataSetDlg::UploadDataSet (  ) 

void TUploadDataSetDlg::OnOverwriteDataset ( Bool_t  on  ) 

void TUploadDataSetDlg::OnOverwriteFiles ( Bool_t  on  ) 

void TUploadDataSetDlg::OnAppendFiles ( Bool_t  on  ) 


Member Data Documentation

Bool_t TUploadDataSetDlg::fUploading [private]

Definition at line 131 of file TSessionDialogs.h.

Referenced by CloseWindow(), TUploadDataSetDlg(), and UploadDataSet().

TList* TUploadDataSetDlg::fSkippedFiles [private]

Definition at line 132 of file TSessionDialogs.h.

TGTextEntry* TUploadDataSetDlg::fDSetName [private]

Definition at line 133 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TGTextEntry* TUploadDataSetDlg::fDestinationURL [private]

Definition at line 134 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TGTextEntry* TUploadDataSetDlg::fLocationURL [private]

Definition at line 135 of file TSessionDialogs.h.

Referenced by ProcessMessage(), and TUploadDataSetDlg().

TGListView* TUploadDataSetDlg::fListView [private]

Definition at line 136 of file TSessionDialogs.h.

Referenced by AddFiles(), ClearFiles(), RemoveFile(), and TUploadDataSetDlg().

TGLVContainer* TUploadDataSetDlg::fLVContainer [private]

Definition at line 137 of file TSessionDialogs.h.

Referenced by AddFiles(), ClearFiles(), RemoveFile(), TUploadDataSetDlg(), and UploadDataSet().

TGTextButton* TUploadDataSetDlg::fAddButton [private]

Definition at line 138 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg().

TGTextButton* TUploadDataSetDlg::fBrowseButton [private]

Definition at line 139 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg().

TGTextButton* TUploadDataSetDlg::fRemoveButton [private]

Definition at line 140 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg().

TGTextButton* TUploadDataSetDlg::fClearButton [private]

Definition at line 141 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg().

TGCheckButton* TUploadDataSetDlg::fOverwriteDSet [private]

Definition at line 142 of file TSessionDialogs.h.

Referenced by OnAppendFiles(), TUploadDataSetDlg(), and UploadDataSet().

TGCheckButton* TUploadDataSetDlg::fOverwriteFiles [private]

Definition at line 143 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TGCheckButton* TUploadDataSetDlg::fAppendFiles [private]

Definition at line 144 of file TSessionDialogs.h.

Referenced by OnOverwriteDataset(), TUploadDataSetDlg(), and UploadDataSet().

TGTextButton* TUploadDataSetDlg::fUploadButton [private]

Definition at line 145 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TGTextButton* TUploadDataSetDlg::fCloseDlgButton [private]

Definition at line 146 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TSessionViewer* TUploadDataSetDlg::fViewer [private]

Definition at line 147 of file TSessionDialogs.h.

Referenced by TUploadDataSetDlg(), and UploadDataSet().

TList* TUploadDataSetDlg::fSkippedFiles [private]

Definition at line 132 of file TSessionDialogs.h.

TGTextEntry* TUploadDataSetDlg::fDSetName [private]

Definition at line 133 of file TSessionDialogs.h.

TGTextEntry* TUploadDataSetDlg::fDestinationURL [private]

Definition at line 134 of file TSessionDialogs.h.

TGTextEntry* TUploadDataSetDlg::fLocationURL [private]

Definition at line 135 of file TSessionDialogs.h.

TGListView* TUploadDataSetDlg::fListView [private]

Definition at line 136 of file TSessionDialogs.h.

TGLVContainer* TUploadDataSetDlg::fLVContainer [private]

Definition at line 137 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fAddButton [private]

Definition at line 138 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fBrowseButton [private]

Definition at line 139 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fRemoveButton [private]

Definition at line 140 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fClearButton [private]

Definition at line 141 of file TSessionDialogs.h.

TGCheckButton* TUploadDataSetDlg::fOverwriteDSet [private]

Definition at line 142 of file TSessionDialogs.h.

TGCheckButton* TUploadDataSetDlg::fOverwriteFiles [private]

Definition at line 143 of file TSessionDialogs.h.

TGCheckButton* TUploadDataSetDlg::fAppendFiles [private]

Definition at line 144 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fUploadButton [private]

Definition at line 145 of file TSessionDialogs.h.

TGTextButton* TUploadDataSetDlg::fCloseDlgButton [private]

Definition at line 146 of file TSessionDialogs.h.

TSessionViewer* TUploadDataSetDlg::fViewer [private]

Definition at line 147 of file TSessionDialogs.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:48:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1