1 #ifndef Fireworks_Core_FWDialogBuilder_h 2 #define Fireworks_Core_FWDialogBuilder_h 4 #include "TGNumberEntry.h" 6 class TGCompositeFrame;
103 FWDialogBuilder &addTextView(
const char *defaultText =
nullptr, TGTextView **
out =
nullptr);
109 FWDialogBuilder &addTextEdit(
const char *defaultText =
nullptr, TGTextEdit **
out =
nullptr);
116 FWDialogBuilder &addTextEntry(
const char *defaultText, TGTextEntry **out);
118 float defaultValue,
size_t digits, TGNumberFormat::EStyle
style,
int min,
int max, TGNumberEntry **out);
120 FWDialogBuilder &addCheckbox(
const char *text, TGCheckButton **out =
nullptr);
123 FWDialogBuilder &addHSeparator(
size_t horizontalPadding = 4,
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)