// @(#)root/eve:$Id: TEveDigitSetEditor.h 21310 2007-12-10 19:05:45Z matevz $
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveDigitSetEditor
#define ROOT_TEveDigitSetEditor

#include "TGedFrame.h"

class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;

class TEveDigitSet;

class TEveGValuator;
class TEveGDoubleValuator;
class TEveTransSubEditor;

// It would be also good to have button to change model to the palette
// object itself.
class TEveRGBAPaletteSubEditor;

class TEveDigitSetEditor : public TGedFrame
{
private:
   TEveDigitSetEditor(const TEveDigitSetEditor&);            // Not implemented
   TEveDigitSetEditor& operator=(const TEveDigitSetEditor&); // Not implemented

   void CreateInfoTab();
protected:
   TEveDigitSet             *fM;              // Model object.

   TEveTransSubEditor       *fHMTrans;        // TEveTrans sub-editor.
   TEveRGBAPaletteSubEditor *fPalette;        // Palette sub-editor.

   TGHorizontalFrame    *fHistoButtFrame;  // Frame holding histogram display buttons.
   TGVerticalFrame      *fInfoFrame;       // Frame displaying basic digit statistics.

public:
   TEveDigitSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                      UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~TEveDigitSetEditor() {}

   virtual void SetModel(TObject* obj);

   // Declare callback/slot methods
   void DoHisto();
   void DoRangeHisto();
   void PlotHisto(Int_t min, Int_t max);

   ClassDef(TEveDigitSetEditor, 1); // Editor for TEveDigitSet class.
};

#endif

Last update: Thu Jan 17 08:48:18 2008

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.