CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Protected Member Functions | Private Attributes
FWLayoutBuilder Class Reference

#include <FWDialogBuilder.h>

Inheritance diagram for FWLayoutBuilder:
FWDialogBuilder

Protected Member Functions

TGCompositeFrame * currentFrame (void)
 
FWLayoutBuilderexpand (bool expandX=true, bool expandY=false)
 
FWLayoutBuilderfloatLeft (size_t spacing)
 
void frameForTab ()
 
FWLayoutBuilderframeSpaceDown (size_t spacing)
 
FWLayoutBuilderframeSpaceLeft (size_t spacing)
 
FWLayoutBuilderframeSpaceRight (size_t spacing)
 
FWLayoutBuilderframeSpaceUp (size_t spacing)
 
 FWLayoutBuilder (TGCompositeFrame *window, bool expandY=true)
 
FWLayoutBuilderindent (int left=2, int right=-1)
 
bool isFloatingLeft ()
 
FWLayoutBuildernewRow ()
 
TGCompositeFrame * nextFrame ()
 
TGLayoutHints * nextHints ()
 
FWLayoutBuilderspaceDown (size_t spacing)
 
FWLayoutBuilderspaceLeft (size_t spacing)
 
FWLayoutBuilderspaceRight (size_t spacing)
 
FWLayoutBuilderspaceUp (size_t spacing)
 
FWLayoutBuilderunindent (void)
 
TGVerticalFrame * verticalFrame ()
 

Private Attributes

TGCompositeFrame * m_currentFrame
 
TGLayoutHints * m_currentFrameHints
 
TGLayoutHints * m_currentHints
 
bool m_floatLeft
 
std::vector< TGVerticalFrame * > m_framesStack
 
size_t m_leftSpacing
 
size_t m_topSpacing
 
TGCompositeFrame * m_window
 

Detailed Description

Definition at line 24 of file FWDialogBuilder.h.

Constructor & Destructor Documentation

FWLayoutBuilder::FWLayoutBuilder ( TGCompositeFrame *  window,
bool  expandY = true 
)
protected

Definition at line 20 of file FWDialogBuilder.cc.

Member Function Documentation

TGCompositeFrame* FWLayoutBuilder::currentFrame ( void  )
inlineprotected

Definition at line 33 of file FWDialogBuilder.h.

FWLayoutBuilder & FWLayoutBuilder::expand ( bool  expandX = true,
bool  expandY = false 
)
protected

Set whether or not the previous layout element should expand and in which direction.

Definition at line 159 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::floatLeft ( size_t  spacing)
protected

Make sure that the current layout element is going to float on the left of the next one.

Definition at line 83 of file FWDialogBuilder.cc.

void FWLayoutBuilder::frameForTab ( )
protected

Definition at line 202 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::frameSpaceDown ( size_t  spacing)
protected

Definition at line 132 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::frameSpaceLeft ( size_t  spacing)
protected

Definition at line 140 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::frameSpaceRight ( size_t  spacing)
protected

Definition at line 148 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::frameSpaceUp ( size_t  spacing)
protected

Definition at line 124 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::indent ( int  left = 2,
int  right = -1 
)
protected

Definition at line 48 of file FWDialogBuilder.cc.

bool FWLayoutBuilder::isFloatingLeft ( )
inlineprotected

Definition at line 45 of file FWDialogBuilder.h.

FWLayoutBuilder & FWLayoutBuilder::newRow ( void  )
protected

Definition at line 37 of file FWDialogBuilder.cc.

TGCompositeFrame * FWLayoutBuilder::nextFrame ( )
protected

Definition at line 193 of file FWDialogBuilder.cc.

TGLayoutHints * FWLayoutBuilder::nextHints ( )
protected

Definition at line 172 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::spaceDown ( size_t  spacing)
protected

Definition at line 99 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::spaceLeft ( size_t  spacing)
protected

Definition at line 107 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::spaceRight ( size_t  spacing)
protected

Definition at line 115 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::spaceUp ( size_t  spacing)
protected

Definition at line 91 of file FWDialogBuilder.cc.

FWLayoutBuilder & FWLayoutBuilder::unindent ( void  )
protected

Removes all the frames on the stack since last indent.

Definition at line 72 of file FWDialogBuilder.cc.

TGVerticalFrame * FWLayoutBuilder::verticalFrame ( void  )
protected

Return the last vertical frame, for more control on the layout.

Definition at line 64 of file FWDialogBuilder.cc.

Member Data Documentation

TGCompositeFrame* FWLayoutBuilder::m_currentFrame
private

Definition at line 56 of file FWDialogBuilder.h.

TGLayoutHints* FWLayoutBuilder::m_currentFrameHints
private

Definition at line 62 of file FWDialogBuilder.h.

TGLayoutHints* FWLayoutBuilder::m_currentHints
private

Definition at line 61 of file FWDialogBuilder.h.

bool FWLayoutBuilder::m_floatLeft
private

Definition at line 58 of file FWDialogBuilder.h.

std::vector<TGVerticalFrame *> FWLayoutBuilder::m_framesStack
private

Definition at line 54 of file FWDialogBuilder.h.

size_t FWLayoutBuilder::m_leftSpacing
private

Definition at line 60 of file FWDialogBuilder.h.

size_t FWLayoutBuilder::m_topSpacing
private

Definition at line 59 of file FWDialogBuilder.h.

TGCompositeFrame* FWLayoutBuilder::m_window
private

Definition at line 52 of file FWDialogBuilder.h.