library: libGed
#include "TArrowEditor.h"

TArrowEditor


class description - source file - inheritance tree (.pdf)

class TArrowEditor : public TGedFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
TGWidget
<-
TGedFrame
<-
TArrowEditor

    protected:
TGComboBox* BuildOptionComboBox(TGFrame* parent, Int_t id) virtual void ConnectSignals2Slots() Int_t GetShapeEntry(Option_t* opt) public:
TArrowEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TArrowEditor(const TArrowEditor&) virtual ~TArrowEditor() static TClass* Class() virtual void DoAngle() virtual void DoEndPoint() virtual void DoOption(Int_t id) virtual void DoSize() virtual void DoStartPoint() virtual TClass* IsA() const virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TArrow* fArrow arrow object TGComboBox* fOptionCombo arrow shapes combo box TGNumberEntry* fAngleEntry opening angle entry TGNumberEntry* fSizeEntry size entry TGNumberEntry* fStartPointXEntry start point x entry TGNumberEntry* fEndPointXEntry end point x entry TGNumberEntry* fStartPointYEntry start point y entry TGNumberEntry* fEndPointYEntry end point y entry

Class Description

                                                                      
  TArrowEditor                                                        
                                                                      
  Implements GUI for editing arrow attributes: shape, size, angle.    //                                             
                                                                      

/* */

TArrowEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back) : TGedFrame(p, id, width, height, options | kVerticalFrame, back)
 Constructor of arrow GUI.

~TArrowEditor()
 Destructor of arrow editor.

void ConnectSignals2Slots()
 Connect signals to slots.

void SetModel(TVirtualPad* pad, TObject* obj, Int_t)
 Pick up the used arrow attributes.

void DoAngle()
 Slot connected to the arrow opening angle setting.

void DoOption(Int_t id)
 Slot connected to the arrow shape setting.

void DoSize()
 Slot connected to the arrow size.

void DoStartPoint()
 Slot connected to the arrow StartPoint.

void DoEndPoint()
 Slot connected to the arrow EndPoint.

TGComboBox* BuildOptionComboBox(TGFrame* parent, Int_t id)
 Arrow shape combobox.

Int_t GetShapeEntry(Option_t *option)
 Return shape entry according to the arrow draw option.



Inline Functions


             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TArrowEditor TArrowEditor(const TArrowEditor&)


Author: Ilka Antcheva 20/10/04
Last update: root/ged:$Name: $:$Id: TArrowEditor.cxx
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.