Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TEveStraightLineSetEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
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_TEveStraightLineSetEditor
13#define ROOT_TEveStraightLineSetEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
22
24{
25private:
28
29protected:
30 TEveStraightLineSet* fM; // fModel dynamic-casted to TEveStraightLineSetEditor
31
32 // Declare widgets
35
36public:
37 TEveStraightLineSetEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
39
40 void SetModel(TObject* obj) override;
41
42 // Declare callback/slot methods
43 void DoRnrMarkers();
44 void DoRnrLines();
45
46 ClassDefOverride(TEveStraightLineSetEditor, 0); // Editor for TEveStraightLineSet class.
47};
48
49#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
ClassDefOverride(TEveStraightLineSetEditor, 0)
TEveStraightLineSetEditor & operator=(const TEveStraightLineSetEditor &)
void DoRnrMarkers()
Slot for RnrMarkers.
void DoRnrLines()
Slot for RnrLines.
void SetModel(TObject *obj) override
Set model object.
TEveStraightLineSetEditor(const TEveStraightLineSetEditor &)
Set of straight lines with optional markers along the lines.
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:675
TGNumberEntry is a number entry input widget with up/down buttons.
ROOT GUI Window base class.
Definition TGWindow.h:23
TGedFrame(const TGedFrame &)=delete
Mother of all ROOT objects.
Definition TObject.h:42