ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
TCurlyArcEditor.h
Go to the documentation of this file.
1
// @(#)root/ged:$Id$
2
// Author: Ilka Antcheva, Otto Schaile 15/12/04
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, 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_TCurlyArcEditor
13
#define ROOT_TCurlyArcEditor
14
15
16
#include "
TGedFrame.h
"
17
18
class
TGNumberEntry
;
19
class
TCurlyArc
;
20
21
class
TCurlyArcEditor
:
public
TGedFrame
{
22
23
protected
:
24
TCurlyArc
*
fCurlyArc
;
///< CurlyArc object
25
TGNumberEntry
*
fRadiusEntry
;
///< radius entry
26
TGNumberEntry
*
fPhiminEntry
;
///< Phimin entry
27
TGNumberEntry
*
fPhimaxEntry
;
///< Phimax entry
28
TGNumberEntry
*
fCenterXEntry
;
///< center x entry
29
TGNumberEntry
*
fCenterYEntry
;
///< center y entry
30
31
virtual
void
ConnectSignals2Slots
();
32
33
public
:
34
TCurlyArcEditor
(
const
TGWindow
*p = 0,
35
Int_t
width
= 140,
Int_t
height = 30,
36
UInt_t
options =
kChildFrame
,
37
Pixel_t
back =
GetDefaultFrameBackground
());
38
virtual
~TCurlyArcEditor
();
39
40
virtual
void
SetModel
(
TObject
* obj);
41
virtual
void
DoRadius
();
42
virtual
void
DoPhimin
();
43
virtual
void
DoPhimax
();
44
virtual
void
DoCenterXY
();
45
46
ClassDef
(
TCurlyArcEditor
,0)
// GUI for editing arrow attributes
47
};
48
49
#endif
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition
TDocParser.cxx:121
TGedFrame.h
TCurlyArcEditor
Implements GUI for editing CurlyArc attributes: radius, phi1, phi2.
Definition
TCurlyArcEditor.h:21
TCurlyArcEditor::DoCenterXY
virtual void DoCenterXY()
Slot connected to set center .
Definition
TCurlyArcEditor.cxx:166
TCurlyArcEditor::DoPhimin
virtual void DoPhimin()
Slot connected to the phimin setting.
Definition
TCurlyArcEditor.cxx:188
TCurlyArcEditor::fCenterYEntry
TGNumberEntry * fCenterYEntry
center y entry
Definition
TCurlyArcEditor.h:29
TCurlyArcEditor::ConnectSignals2Slots
virtual void ConnectSignals2Slots()
Connect signals to slots.
Definition
TCurlyArcEditor.cxx:119
TCurlyArcEditor::fCurlyArc
TCurlyArc * fCurlyArc
CurlyArc object.
Definition
TCurlyArcEditor.h:24
TCurlyArcEditor::fRadiusEntry
TGNumberEntry * fRadiusEntry
radius entry
Definition
TCurlyArcEditor.h:25
TCurlyArcEditor::SetModel
virtual void SetModel(TObject *obj)
Pick up the used curly arc attributes.
Definition
TCurlyArcEditor.cxx:138
TCurlyArcEditor::DoRadius
virtual void DoRadius()
Slot connected to the radius setting.
Definition
TCurlyArcEditor.cxx:177
TCurlyArcEditor::fPhimaxEntry
TGNumberEntry * fPhimaxEntry
Phimax entry.
Definition
TCurlyArcEditor.h:27
TCurlyArcEditor::fCenterXEntry
TGNumberEntry * fCenterXEntry
center x entry
Definition
TCurlyArcEditor.h:28
TCurlyArcEditor::~TCurlyArcEditor
virtual ~TCurlyArcEditor()
Destructor of CurlyArc editor.
Definition
TCurlyArcEditor.cxx:112
TCurlyArcEditor::fPhiminEntry
TGNumberEntry * fPhiminEntry
Phimin entry.
Definition
TCurlyArcEditor.h:26
TCurlyArcEditor::DoPhimax
virtual void DoPhimax()
Slot connected to the phimax setting.
Definition
TCurlyArcEditor.cxx:199
TCurlyArc
Implements curly or wavy arcs used to draw Feynman diagrams.
Definition
TCurlyArc.h:18
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition
TGFrame.cxx:683
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition
TGNumberEntry.h:148
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGedFrame
Base frame for implementing GUI - a service class.
Definition
TGedFrame.h:27
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
unsigned int
gui
ged
inc
TCurlyArcEditor.h
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:27 (GVA Time) using Doxygen 1.9.8