Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveDigitSetEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id: 2e075f81994f9a7eca182d23ab52b081eda5c617 $
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveDigitSetEditor
13#define ROOT_TEveDigitSetEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
21class TEveDigitSet;
22
23class TEveGValuator;
26
27// It would be also good to have button to change model to the palette
28// object itself.
30
32{
33private:
34 TEveDigitSetEditor(const TEveDigitSetEditor&); // Not implemented
35 TEveDigitSetEditor& operator=(const TEveDigitSetEditor&); // Not implemented
36
37 void CreateInfoTab();
38protected:
39 TEveDigitSet *fM; // Model object.
40
41 TEveRGBAPaletteSubEditor *fPalette; // Palette sub-editor.
42
43 TGHorizontalFrame *fHistoButtFrame; // Frame holding histogram display buttons.
44 TGVerticalFrame *fInfoFrame; // Frame displaying basic digit statistics.
45
46public:
47 TEveDigitSetEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
49 ~TEveDigitSetEditor() override {}
50
51 void SetModel(TObject* obj) override;
52
53 // Declare callback/slot methods
54 void DoHisto();
55 void DoRangeHisto();
56 void PlotHisto(Int_t min, Int_t max);
57
58 ClassDefOverride(TEveDigitSetEditor, 0); // Editor for TEveDigitSet class.
59};
60
61#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
int Int_t
Definition RtypesCore.h:45
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Editor for TEveDigitSet class.
void PlotHisto(Int_t min, Int_t max)
Plots a histogram from digit vales with given range.
void DoHisto()
Show histogram slot.
void SetModel(TObject *obj) override
Set model object.
TEveDigitSetEditor(const TEveDigitSetEditor &)
TEveRGBAPaletteSubEditor * fPalette
TGHorizontalFrame * fHistoButtFrame
void CreateInfoTab()
Create information tab.
ClassDefOverride(TEveDigitSetEditor, 0)
TGVerticalFrame * fInfoFrame
void DoRangeHisto()
Show ranged histogram slot.
TEveDigitSetEditor & operator=(const TEveDigitSetEditor &)
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
Composite GUI element for selection of range (label, two number-entries and double-slider).
Composite GUI element for single value selection (supports label, number-entry and slider).
Sub-editor for TEveRGBAPalette class.
Sub-editor for TEveTrans class.
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
A composite frame that layout their children in horizontal way.
Definition TGFrame.h:385
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41