library: libGed #include "TAttLineEditor.h"

# TAttLineEditor

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

## class TAttLineEditor : public TGedFrame

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

`TGWidget`

<-

`TGedFrame`

<-

`TAttLineEditor`

        protected:

          virtual void ConnectSignals2Slots()

        public:

                          TAttLineEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
                          TAttLineEditor(const TAttLineEditor&)
                  virtual ~TAttLineEditor()
           static TClass* Class()
             virtual void DoLineColor(Pixel_t color)
             virtual void DoLineStyle(Int_t style)
             virtual void DoLineWidth(Int_t width)
          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:

                     TAttLine* fAttLine      line attribute object
          TGLineStyleComboBox* fStyleCombo   line style combo box
          TGLineWidthComboBox* fWidthCombo   line width combo box
                TGColorSelect* fColorSelect  line color widget

## Class Description

      TAttLineEditor

      Implements GUI for editing line attributes.                         //
               color, line width, line style

/* */

TAttLineEditor(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 line attributes GUI.

~TAttLineEditor()

     Destructor of line editor.

void ConnectSignals2Slots()

     Connect signals to slots.

void SetModel(TVirtualPad* pad, TObject* obj, Int_t)

     Pick up the used line attributes.

void DoLineColor(Pixel_t color)

     Slot connected to the line color.

void DoLineStyle(Int_t style)

     Slot connected to the line style.

void DoLineWidth(Int_t width)

     Slot connected to the line width.

### Inline Functions

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

Author: Ilka Antcheva 10/05/04
Last update: root/ged:$Name: $:$Id: TAttLineEditor.cxx,v 1.6 2005/05/14 00:19:58 rdm Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *