Logo ROOT   6.18/05
Reference Guide
TEveProjectionAxesEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 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_TEveProjectionAxesEditor
13#define ROOT_TEveProjectionAxesEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGComboBox;
19class TEveGValuator;
20
22
24{
25private:
28
29protected:
30 TEveProjectionAxes *fM; // Model object.
31
34
35 TGVerticalFrame *fCenterFrame; // Parent frame for Center tab.
36 TGCheckButton *fDrawCenter; // draw center widget
37 TGCheckButton *fDrawOrigin; // draw origin widget
38
39public:
40 TEveProjectionAxesEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
43
44 virtual void SetModel(TObject* obj);
45
46 // Declare callback/slot methods
47
48 void DoLabMode(Int_t type);
49 void DoAxesMode(Int_t type);
50
51 void DoDrawCenter();
52 void DoDrawOrigin();
53
54 ClassDef(TEveProjectionAxesEditor, 0); // GUI editor for TEveProjectionAxes.
55};
56
57#endif
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:326
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
int type
Definition: TGX11.cxx:120
Composite GUI element for single value selection (supports label, number-entry and slider).
GUI editor for TEveProjectionAxes.
void DoLabMode(Int_t type)
Slot for setting tick-mark step mode.
void DoAxesMode(Int_t type)
Slot for setting number of axes.
void DoDrawOrigin()
Slot for setting draw of origin.
void DoDrawCenter()
Slot for setting draw of center.
TEveProjectionAxesEditor(const TEveProjectionAxesEditor &)
virtual void SetModel(TObject *obj)
Set model object.
TEveProjectionAxesEditor & operator=(const TEveProjectionAxesEditor &)
Axes for non-linear projections.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Mother of all ROOT objects.
Definition: TObject.h:37