Logo ROOT  
Reference Guide
Go to the documentation of this file.
1// @(#)root/ged:$Id$
2// Author: Ilka Antcheva 08/03/05
5 * Copyright (C) 1995-2002, 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 *************************************************************************/
12#ifndef ROOT_TFrameEditor
13#define ROOT_TFrameEditor
16#include "TGedFrame.h"
18class TGRadioButton;
20class TGLayoutHints;
21class TFrame;
23class TFrameEditor : public TGedFrame {
27 TGRadioButton *fBmode; ///< set sinken frame border mode
28 TGRadioButton *fBmode0; ///< set no border
29 TGRadioButton *fBmode1; ///< set raised frame border mode
30 TGLayoutHints *fBmodelh; ///< layout hints for border mode buttons
31 TGLineWidthComboBox *fBsize; ///< set frame border size
33 virtual void ConnectSignals2Slots();
36 TFrameEditor(const TGWindow *p =0,
37 Int_t width = 140, Int_t height = 30,
38 UInt_t options = kChildFrame,
40 virtual ~TFrameEditor();
42 virtual void SetModel(TObject* obj);
43 virtual void DoBorderMode();
44 virtual void DoBorderSize(Int_t size);
46 ClassDef(TFrameEditor,0) //editor of TFrame objects
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Editor of frame objects.
Definition: TFrameEditor.h:23
TFrame * fFrame
Definition: TFrameEditor.h:26
TGRadioButton * fBmode
set sinken frame border mode
Definition: TFrameEditor.h:27
TGLineWidthComboBox * fBsize
set frame border size
Definition: TFrameEditor.h:31
TFrameEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TFrame editor GUI.
virtual void DoBorderMode()
Slot connected to the border mode settings.
virtual void DoBorderSize(Int_t size)
Slot connected to the border size settings.
virtual ~TFrameEditor()
Destructor of frame editor.
TGRadioButton * fBmode0
set no border
Definition: TFrameEditor.h:28
virtual void SetModel(TObject *obj)
Pick up the frame attributes.
TGLayoutHints * fBmodelh
layout hints for border mode buttons
Definition: TFrameEditor.h:30
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGRadioButton * fBmode1
set raised frame border mode
Definition: TFrameEditor.h:29
Define a Frame.
Definition: TFrame.h:19
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:683
This class describes layout hints used by the layout classes.
Definition: TGLayout.h:50
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
Definition: TGComboBox.h:158
Selects different options.
Definition: TGButton.h:321
ROOT GUI Window base class.
Definition: TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition: TGedFrame.h:27
ClassDef(TGedFrame, 0)
Mother of all ROOT objects.
Definition: TObject.h:37