Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveStraightLineSetEditor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveStraightLineSetEditor
0013 #define ROOT_TEveStraightLineSetEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TGCheckButton;
0018 class TGNumberEntry;
0019 class TGColorSelect;
0020 
0021 class TEveStraightLineSet;
0022 
0023 class TEveStraightLineSetEditor : public TGedFrame
0024 {
0025 private:
0026    TEveStraightLineSetEditor(const TEveStraightLineSetEditor&);            // Not implemented
0027    TEveStraightLineSetEditor& operator=(const TEveStraightLineSetEditor&); // Not implemented
0028 
0029 protected:
0030    TEveStraightLineSet* fM; // fModel dynamic-casted to TEveStraightLineSetEditor
0031 
0032    // Declare widgets
0033    TGCheckButton*     fRnrMarkers;
0034    TGCheckButton*     fRnrLines;
0035 
0036 public:
0037    TEveStraightLineSetEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0038    ~TEveStraightLineSetEditor() override {}
0039 
0040    void SetModel(TObject* obj) override;
0041 
0042    // Declare callback/slot methods
0043    void DoRnrMarkers();
0044    void DoRnrLines();
0045 
0046    ClassDefOverride(TEveStraightLineSetEditor, 0); // Editor for TEveStraightLineSet class.
0047 };
0048 
0049 #endif