Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFrameEditor.h
Go to the documentation of this file.
1// @(#)root/ged:$Id$
2// Author: Ilka Antcheva 08/03/05
3
4/*************************************************************************
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 *************************************************************************/
11
12#ifndef ROOT_TFrameEditor
13#define ROOT_TFrameEditor
14
15
16#include "TGedFrame.h"
17
18class TGRadioButton;
20class TGLayoutHints;
21class TFrame;
22
23class TFrameEditor : public TGedFrame {
24
25protected:
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
32
33 virtual void ConnectSignals2Slots();
34
35public:
36 TFrameEditor(const TGWindow *p =0,
37 Int_t width = 140, Int_t height = 30,
38 UInt_t options = kChildFrame,
40 virtual ~TFrameEditor();
41
42 virtual void SetModel(TObject* obj);
43 virtual void DoBorderMode();
44 virtual void DoBorderSize(Int_t size);
45
46 ClassDef(TFrameEditor,0) //editor of TFrame objects
47};
48
49#endif
@ 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
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
Editor of frame objects.
TFrame * fFrame
TGRadioButton * fBmode
set sinken frame border mode
TGLineWidthComboBox * fBsize
set frame border size
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
virtual void SetModel(TObject *obj)
Pick up the frame attributes.
TGLayoutHints * fBmodelh
layout hints for border mode buttons
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGRadioButton * fBmode1
set raised frame border mode
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:157
Selects different options.
Definition TGButton.h:322
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41