1 #ifndef Fireworks_Core_FWDialogBuilder_h 2 #define Fireworks_Core_FWDialogBuilder_h 4 #include "TGNumberEntry.h" 6 class TGCompositeFrame;
104 size_t fontSize = 12,
106 TGLabel **
out =
nullptr);
109 TGTextView **
out =
nullptr);
116 TGTextEdit **
out =
nullptr);
125 FWDialogBuilder &addTextEntry(
const char *defaultText, TGTextEntry **out);
127 TGNumberFormat::EStyle
style,
129 TGNumberEntry **out);
131 FWDialogBuilder &addCheckbox(
const char *text, TGCheckButton **out =
nullptr);
136 size_t verticalPadding = 3);
TGVerticalFrame * verticalFrame()
TGCompositeFrame * m_window
FWDialogBuilder & extract(T *in, T **out)
TGCompositeFrame * nextFrame()
FWLayoutBuilder & frameSpaceRight(size_t spacing)
FWLayoutBuilder & spaceRight(size_t spacing)
std::vector< TGVerticalFrame * > m_framesStack
FWLayoutBuilder(TGCompositeFrame *window, bool expandY=true)
TGLayoutHints * m_currentHints
FWLayoutBuilder & frameSpaceDown(size_t spacing)
FWLayoutBuilder & frameSpaceUp(size_t spacing)
FWLayoutBuilder & spaceUp(size_t spacing)
TGCompositeFrame * m_currentFrame
FWLayoutBuilder & floatLeft(size_t spacing)
TGLayoutHints * m_currentFrameHints
FWLayoutBuilder & unindent(void)
def window(xmin, xmax, ymin, ymax, x=0, y=0, width=100, height=100, xlogbase=None, ylogbase=None, minusInfinity=-1000, flipx=False, flipy=True)
TGCompositeFrame * currentFrame(void)
FWLayoutBuilder & indent(int left=2, int right=-1)
FWLayoutBuilder & newRow()
TGLayoutHints * nextHints()
FWLayoutBuilder & spaceDown(size_t spacing)
FWDialogBuilder * m_parent
FWLayoutBuilder & expand(bool expandX=true, bool expandY=false)
FWLayoutBuilder & spaceLeft(size_t spacing)
FWLayoutBuilder & frameSpaceLeft(size_t spacing)