Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
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 = nullptr, Int_t width=170, Int_t height=30,
43
44 void SetModel(TObject* obj) override;
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 ClassDefOverride(TEveProjectionAxesEditor, 0); // GUI editor for TEveProjectionAxes.
55};
56
57#endif
@ kChildFrame
Definition GuiTypes.h:380
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:41
int Int_t
Signed integer 4 bytes (int).
Definition RtypesCore.h:59
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Definition RtypesCore.h:60
Composite GUI element for single value selection (supports label, number-entry and slider).
void SetModel(TObject *obj) override
Set model object.
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.
ClassDefOverride(TEveProjectionAxesEditor, 0)
TEveProjectionAxesEditor(const TEveProjectionAxesEditor &)
TEveProjectionAxesEditor & operator=(const TEveProjectionAxesEditor &)
Axes for non-linear projections.
Selects different options.
Definition TGButton.h:264
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition TGComboBox.h:47
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:675
A composite frame that layout their children in vertical way.
Definition TGFrame.h:376
ROOT GUI Window base class.
Definition TGWindow.h:23
TGedFrame(const TGedFrame &)=delete
Mother of all ROOT objects.
Definition TObject.h:42