GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ViewPanel.h
Go to the documentation of this file.
1 // $Id: TGo4ViewPanel.h 1996 2017-03-10 14:30:17Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum f�r Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4VIEWPANEL_H
15 #define TGO4VIEWPANEL_H
16 
17 #include "QGo4Widget.h"
18 #include "ui_TGo4ViewPanel.h"
19 
20 
21 class THStack;
22 class TObject;
23 class TCanvas;
24 class TPad;
25 class TH1;
26 class TH2;
27 class TAxis;
28 class TGraph;
29 class TCutG;
30 class TMultiGraph;
31 class TGo4ASImage;
32 class TGo4Picture;
33 class QRootWindow;
34 class QRootCanvas;
35 class TGo4Slot;
36 class TGo4Picture;
37 class TObjArray;
38 class TVirtualPadEditor;
39 class QMenuBar;
40 class QStatusBar;
41 class QAction;
42 
43 
44 class TGo4ViewPanel : public QGo4Widget, public Ui::TGo4ViewPanel
45 {
46  Q_OBJECT
47 
48  public:
49 
51  CrosshairId = 302,
54  AutoZoomId = 311,
55  SuperimposeId = 1011,
56  StatisticsId = 1006,
57  SetTitleId = 1007,
58  SetLegendId = 1008,
59  DrawTimeId = 1012,
60  DrawDateId = 1013,
67  FirstSelectId = 5000 };
68 
70  kMouseROOT , // normal root mouse
71  kMousePickCursor, // click sets cursor / marker
72  kMousePickLimits, // click sets region limit / window condition
73  kMousePickPolygon, // click sets polygon condition
74  kMousePickLatex, // click sets latex label
75  kMouseDraw // draw on mouse press
76  };
77 
78  enum {kind_None = -1,
79  kind_Link = 1,
85  kind_Marker = 202,
86  kind_Window = 203,
87  kind_Poly = 204,
88  kind_Latex = 205,
89  kind_Arrow = 206,
90  kind_Func = 207,
91  kind_FitInfo = 221,
93  kind_Other = 300,
94  kind_Fitter = 301,
95  kind_Permanet = 1000,
97  kind_ThisPad = 1002,
98  kind_PadSlot = 1003 };
99 
100  TGo4ViewPanel(QWidget *parent = 0, const char* name=0);
101 
102  virtual ~TGo4ViewPanel();
103 
104  virtual const char* GetPanelName();
105  virtual void SetPanelName(const char* newname);
106  virtual TGo4Slot* GetPanelSlot();
107  virtual TGo4Slot* AddNewSlot(const char* name, TGo4Slot* parent);
108  virtual void BlockPanelRedraw(bool on);
109  virtual void ResetWidget();
110  virtual void linkedObjectUpdated(const char* linkname, TObject* obj);
111  virtual void linkedUpdated(TGo4Slot* slot, TObject* obj);
112  virtual void linkedRemoved(TGo4Slot* slot, TObject* obj);
113  virtual bool IsAcceptDrag( const char * itemname, TClass * cl, int kind );
114  virtual void DropOnPad(TPad* pad, const char * itemname, TClass * cl, int kind );
115  virtual void CompleteInitialization();
116  virtual void SetMouseMode( int mode );
117  virtual int GetMouseMode();
118  virtual QString GetSelectedMarkerName( TPad * pad );
119  virtual int GetSelectedMarkerIndex( TPad * pad );
120  virtual TGo4Slot * GetSelectedSlot( TPad * pad, int * selkind, TObject * * selobj );
121  virtual bool IsConditionSelected( TPad * pad );
122  virtual TPad* FindPadWithItem(const char* itemname);
123  virtual void UndrawItemOnPanel(const char* itemname);
124  virtual const char* GetDrawItemName(int itemcnt = 0);
125  virtual void SetSelectedMarker( TPad * pad, const QString & selname, int selindex );
126  virtual void SetSelectedMarkerByMouseClick(TPad* pad, const char* name);
127  virtual void StartConditionEditing(TPad* pad);
128  virtual void SwitchMarkerButton( int kind, bool on );
129  virtual void MakePictureForPad(TGo4Picture* pic, TPad* pad, bool useitemname);
130  virtual void UpdatePadStatus( TPad * pad, bool removeitems );
131  virtual void ProcessPadStatusUpdate( TPad * pad, TGo4Slot* parent, bool removeitems );
132  virtual TGo4Slot* AddDrawObject( TPad * pad, int kind, const char * itemname, TObject * obj, bool owner, const char * drawopt );
133  virtual TGo4Slot* GetDrawObjectSlot( TPad * pad, const char * name );
134  virtual TObject* GetDrawObject( TPad * pad, const char * name );
135  virtual void DeleteDrawObject( TPad * pad, const char * name );
136  virtual void DeleteDrawObject( TPad * pad, TObject * obj );
137  virtual void CollectSpecialObjects( TPad * pad, TObjArray * objs, int selectkind );
138  virtual bool DeleteDrawObjects( TPad * pad, int kindtodelete );
139  virtual void SetPadSuperImpose( TPad * pad, bool on );
140  virtual bool ScanDrawOptions(TPad* pad, TGo4Slot* padslot, TGo4Picture* pic, bool onlyscan);
141  virtual void ScanObjectsDrawOptions(bool onlyscan, TGo4Slot* padslot, TObjArray* objs, TObjArray* objslots);
142  virtual void CollectMainDrawObjects( TGo4Slot * slot, TObjArray* objs, TObjArray* objslots, int modifier);
143  virtual TObject * ProduceSuperimposeObject(TGo4Slot* padslot, TGo4Picture* padopt, TGo4Slot * sislot, TGo4Slot * legslot,
144  TObjArray * objs, TObjArray * objslots, bool showitems );
145  virtual void Divide( int numX, int numY );
146  virtual void SetSlotPad(TGo4Slot* padslot, TPad * pad);
147  virtual TGo4Slot* GetPadSlot( TPad * pad );
148  virtual TPad * GetSlotPad( TGo4Slot * slot );
149  virtual bool IsPadHasSubPads( TGo4Slot * padslot );
150  virtual bool IsPadHasSubPads( TPad * pad );
151  virtual void MarkPadModified( TPad * pad );
152  virtual bool IsPanelPad( TPad * pad );
153  virtual int GetNumberOfPads( TPad * toppad );
154  virtual TPad * GetSubPad( TPad * toppad, int num, bool onlytoplevel );
155  virtual void ProducePadsList( TObjArray * arr, TPad * toppad );
156  virtual const char* GetDrawObjectLinkName( TPad * pad, TObject* obj );
157  virtual TGo4Slot * GetPadMainObjectSlot( TPad * pad );
158  virtual TGo4Slot * GetSuperimposeSlot(TGo4Slot* slot);
159  virtual TObject * GetPadMainObject( TPad * pad );
160  virtual TCanvas * GetCanvas();
161  virtual QRootCanvas * GetQCanvas();
162  virtual TPad * GetActivePad();
163  virtual void AllocatePadOptions(TPad* pad);
164  virtual TGo4Picture * GetPadOptions( TPad * pad );
165  virtual TGo4Picture * GetPadOptions( TGo4Slot * padslot );
166  virtual TH1* GetPadHistogram( TPad * pad );
167  virtual bool IsRedrawBlocked();
168  virtual void UpdatePanelCaption();
169  virtual void SetDrawKind( TGo4Slot * slot, int kind );
170  virtual void SetSpecialDrawOption( TGo4Slot * slot, const char * drawopt );
171  virtual int GetDrawKind( TGo4Slot * slot );
172  virtual void SetSelectedObjectIndex( TGo4Slot * slot, int indx );
173  virtual int GetSelectedObjectIndex(TGo4Slot* slot);
174  virtual TObject* GetSelectedObject( TPad * pad, const char** drawopt );
175  virtual bool ShiftSelectedObjectToEnd(TPad * pad);
176  virtual const char * GetSpecialDrawOption( TGo4Slot * slot );
177  virtual void CheckForSpecialObjects( TPad * pad, TGo4Slot * padslot );
178  virtual void CheckObjectsAssigments( TPad * pad, TGo4Slot * padslot );
179  virtual void ProcessPictureRedraw( const char* picitemname, TPad * pad, TGo4Picture * pic );
180  virtual void ProcessCanvasAdopt( TPad * tgtpad, TPad * srcpad, const char* srcitemname);
181  virtual bool ProcessPadRedraw( TPad * pad, bool force);
182  virtual void RedrawHistogram( TPad * pad, TGo4Picture * padopt, TH1 * his, bool scancontent, bool first_draw );
183  virtual void RedrawStack( TPad * pad, TGo4Picture * padopt, THStack * hs, bool dosuperimpose, bool scancontent );
184  virtual void RedrawGraph( TPad * pad, TGo4Picture * padopt, TGraph * gr, bool scancontent, bool first_draw );
185  virtual void RedrawMultiGraph( TPad * pad, TGo4Picture * padopt, TMultiGraph * mg, bool dosuperimpose, bool scancontent );
186  virtual void RedrawImage( TPad * pad, TGo4Picture * padopt, TGo4ASImage * im, TH2 * asihisto, bool scancontent );
187  virtual void RedrawLegend( TPad * pad, TGo4Picture * padopt, TGo4Slot * legslot );
188  virtual void RedrawSpecialObjects( TPad * pad, TGo4Slot* padslot);
189  virtual bool IsApplyToAllFlag();
190  virtual bool IsAutoZoomFlag();
191  virtual bool IsFreezeTitle();
192  virtual void ChangeDrawOptionForPad(TGo4Slot* padslot, int kind, int value, const char* drawopt );
193  virtual void ChangeDrawOption( int kind, int value, const char* drawopt );
194  virtual void ResetPadFillColors( TPad * pad, int col , TPad* backup=0);
195  virtual void ClearPad( TPad * pad, bool removeitems, bool removesubpads );
196  virtual void ClearPadItems( TGo4Slot * padslot, TGo4Slot* remain );
197  virtual void ProcessPadClear( TPad * pad, bool removeitems, bool removesubpads );
198  virtual void ProcessMarkersClear(TPad *pad, bool withsubpads);
199  virtual void SetPadDefaults( TPad * pad );
200  virtual void DisplayPadStatus( TPad * pad );
201  virtual void MoveScale( int expandfactor, int xaction, int yaction, int zaction );
202  virtual void MoveSingleScale( int expandfactor, int action, int naxis, TGo4Picture* opt, TObject* padhist);
203  virtual void TakeFullRangeFromHisto( TH1 * h1, TGo4Picture * padopt, bool isfirsthisto);
204  virtual void TakeFullRangeFromGraph( TGraph * gr, TGo4Picture * padopt, bool isfirst);
205  virtual void SetSelectedRangeToHisto( TPad* pad, TH1 * h1, THStack* hs, TGo4Picture * padopt, bool ishisto );
206  virtual bool GetVisibleRange(TPad* pad, int naxis, double & min, double & max);
207  virtual void PadRangeAxisChanged( TPad * pad );
208  virtual void PadRangeAxisChanged( TPad * pad, double rxmin, double rxmax, double rymin, double rymax );
209  virtual bool TakeSelectedAxisRange(int naxis, TGo4Picture* padopt, double selmin, double selmax, bool force);
210  virtual bool TakeSelectedAxisRange(int naxis, TGo4Picture* padopt, TAxis* ax);
211  virtual void GetSelectedRange(int & ndim, bool & autoscale,
212  double & xmin, double & xmax,
213  double & ymin, double & ymax,
214  double & zmin, double & zmax);
215  virtual void SetSelectedRange(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax );
216  virtual void SetAutoScale(bool on, TPad* selpad);
217  virtual void SetAutoZoomFlag(bool on);
218  virtual void SetApplyToAllFlag(bool on);
219  virtual void ResizeGedEditor();
220  virtual void ActivateInGedEditor(TObject* obj);
221  virtual void CleanupGedEditor();
222  virtual void ShootRepaintTimer();
223  virtual bool IsRepaintTimerActive();
224  virtual void ShootRepaintTimer(TPad * pad);
225  virtual void PadDeleted( TPad * pad );
226  virtual void SetFreezedTitle(const QString& title);
227  virtual void RectangularRatio(TPad* pad);
228  virtual void DefaultPadMargin(TPad* pad);
229 
230  public slots:
231 
232  virtual void SetCursorMode( bool on );
233  virtual void SetRegionMode( bool on );
234  virtual void SetPolygonMode( bool on );
235  virtual void SetLateXMode( bool on );
236  virtual void SetDrawingMode( bool on );
237  virtual void SetFreezeMouseMode( bool on );
238  virtual void RefreshButtons();
239  virtual void SelectedMarkerCmb_activated( int indx );
240  virtual void DelSelectedMarker_clicked();
241  virtual void SetMarkerPanel();
242  virtual void LogMarkerValues();
243  virtual void ClearAllMarkers();
244  virtual void GetConditionBtn_clicked();
245  virtual void InfoConditionBtn_clicked();
246  virtual void EditConditionBtn_clicked();
247  virtual void SetConditionBtn_clicked();
248  virtual void SaveMarkers();
249  virtual void LoadMarkers();
250  virtual void SetActivePad( TPad * pad );
251  virtual void PadClickedSlot( TPad * pad );
252  virtual void PadDoubleClickedSlot( TPad * pad );
253  virtual void CanvasDropEventSlot( QDropEvent * event, TPad * pad );
254  virtual void CanvasStatusEventSlot( const char * message );
255  virtual void ProcessPadDoubleClick();
256  virtual void MenuCommandExecutedSlot( TObject * obj, const char * cmdname );
257  virtual void CanvasUpdatedSlot();
258  virtual void SaveCanvas();
259  virtual void ProducePicture();
260  virtual void ProduceGraphFromMarkers();
261  virtual void PrintCanvas();
262  virtual void StartRootEditor();
263  virtual void StartConditionEditor();
264  virtual void ClearActivePad();
265  virtual void ClearCanvas();
266  virtual void AboutToShowOptionsMenu();
267  virtual void ShowEventStatus();
268  virtual void ProcessPadModifiedSignal();
269  virtual void RedrawPanel( TPad * pad, bool force );
270  virtual void checkRepaintSlot();
271  virtual void checkResizeSlot();
272  virtual void OptionsMenuItemActivated(int);
273  virtual void SelectMenuItemActivated(int);
274  virtual void ApplyToAllToggled(bool);
275  virtual void AutoScaleToggled(bool);
276  virtual void SuperImposeToggled(bool);
277  virtual void panelSlot(TGo4ViewPanel * panel, TPad * pad, int signalid);
278 
279  protected:
280 
281  QString fPanelName;
282  QByteArray fbaPanelName;
284  TVirtualPadEditor* fxPeditor;
287  QString fFreezedTitle;
290  QMenuBar* fMenuBar;
291  TPad* fxActivePad;
295  QStatusBar *CanvasStatus;
308  QMenu* fSelectMenu;
309  QSignalMapper* fSelectMap;
310  QCheckBox* fAutoScaleCheck;
311  QSignalMapper* fOptionsMap;
312  QMenu* fOptionsMenu;
313 
314  virtual void CheckActionAtTheEnd( TPad * pad );
315  virtual bool CompleteMarkerEdit( TPad * pad );
316  virtual void resizeEvent( QResizeEvent * e );
317  virtual int GetNumMarkers( TPad * pad, int kind );
318  virtual void AddMarkerObj( TPad * pad, int kind, TObject * obj );
319  virtual void SetActiveObj( TPad * pad, int kind, TGo4Slot * activeslot );
320  virtual TObject * GetActiveObj( TPad * pad, int kind );
321  virtual QString GetActiveObjName( TPad * pad, int kind );
322  virtual int GetAutoColor(int indx);
323 
324 };
325 
326 #endif
virtual void SetMouseMode(int mode)
virtual void ShootRepaintTimer()
bool fbCanvasCrosshair
virtual TObject * GetDrawObject(TPad *pad, const char *name)
virtual void CheckActionAtTheEnd(TPad *pad)
TPad * fxActivePad
virtual bool IsPadHasSubPads(TGo4Slot *padslot)
virtual void SwitchMarkerButton(int kind, bool on)
virtual void linkedRemoved(TGo4Slot *slot, TObject *obj)
virtual void ResetWidget()
virtual void RectangularRatio(TPad *pad)
virtual void PrintCanvas()
virtual void linkedUpdated(TGo4Slot *slot, TObject *obj)
virtual void SetPadDefaults(TPad *pad)
virtual void TakeFullRangeFromHisto(TH1 *h1, TGo4Picture *padopt, bool isfirsthisto)
virtual TGo4Slot * GetSuperimposeSlot(TGo4Slot *slot)
virtual void ApplyToAllToggled(bool)
QSignalMapper * fOptionsMap
virtual void RedrawImage(TPad *pad, TGo4Picture *padopt, TGo4ASImage *im, TH2 *asihisto, bool scancontent)
virtual void StartConditionEditor()
virtual const char * GetDrawObjectLinkName(TPad *pad, TObject *obj)
virtual void SetFreezeMouseMode(bool on)
virtual void MakePictureForPad(TGo4Picture *pic, TPad *pad, bool useitemname)
TVirtualPadEditor * fxPeditor
virtual void ActivateInGedEditor(TObject *obj)
virtual void SetDrawKind(TGo4Slot *slot, int kind)
virtual int GetAutoColor(int indx)
virtual void SetActivePad(TPad *pad)
bool fbModifiedSignalFlag
virtual bool IsRedrawBlocked()
virtual bool ProcessPadRedraw(TPad *pad, bool force)
virtual void EditConditionBtn_clicked()
virtual void RedrawMultiGraph(TPad *pad, TGo4Picture *padopt, TMultiGraph *mg, bool dosuperimpose, bool scancontent)
QMenu * fSelectMenu
virtual void RedrawStack(TPad *pad, TGo4Picture *padopt, THStack *hs, bool dosuperimpose, bool scancontent)
virtual QString GetSelectedMarkerName(TPad *pad)
virtual void StartConditionEditing(TPad *pad)
bool fbMarkEditorVisible
virtual bool GetVisibleRange(TPad *pad, int naxis, double &min, double &max)
virtual TGo4Slot * GetDrawObjectSlot(TPad *pad, const char *name)
virtual void PadDoubleClickedSlot(TPad *pad)
virtual const char * GetPanelName()
virtual bool IsAutoZoomFlag()
virtual bool ScanDrawOptions(TPad *pad, TGo4Slot *padslot, TGo4Picture *pic, bool onlyscan)
virtual TObject * GetActiveObj(TPad *pad, int kind)
virtual void ResizeGedEditor()
virtual void SaveCanvas()
virtual void ProcessMarkersClear(TPad *pad, bool withsubpads)
virtual void ProduceGraphFromMarkers()
virtual void GetConditionBtn_clicked()
virtual TGo4Slot * GetPanelSlot()
virtual void InfoConditionBtn_clicked()
virtual void AutoScaleToggled(bool)
Graphic Qt Widget based Canvas.
Definition: QRootCanvas.h:68
virtual void ProducePicture()
virtual const char * GetDrawItemName(int itemcnt=0)
virtual void SetAutoZoomFlag(bool on)
bool fbLeaveFocusAfterCondEnd
virtual TGo4Slot * GetPadMainObjectSlot(TPad *pad)
virtual void CompleteInitialization()
virtual void ProcessPadDoubleClick()
virtual void RedrawPanel(TPad *pad, bool force)
virtual void MoveScale(int expandfactor, int xaction, int yaction, int zaction)
virtual void resizeEvent(QResizeEvent *e)
virtual void ClearCanvas()
virtual void DelSelectedMarker_clicked()
virtual void Divide(int numX, int numY)
virtual void PadClickedSlot(TPad *pad)
virtual void StartRootEditor()
virtual void LogMarkerValues()
virtual void SetCursorMode(bool on)
virtual bool IsAcceptDrag(const char *itemname, TClass *cl, int kind)
virtual void CheckForSpecialObjects(TPad *pad, TGo4Slot *padslot)
virtual void TakeFullRangeFromGraph(TGraph *gr, TGo4Picture *padopt, bool isfirst)
virtual void UpdatePanelCaption()
virtual void ShowEventStatus()
QRootWindow * fxRooteditor
virtual QString GetActiveObjName(TPad *pad, int kind)
virtual void SetConditionBtn_clicked()
virtual void UndrawItemOnPanel(const char *itemname)
virtual void DeleteDrawObject(TPad *pad, const char *name)
virtual TPad * GetSlotPad(TGo4Slot *slot)
virtual TPad * GetSubPad(TPad *toppad, int num, bool onlytoplevel)
virtual TObject * GetPadMainObject(TPad *pad)
virtual void AboutToShowOptionsMenu()
virtual void ProducePadsList(TObjArray *arr, TPad *toppad)
virtual void SetApplyToAllFlag(bool on)
virtual void AllocatePadOptions(TPad *pad)
virtual bool IsConditionSelected(TPad *pad)
virtual bool IsRepaintTimerActive()
virtual const char * GetSpecialDrawOption(TGo4Slot *slot)
virtual void SetSelectedRange(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
QMenu * fOptionsMenu
virtual void DisplayPadStatus(TPad *pad)
virtual void CheckObjectsAssigments(TPad *pad, TGo4Slot *padslot)
virtual void RedrawLegend(TPad *pad, TGo4Picture *padopt, TGo4Slot *legslot)
virtual TGo4Slot * AddNewSlot(const char *name, TGo4Slot *parent)
virtual void SaveMarkers()
virtual void ProcessCanvasAdopt(TPad *tgtpad, TPad *srcpad, const char *srcitemname)
virtual void SetSelectedMarker(TPad *pad, const QString &selname, int selindex)
virtual bool ShiftSelectedObjectToEnd(TPad *pad)
virtual QRootCanvas * GetQCanvas()
virtual void checkRepaintSlot()
virtual void RedrawHistogram(TPad *pad, TGo4Picture *padopt, TH1 *his, bool scancontent, bool first_draw)
virtual void PadRangeAxisChanged(TPad *pad)
bool fbEditorFrameVisible
TPad * fxResizeTimerPad
virtual void MarkPadModified(TPad *pad)
virtual void DropOnPad(TPad *pad, const char *itemname, TClass *cl, int kind)
virtual void UpdatePadStatus(TPad *pad, bool removeitems)
QStatusBar * CanvasStatus
virtual void SetPolygonMode(bool on)
bool fbCanvasEventstatus
virtual void CleanupGedEditor()
virtual void MoveSingleScale(int expandfactor, int action, int naxis, TGo4Picture *opt, TObject *padhist)
virtual void SelectMenuItemActivated(int)
virtual TGo4Slot * GetPadSlot(TPad *pad)
virtual void SelectedMarkerCmb_activated(int indx)
virtual void ClearPad(TPad *pad, bool removeitems, bool removesubpads)
virtual TPad * FindPadWithItem(const char *itemname)
virtual void SetSelectedRangeToHisto(TPad *pad, TH1 *h1, THStack *hs, TGo4Picture *padopt, bool ishisto)
virtual int GetNumMarkers(TPad *pad, int kind)
virtual void PadDeleted(TPad *pad)
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
virtual void SetRegionMode(bool on)
virtual void SetSpecialDrawOption(TGo4Slot *slot, const char *drawopt)
virtual ~TGo4ViewPanel()
virtual void ClearAllMarkers()
virtual void ClearActivePad()
virtual void GetSelectedRange(int &ndim, bool &autoscale, double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
virtual void RedrawGraph(TPad *pad, TGo4Picture *padopt, TGraph *gr, bool scancontent, bool first_draw)
virtual void OptionsMenuItemActivated(int)
virtual void SetSelectedObjectIndex(TGo4Slot *slot, int indx)
virtual TGo4Picture * GetPadOptions(TPad *pad)
virtual int GetSelectedMarkerIndex(TPad *pad)
QSignalMapper * fSelectMap
virtual void AddMarkerObj(TPad *pad, int kind, TObject *obj)
virtual int GetDrawKind(TGo4Slot *slot)
virtual void panelSlot(TGo4ViewPanel *panel, TPad *pad, int signalid)
virtual TObject * ProduceSuperimposeObject(TGo4Slot *padslot, TGo4Picture *padopt, TGo4Slot *sislot, TGo4Slot *legslot, TObjArray *objs, TObjArray *objslots, bool showitems)
virtual void SetSlotPad(TGo4Slot *padslot, TPad *pad)
QMenuBar * fMenuBar
virtual void SetSelectedMarkerByMouseClick(TPad *pad, const char *name)
QByteArray fbaPanelName
virtual void ProcessPadModifiedSignal()
virtual void CollectMainDrawObjects(TGo4Slot *slot, TObjArray *objs, TObjArray *objslots, int modifier)
virtual void ScanObjectsDrawOptions(bool onlyscan, TGo4Slot *padslot, TObjArray *objs, TObjArray *objslots)
virtual void ProcessPadStatusUpdate(TPad *pad, TGo4Slot *parent, bool removeitems)
TGo4ViewPanel(QWidget *parent=0, const char *name=0)
virtual TH1 * GetPadHistogram(TPad *pad)
virtual void SetPadSuperImpose(TPad *pad, bool on)
QString fPanelName
virtual bool TakeSelectedAxisRange(int naxis, TGo4Picture *padopt, double selmin, double selmax, bool force)
virtual void ClearPadItems(TGo4Slot *padslot, TGo4Slot *remain)
QCheckBox * fAutoScaleCheck
virtual void SetLateXMode(bool on)
virtual void RefreshButtons()
QString fFreezedTitle
virtual bool IsPanelPad(TPad *pad)
virtual TGo4Slot * GetSelectedSlot(TPad *pad, int *selkind, TObject **selobj)
virtual void BlockPanelRedraw(bool on)
virtual void CanvasDropEventSlot(QDropEvent *event, TPad *pad)
TPad * fxRepaintTimerPad
TPad * fxDoubleClickTimerPad
virtual void SetActiveObj(TPad *pad, int kind, TGo4Slot *activeslot)
virtual void CollectSpecialObjects(TPad *pad, TObjArray *objs, int selectkind)
virtual void LoadMarkers()
virtual void RedrawSpecialObjects(TPad *pad, TGo4Slot *padslot)
virtual void SetPanelName(const char *newname)
virtual bool IsApplyToAllFlag()
virtual void ChangeDrawOption(int kind, int value, const char *drawopt)
virtual int GetNumberOfPads(TPad *toppad)
virtual TPad * GetActivePad()
virtual void SetMarkerPanel()
virtual void SuperImposeToggled(bool)
virtual void DefaultPadMargin(TPad *pad)
virtual void ProcessPictureRedraw(const char *picitemname, TPad *pad, TGo4Picture *pic)
virtual void SetDrawingMode(bool on)
virtual bool DeleteDrawObjects(TPad *pad, int kindtodelete)
virtual TObject * GetSelectedObject(TPad *pad, const char **drawopt)
virtual void CanvasStatusEventSlot(const char *message)
virtual void checkResizeSlot()
virtual TCanvas * GetCanvas()
virtual bool IsFreezeTitle()
virtual TGo4Slot * AddDrawObject(TPad *pad, int kind, const char *itemname, TObject *obj, bool owner, const char *drawopt)
virtual void ProcessPadClear(TPad *pad, bool removeitems, bool removesubpads)
virtual void SetFreezedTitle(const QString &title)
virtual bool CompleteMarkerEdit(TPad *pad)
virtual int GetMouseMode()
virtual void MenuCommandExecutedSlot(TObject *obj, const char *cmdname)
virtual void ResetPadFillColors(TPad *pad, int col, TPad *backup=0)
virtual int GetSelectedObjectIndex(TGo4Slot *slot)
virtual void CanvasUpdatedSlot()
virtual void ChangeDrawOptionForPad(TGo4Slot *padslot, int kind, int value, const char *drawopt)
virtual void SetAutoScale(bool on, TPad *selpad)