49 virtual ~TGuiBldHintsManager() { }
50 void ChangeSelected(
TGFrame *frame);
60 fEditDisabled = kEditDisable;
86 fAppButton->
Connect(
"Clicked()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
89 fRows->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
90 fColumns->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
107void TGuiBldHintsManager::ChangeSelected(
TGFrame *frame)
113 fHints->fLayButton->SetEnabled(
kFALSE);
114 fHints->fLayButton->SetDown(
kFALSE);
116 fColumns->SetNumber(0);
125 fHints->fLayButton->SetEnabled(
kFALSE);
126 fHints->fLayButton->SetDown(
kFALSE);
128 fColumns->SetNumber(0);
139 fHints->fLayButton->SetEnabled(
kTRUE);
140 fHints->fLayButton->SetDown(
kFALSE);
144 fColumns->SetNumber(1);
146 fColumns->SetNumber(
n);
151 fColumns->SetNumber(fMatrix->fColumns);
152 fRows->SetNumber(fMatrix->fRows);
180 fLayButton->
Connect(
"Toggled(Bool_t)",
"TGuiBldHintsEditor",
this,
"LayoutSubframes(Bool_t)");
272 fCbTop->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
273 fCbBottom->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
274 fCbRight->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
275 fCbLeft->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
281 fPadTop->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
282 fPadLeft->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
283 fPadRight->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
284 fPadBottom->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
368 lh &= ~kLHintsCenterX;
374 lh &= ~kLHintsCenterY;
380 lh &= ~kLHintsExpandX;
386 lh &= ~kLHintsExpandY;
391 lh &= ~kLHintsBottom;
400 lh &= ~kLHintsBottom;
R__EXTERN void * gTQSender
virtual Int_t GetEntries() const
const TGWindow * GetRoot() const
Returns current root (i.e.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual void SetLayoutBroken(Bool_t on=kTRUE)
Set broken layout. No Layout method is called.
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual TList * GetList() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual TGLayoutManager * GetLayoutManager() const
virtual void Layout()
Layout the elements of the composite frame.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void SetEditDisabled(UInt_t on=1)
Set edit disable flag for this frame and subframes.
TGFrameElement * GetFrameElement() const
virtual void SetLayoutBroken(Bool_t=kTRUE)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
virtual void MapWindow()
map window
Int_t GetPadRight() const
Int_t GetPadBottom() const
ULong_t GetLayoutHints() const
virtual void SetPadRight(Int_t v)
virtual void SetPadLeft(Int_t v)
virtual void SetPadTop(Int_t v)
virtual void SetPadBottom(Int_t v)
virtual void SetLayoutHints(ULong_t lh)
virtual void SetIntNumber(Long_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Long_t GetIntNumber() const
TGVerticalFrame(const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual UInt_t GetEditDisabled() const
const TGWindow * GetParent() const
TGFrame * GetSelected() const
void UpdateSelected(TGFrame *=0)
Update selected frame.
void MatrixLayout()
Apply matrix layout.
void LayoutSubframes(Bool_t on=kTRUE)
Layout subframes.
TGCheckButton * fLayButton
TGGroupFrame * fHintsFrame
TGNumberEntry * fPadBottom
TRootGuiBuilder * fBuilder
TGuiBldHintsManager * fHintsManager
TGNumberEntry * fPadRight
void ChangeSelected(TGFrame *)
Change selected.
TGuiBldHintsEditor(const TGWindow *p, TGuiBldEditor *e)
ctor.
TGGroupFrame * fPaddingFrame
TGCheckButton * fCbExpandY
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.
TGCheckButton * fCbBottom
static TGuiBuilder * Instance()
return an instance of TGuiBuilder object
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
UInt_t References() const