00001 // @(#)root/eve:$Id: TEveProjectionAxesEditor.h 27341 2009-02-03 19:47:35Z matevz $ 00002 // Author: Matevz Tadel 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEveProjectionAxesEditor 00013 #define ROOT_TEveProjectionAxesEditor 00014 00015 #include "TGedFrame.h" 00016 00017 class TGCheckButton; 00018 class TGComboBox; 00019 class TEveGValuator; 00020 00021 class TEveProjectionAxes; 00022 00023 class TEveProjectionAxesEditor : public TGedFrame 00024 { 00025 private: 00026 TEveProjectionAxesEditor(const TEveProjectionAxesEditor&); // Not implemented 00027 TEveProjectionAxesEditor& operator=(const TEveProjectionAxesEditor&); // Not implemented 00028 00029 protected: 00030 TEveProjectionAxes *fM; // Model object. 00031 00032 TGComboBox *fLabMode; 00033 TGComboBox *fAxesMode; 00034 00035 TGVerticalFrame *fCenterFrame; // Parent frame for Center tab. 00036 TGCheckButton *fDrawCenter; // draw center widget 00037 TGCheckButton *fDrawOrigin; // draw origin widget 00038 00039 public: 00040 TEveProjectionAxesEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 00041 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); 00042 virtual ~TEveProjectionAxesEditor() {} 00043 00044 virtual void SetModel(TObject* obj); 00045 00046 // Declare callback/slot methods 00047 00048 void DoLabMode(Int_t type); 00049 void DoAxesMode(Int_t type); 00050 00051 void DoDrawCenter(); 00052 void DoDrawOrigin(); 00053 00054 ClassDef(TEveProjectionAxesEditor, 0); // GUI editor for TEveProjectionAxes. 00055 }; 00056 00057 #endif