ROOT logo
// $Id$
// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/**************************************************************************
 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
 * full copyright notice.                                                 *
 **************************************************************************/

#ifndef AliEveITSScaledModuleEditor_H
#define AliEveITSScaledModuleEditor_H

#include <TGedFrame.h>

class TGNumberEntry;
class TGColorSelect;
class TGComboBox;

class TEveGValuator;
class TEveGDoubleValuator;
class TEveRGBAPalette;

class AliEveDigitScaleInfo;
class AliEveITSScaledModule;
class AliITSsegmentation;

/******************************************************************************/

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

  virtual void   SetModel(TObject* obj);

  void DoScale();
  void DoStatType(Int_t t);

protected:
  AliEveITSScaledModule *fModule;       // Model object.

  TGNumberEntry         *fScale;        // Number-entry for digit-scale.
  TGComboBox            *fStatistic;    // Selection of scaling algorithm.

  TGVerticalFrame       *fInfoFrame;    // Frame in "Info" tab.
  TGLabel               *fInfoLabel0;   // Info text.
  TGLabel               *fInfoLabel1;   // Info text.

private:
  void CreateInfoFrame();

  AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&);            // Not implemented
  AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented

  ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule.
};

#endif
 AliEveITSScaledModuleEditor.h:1
 AliEveITSScaledModuleEditor.h:2
 AliEveITSScaledModuleEditor.h:3
 AliEveITSScaledModuleEditor.h:4
 AliEveITSScaledModuleEditor.h:5
 AliEveITSScaledModuleEditor.h:6
 AliEveITSScaledModuleEditor.h:7
 AliEveITSScaledModuleEditor.h:8
 AliEveITSScaledModuleEditor.h:9
 AliEveITSScaledModuleEditor.h:10
 AliEveITSScaledModuleEditor.h:11
 AliEveITSScaledModuleEditor.h:12
 AliEveITSScaledModuleEditor.h:13
 AliEveITSScaledModuleEditor.h:14
 AliEveITSScaledModuleEditor.h:15
 AliEveITSScaledModuleEditor.h:16
 AliEveITSScaledModuleEditor.h:17
 AliEveITSScaledModuleEditor.h:18
 AliEveITSScaledModuleEditor.h:19
 AliEveITSScaledModuleEditor.h:20
 AliEveITSScaledModuleEditor.h:21
 AliEveITSScaledModuleEditor.h:22
 AliEveITSScaledModuleEditor.h:23
 AliEveITSScaledModuleEditor.h:24
 AliEveITSScaledModuleEditor.h:25
 AliEveITSScaledModuleEditor.h:26
 AliEveITSScaledModuleEditor.h:27
 AliEveITSScaledModuleEditor.h:28
 AliEveITSScaledModuleEditor.h:29
 AliEveITSScaledModuleEditor.h:30
 AliEveITSScaledModuleEditor.h:31
 AliEveITSScaledModuleEditor.h:32
 AliEveITSScaledModuleEditor.h:33
 AliEveITSScaledModuleEditor.h:34
 AliEveITSScaledModuleEditor.h:35
 AliEveITSScaledModuleEditor.h:36
 AliEveITSScaledModuleEditor.h:37
 AliEveITSScaledModuleEditor.h:38
 AliEveITSScaledModuleEditor.h:39
 AliEveITSScaledModuleEditor.h:40
 AliEveITSScaledModuleEditor.h:41
 AliEveITSScaledModuleEditor.h:42
 AliEveITSScaledModuleEditor.h:43
 AliEveITSScaledModuleEditor.h:44
 AliEveITSScaledModuleEditor.h:45
 AliEveITSScaledModuleEditor.h:46
 AliEveITSScaledModuleEditor.h:47
 AliEveITSScaledModuleEditor.h:48
 AliEveITSScaledModuleEditor.h:49
 AliEveITSScaledModuleEditor.h:50
 AliEveITSScaledModuleEditor.h:51
 AliEveITSScaledModuleEditor.h:52
 AliEveITSScaledModuleEditor.h:53
 AliEveITSScaledModuleEditor.h:54
 AliEveITSScaledModuleEditor.h:55
 AliEveITSScaledModuleEditor.h:56
 AliEveITSScaledModuleEditor.h:57
 AliEveITSScaledModuleEditor.h:58
 AliEveITSScaledModuleEditor.h:59