Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGuiBldHintsEditor.h
Go to the documentation of this file.
1// @(#)root/guibuilder:$Id$
2// Author: Valeriy Onuchin 12/09/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_TGuiBldHintsEditor
13#define ROOT_TGuiBldHintsEditor
14
15
16#include "TGButton.h"
17
18
20class TGNumberEntry;
21class TGuiBldEditor;
24class TRootGuiBuilder;
25
26//////////////////////////////////////////////////////////////////////////
28
29private:
30 TGuiBldEditor *fEditor; // pointer to main editor
32 TGuiBldHintsManager *fHintsManager; // manager of subframes layout
33 TGGroupFrame *fHintsFrame; // frame with layout hints
34 TGGroupFrame *fPaddingFrame; // frame with padding
35
36 void SetMatrixSep();
37
38public:
39
40 TGCheckButton *fCbLeft; // button activating left hint
41 TGCheckButton *fCbRight; // button activating right hint
42 TGCheckButton *fCbTop; // button activating top hint
43 TGCheckButton *fCbBottom; // button activating bottom hint
44 TGCheckButton *fCbExpandX; // button activating expand X hint
45 TGCheckButton *fCbExpandY; // button activating expand Y hint
46 TGCheckButton *fCbCenterX; // button activating center X hint
47 TGCheckButton *fCbCenterY; // button activating center Y hint
48
49 TGNumberEntry *fPadTop; // top side padding
50 TGNumberEntry *fPadBottom; // bottom side padding
51 TGNumberEntry *fPadLeft; // left side padding
52 TGNumberEntry *fPadRight; // right side padding
53
54 TGCheckButton *fLayButton; // enable/disable layout
55
57
58public:
60 ~TGuiBldHintsEditor() override {}
61
62 void ChangeSelected(TGFrame *);
64 void MatrixLayout();
65 void SetPosition();
66 void UpdateState();
67
68 ClassDefOverride(TGuiBldHintsEditor,0) // layout hints editor
69};
70
71#endif
#define e(i)
Definition RSha256.hxx:103
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Selects different options.
Definition TGButton.h:264
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition TGFrame.h:80
A composite frame with a border and a title.
Definition TGFrame.h:522
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
ROOT GUI Window base class.
Definition TGWindow.h:23
The property editor.
Special button class used for editing layout hints in the ROOT GUI Builder.
Editor of widget's layout hints used by the ROOT GUI builder.
TGCheckButton * fCbLeft
void MatrixLayout()
Apply matrix layout.
void LayoutSubframes(Bool_t on=kTRUE)
Layout subframes.
TGCheckButton * fCbTop
TGuiBldNameFrame * fNameFrame
TGuiBldEditor * fEditor
TGCheckButton * fLayButton
TGGroupFrame * fHintsFrame
TGNumberEntry * fPadBottom
TGNumberEntry * fPadLeft
TRootGuiBuilder * fBuilder
TGuiBldHintsManager * fHintsManager
TGNumberEntry * fPadRight
void ChangeSelected(TGFrame *)
Change selected.
TGGroupFrame * fPaddingFrame
TGCheckButton * fCbExpandY
TGCheckButton * fCbRight
void SetMatrixSep()
Set matrix layout separator.
TGCheckButton * fCbCenterX
TGCheckButton * fCbExpandX
void UpdateState()
Update state.
TGCheckButton * fCbCenterY
void SetPosition()
Set the position of selected frame when adjusted by the right panel input.
TGNumberEntry * fPadTop
TGCheckButton * fCbBottom