+ //_____________________________________________________________________________
+AliTPCMonitorDialog &AliTPCMonitorDialog::operator =(const AliTPCMonitorDialog& dialog)
+{
+ // assignement operator (actually none forseen for this class)
+ if(this!=&dialog)
+ {
+ fFrameMain = new TGTransientFrame(dialog.GetClient(), dialog.GetMainFrame(), dialog.GetWidth(), dialog.GetHeight());
+ fFrameComp = 0;
+ fFrameHor = new TGHorizontalFrame(fFrameMain, 60, 20, kFixedWidth);
+ fFrameGroup = 0;
+ fOkButton = new TGTextButton(fFrameHor, "&Ok", 1);
+ fListBox = 0;
+ fTab = new TGTab(fFrameMain, 300, 300);
+ fLayout1 = new TGLayoutHints(kLHintsTop | kLHintsLeft | kLHintsExpandX, 2, 2, 2, 2);
+ fLayout2 = new TGLayoutHints(kLHintsBottom | kLHintsRight , 2, 2, 5, 1);
+ fLayout3 = new TGLayoutHints(kLHintsTop | kLHintsLeft, 5, 5, 5, 5);
+ fMonitor = dialog.GetMonitor();
+ fWidth = dialog.GetWidth();
+ fHeight = dialog.GetHeight();
+ fOptions = dialog.GetOptions();
+ fClient = dialog.GetClient();
+ fVersion = dialog.GetVersion();
+ fMain = dialog.GetMainFrame();
+ fFrameMain->Connect("CloseWindow()", "AliTPCMonitorDialog", this, "DoClose()");
+ fFrameMain->DontCallClose();
+ fFrameMain->SetCleanup(kDeepCleanup);
+ fOkButton->Connect("Clicked()", "AliTPCMonitorDialog", this, "DoOK()");
+ fFrameHor->AddFrame(fOkButton, fLayout1);
+ fFrameHor->Resize(150, fOkButton->GetDefaultHeight());
+ fFrameMain->AddFrame( fFrameHor, fLayout2);
+ fTab->Connect("Selected(Int_t)", "AliTPCMonitorDialog", this, "DoTab(Int_t)");
+ CreateDialogVersion(dialog.GetVersion());
+ }
+ return *this;
+}
+
+
+