TCurlyLineEditor.h

Go to the documentation of this file.
00001 // @(#)root/ged:$Id: TCurlyLineEditor.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Ilka  Antcheva, Otto Schaile 15/12/04
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, 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_TCurlyLineEditor
00013 #define ROOT_TCurlyLineEditor
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 //  TCurlyLineEditor                                                    //
00018 //                                                                      //
00019 //  Implements GUI for editing CurlyLine attributes: wavelength ampl.   //                                             //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TGedFrame
00024 #include "TGedFrame.h"
00025 #endif
00026 
00027 class TGNumberEntry;
00028 class TGCheckButton;
00029 class TCurlyLine;
00030 
00031 class TCurlyLineEditor : public TGedFrame {
00032 
00033 protected:
00034    TCurlyLine           *fCurlyLine;            // CurlyLineobject
00035    TGNumberEntry        *fStartXEntry;          // start  x entry
00036    TGNumberEntry        *fEndXEntry;            // end  x entry
00037    TGNumberEntry        *fStartYEntry;          // start  y entry
00038    TGNumberEntry        *fEndYEntry;            // end  y entry
00039    TGNumberEntry        *fAmplitudeEntry;       // ampl entry
00040    TGNumberEntry        *fWaveLengthEntry;      // wavelength entry
00041    TGCheckButton        *fIsWavy;               // toggle wavy / curly
00042    TGCompositeFrame     *fStartXFrame;
00043 
00044    virtual void   ConnectSignals2Slots();
00045 
00046 public:
00047    TCurlyLineEditor(const TGWindow *p = 0 , 
00048                 Int_t width = 140, Int_t height = 30,
00049                 UInt_t options = kChildFrame,
00050                 Pixel_t back = GetDefaultFrameBackground());
00051    virtual ~TCurlyLineEditor();
00052 
00053    virtual void   SetModel(TObject* obj);
00054    virtual void   ActivateBaseClassEditors(TClass* cl);
00055    virtual void   DoStartXY();
00056    virtual void   DoEndXY();
00057    virtual void   DoAmplitude();
00058    virtual void   DoWaveLength();
00059    virtual void   DoWavy();
00060 
00061    ClassDef(TCurlyLineEditor,0)  // GUI for editing arrow attributes
00062 };
00063 
00064 #endif

Generated on Tue Jul 5 14:19:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1