#include <FWDialogBuilder.h>
Protected Member Functions | |
TGCompositeFrame * | currentFrame (void) |
FWLayoutBuilder & | expand (bool expandX=true, bool expandY=false) |
FWLayoutBuilder & | floatLeft (size_t spacing) |
FWLayoutBuilder & | frameSpaceDown (size_t spacing) |
FWLayoutBuilder & | frameSpaceLeft (size_t spacing) |
FWLayoutBuilder & | frameSpaceRight (size_t spacing) |
FWLayoutBuilder & | frameSpaceUp (size_t spacing) |
FWLayoutBuilder (TGCompositeFrame *window, bool expandY=true) | |
FWLayoutBuilder & | indent (int left=2, int right=-1) |
bool | isFloatingLeft () |
FWLayoutBuilder & | newRow () |
TGCompositeFrame * | nextFrame () |
TGLayoutHints * | nextHints () |
FWLayoutBuilder & | spaceDown (size_t spacing) |
FWLayoutBuilder & | spaceLeft (size_t spacing) |
FWLayoutBuilder & | spaceRight (size_t spacing) |
FWLayoutBuilder & | spaceUp (size_t spacing) |
FWLayoutBuilder & | unindent (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 |
Definition at line 24 of file FWDialogBuilder.h.
|
protected |
Definition at line 20 of file FWDialogBuilder.cc.
References m_framesStack, and m_window.
|
inlineprotected |
Definition at line 33 of file FWDialogBuilder.h.
References m_currentFrame.
Referenced by FWDialogBuilder::addCheckbox(), FWDialogBuilder::addColorPicker(), FWDialogBuilder::addHSeparator(), FWDialogBuilder::addHSlider(), FWDialogBuilder::addHtml(), FWDialogBuilder::addLabel(), FWDialogBuilder::addNumberEntry(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEdit(), FWDialogBuilder::addTextEntry(), FWDialogBuilder::addTextView(), FWDialogBuilder::addValidatingTextEntry(), FWDialogBuilder::hSpacer(), nextFrame(), FWDialogBuilder::tabs(), and FWDialogBuilder::vSpacer().
|
protected |
Set whether or not the previous layout element should expand and in which direction.
Definition at line 157 of file FWDialogBuilder.cc.
References m_currentHints.
Referenced by FWDialogBuilder::expand(), and indent().
|
protected |
Make sure that the current layout element is going to float on the left of the next one.
Definition at line 81 of file FWDialogBuilder.cc.
References m_floatLeft, and m_leftSpacing.
Referenced by FWDialogBuilder::floatLeft().
|
protected |
Definition at line 130 of file FWDialogBuilder.cc.
References m_currentFrameHints.
Referenced by FWDialogBuilder::frameSpaceDown(), and FWDialogBuilder::frameSpaceUpDown().
|
protected |
Definition at line 138 of file FWDialogBuilder.cc.
References m_currentFrameHints.
Referenced by FWDialogBuilder::frameSpaceLeft(), and FWDialogBuilder::frameSpaceLeftRight().
|
protected |
Definition at line 146 of file FWDialogBuilder.cc.
References m_currentFrameHints.
Referenced by FWDialogBuilder::frameSpaceLeftRight(), and FWDialogBuilder::frameSpaceRight().
|
protected |
Definition at line 122 of file FWDialogBuilder.cc.
References m_currentFrameHints.
Referenced by FWDialogBuilder::frameSpaceUp(), and FWDialogBuilder::frameSpaceUpDown().
|
protected |
Definition at line 46 of file FWDialogBuilder.cc.
References expand(), m_currentHints, m_framesStack, newRow(), and confdb::parent.
Referenced by FWDialogBuilder::indent().
|
inlineprotected |
|
protected |
Definition at line 37 of file FWDialogBuilder.cc.
References m_currentFrame, m_currentFrameHints, m_currentHints, and m_framesStack.
Referenced by indent(), FWDialogBuilder::newRow(), and nextFrame().
|
protected |
Definition at line 191 of file FWDialogBuilder.cc.
References currentFrame(), isFloatingLeft(), and newRow().
Referenced by FWDialogBuilder::addCheckbox(), FWDialogBuilder::addColorPicker(), FWDialogBuilder::addHSeparator(), FWDialogBuilder::addHSlider(), FWDialogBuilder::addHtml(), FWDialogBuilder::addLabel(), FWDialogBuilder::addNumberEntry(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEdit(), FWDialogBuilder::addTextEntry(), FWDialogBuilder::addTextView(), FWDialogBuilder::addValidatingTextEntry(), FWDialogBuilder::hSpacer(), FWDialogBuilder::tabs(), and FWDialogBuilder::vSpacer().
|
protected |
Definition at line 170 of file FWDialogBuilder.cc.
References assert(), m_currentHints, m_floatLeft, m_leftSpacing, and m_topSpacing.
Referenced by FWDialogBuilder::addCheckbox(), FWDialogBuilder::addColorPicker(), FWDialogBuilder::addHSlider(), FWDialogBuilder::addHtml(), FWDialogBuilder::addLabel(), FWDialogBuilder::addNumberEntry(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEdit(), FWDialogBuilder::addTextEntry(), FWDialogBuilder::addTextView(), FWDialogBuilder::addValidatingTextEntry(), FWDialogBuilder::hSpacer(), FWDialogBuilder::tabs(), and FWDialogBuilder::vSpacer().
|
protected |
Definition at line 97 of file FWDialogBuilder.cc.
References m_currentHints.
Referenced by FWDialogBuilder::spaceDown(), and FWDialogBuilder::spaceUpDown().
|
protected |
Definition at line 105 of file FWDialogBuilder.cc.
References m_currentHints.
Referenced by FWDialogBuilder::spaceLeft(), and FWDialogBuilder::spaceLeftRight().
|
protected |
Definition at line 113 of file FWDialogBuilder.cc.
References m_currentHints.
Referenced by FWDialogBuilder::spaceLeftRight(), and FWDialogBuilder::spaceRight().
|
protected |
Definition at line 89 of file FWDialogBuilder.cc.
References m_currentHints.
Referenced by FWDialogBuilder::spaceUp(), and FWDialogBuilder::spaceUpDown().
|
protected |
Removes all the frames on the stack since last indent.
Definition at line 70 of file FWDialogBuilder.cc.
References assert(), and m_framesStack.
Referenced by FWDialogBuilder::unindent().
|
protected |
Return the last vertical frame, for more control on the layout.
Definition at line 62 of file FWDialogBuilder.cc.
References assert(), and m_framesStack.
Referenced by FWDialogBuilder::addTable().
|
private |
Definition at line 55 of file FWDialogBuilder.h.
Referenced by currentFrame(), and newRow().
|
private |
Definition at line 61 of file FWDialogBuilder.h.
Referenced by frameSpaceDown(), frameSpaceLeft(), frameSpaceRight(), frameSpaceUp(), and newRow().
|
private |
Definition at line 60 of file FWDialogBuilder.h.
Referenced by expand(), indent(), newRow(), nextHints(), spaceDown(), spaceLeft(), spaceRight(), and spaceUp().
|
private |
Definition at line 57 of file FWDialogBuilder.h.
Referenced by floatLeft(), isFloatingLeft(), and nextHints().
|
private |
Definition at line 53 of file FWDialogBuilder.h.
Referenced by FWLayoutBuilder(), indent(), newRow(), unindent(), and verticalFrame().
|
private |
Definition at line 59 of file FWDialogBuilder.h.
Referenced by floatLeft(), and nextHints().
|
private |
Definition at line 58 of file FWDialogBuilder.h.
Referenced by nextHints().
|
private |
Definition at line 51 of file FWDialogBuilder.h.
Referenced by FWLayoutBuilder().