ROOT
v6-30
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
19
class
TGuiBldHintsButton
;
20
class
TGNumberEntry
;
21
class
TGuiBldEditor
;
22
class
TGuiBldNameFrame
;
23
class
TGuiBldHintsManager
;
24
class
TRootGuiBuilder
;
25
26
//////////////////////////////////////////////////////////////////////////
27
class
TGuiBldHintsEditor
:
public
TGVerticalFrame
{
28
29
private
:
30
TGuiBldEditor
*
fEditor
;
// pointer to main editor
31
TGuiBldNameFrame
*
fNameFrame
;
// frame name
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
38
public
:
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
56
TRootGuiBuilder
*
fBuilder
;
57
58
public
:
59
TGuiBldHintsEditor
(
const
TGWindow
*
p
,
TGuiBldEditor
*
e
);
60
~TGuiBldHintsEditor
()
override
{}
61
62
void
ChangeSelected
(
TGFrame
*);
63
void
LayoutSubframes
(
Bool_t
on
=
kTRUE
);
64
void
MatrixLayout
();
65
void
SetPosition
();
66
void
UpdateState
();
67
68
ClassDefOverride
(
TGuiBldHintsEditor
,0)
// layout hints editor
69
};
70
71
#endif
e
#define e(i)
Definition
RSha256.hxx:103
Bool_t
bool Bool_t
Definition
RtypesCore.h:63
kTRUE
constexpr Bool_t kTRUE
Definition
RtypesCore.h:100
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
TGButton.h
p
winID h TVirtualViewer3D TVirtualGLPainter p
Definition
TGWin32VirtualGLProxy.cxx:51
on
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Definition
TGWin32VirtualXProxy.cxx:106
TGCheckButton
Selects different options.
Definition
TGButton.h:264
TGFrame
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition
TGFrame.h:80
TGGroupFrame
A composite frame with a border and a title.
Definition
TGFrame.h:522
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition
TGNumberEntry.h:147
TGVerticalFrame
A composite frame that layout their children in vertical way.
Definition
TGFrame.h:374
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGuiBldEditor
The property editor.
Definition
TGuiBldEditor.h:32
TGuiBldHintsButton
Special button class used for editing layout hints in the ROOT GUI Builder.
Definition
TGuiBldHintsButton.h:20
TGuiBldHintsEditor
Editor of widget's layout hints used by the ROOT GUI builder.
Definition
TGuiBldHintsEditor.h:27
TGuiBldHintsEditor::fCbLeft
TGCheckButton * fCbLeft
Definition
TGuiBldHintsEditor.h:40
TGuiBldHintsEditor::MatrixLayout
void MatrixLayout()
Apply matrix layout.
Definition
TGuiBldHintsEditor.cxx:587
TGuiBldHintsEditor::LayoutSubframes
void LayoutSubframes(Bool_t on=kTRUE)
Layout subframes.
Definition
TGuiBldHintsEditor.cxx:478
TGuiBldHintsEditor::fCbTop
TGCheckButton * fCbTop
Definition
TGuiBldHintsEditor.h:42
TGuiBldHintsEditor::fNameFrame
TGuiBldNameFrame * fNameFrame
Definition
TGuiBldHintsEditor.h:31
TGuiBldHintsEditor::fEditor
TGuiBldEditor * fEditor
Definition
TGuiBldHintsEditor.h:30
TGuiBldHintsEditor::~TGuiBldHintsEditor
~TGuiBldHintsEditor() override
Definition
TGuiBldHintsEditor.h:60
TGuiBldHintsEditor::fLayButton
TGCheckButton * fLayButton
Definition
TGuiBldHintsEditor.h:54
TGuiBldHintsEditor::fHintsFrame
TGGroupFrame * fHintsFrame
Definition
TGuiBldHintsEditor.h:33
TGuiBldHintsEditor::fPadBottom
TGNumberEntry * fPadBottom
Definition
TGuiBldHintsEditor.h:50
TGuiBldHintsEditor::fPadLeft
TGNumberEntry * fPadLeft
Definition
TGuiBldHintsEditor.h:51
TGuiBldHintsEditor::fBuilder
TRootGuiBuilder * fBuilder
Definition
TGuiBldHintsEditor.h:56
TGuiBldHintsEditor::fHintsManager
TGuiBldHintsManager * fHintsManager
Definition
TGuiBldHintsEditor.h:32
TGuiBldHintsEditor::fPadRight
TGNumberEntry * fPadRight
Definition
TGuiBldHintsEditor.h:52
TGuiBldHintsEditor::ChangeSelected
void ChangeSelected(TGFrame *)
Change selected.
Definition
TGuiBldHintsEditor.cxx:298
TGuiBldHintsEditor::fPaddingFrame
TGGroupFrame * fPaddingFrame
Definition
TGuiBldHintsEditor.h:34
TGuiBldHintsEditor::fCbExpandY
TGCheckButton * fCbExpandY
Definition
TGuiBldHintsEditor.h:45
TGuiBldHintsEditor::fCbRight
TGCheckButton * fCbRight
Definition
TGuiBldHintsEditor.h:41
TGuiBldHintsEditor::SetMatrixSep
void SetMatrixSep()
Set matrix layout separator.
Definition
TGuiBldHintsEditor.cxx:539
TGuiBldHintsEditor::fCbCenterX
TGCheckButton * fCbCenterX
Definition
TGuiBldHintsEditor.h:46
TGuiBldHintsEditor::fCbExpandX
TGCheckButton * fCbExpandX
Definition
TGuiBldHintsEditor.h:44
TGuiBldHintsEditor::UpdateState
void UpdateState()
Update state.
Definition
TGuiBldHintsEditor.cxx:344
TGuiBldHintsEditor::fCbCenterY
TGCheckButton * fCbCenterY
Definition
TGuiBldHintsEditor.h:47
TGuiBldHintsEditor::SetPosition
void SetPosition()
Set the position of selected frame when adjusted by the right panel input.
Definition
TGuiBldHintsEditor.cxx:447
TGuiBldHintsEditor::fPadTop
TGNumberEntry * fPadTop
Definition
TGuiBldHintsEditor.h:49
TGuiBldHintsEditor::fCbBottom
TGCheckButton * fCbBottom
Definition
TGuiBldHintsEditor.h:43
TGuiBldHintsManager
Definition
TGuiBldHintsEditor.cxx:35
TGuiBldNameFrame
Definition
TGuiBldNameFrame.h:31
TRootGuiBuilder
Definition
TRootGuiBuilder.h:59
gui
guibuilder
inc
TGuiBldHintsEditor.h
ROOT v6-30 - Reference Guide Generated on Thu Dec 12 2024 06:12:00 (GVA Time) using Doxygen 1.9.8