With the GUI builder, we try to make the next step from WYSIWYG to embedded editing concept - WYSIWYE ("what you see is what you edit"). The ROOT GUI Builder allows modifying real GUI objects. For example, one can edit the existing GUI application created by guitest.C. GUI components can be added to a design area from a widget palette, or can be borrowed from another application. One can drag and and drop TCanvas's menu bar into the application. GUI objects can be resized and dragged, copied and pasted. ROOT GUI Builder allows changing the layout, snap to grid, change object's layout order via the GUI Builder toolbar, or by options in the right-click context menus. A final design can be immediately tested and used, or saved as a C++ macro. For example, it's possible to rearrange buttons in control bar, add separators etc. and continue to use a new fancy control bar in the application.
The following is a short description of the GUI Builder actions and key shortcuts:
It is possible to select, drag any frame and drop it to any frame
Definition at line 43 of file TGuiBuilder.h.
Public Member Functions | |
TGuiBuilder () | |
constructor | |
virtual | ~TGuiBuilder () |
destructor | |
virtual void | AddAction (TGuiBldAction *, const char *) |
virtual void | AddSection (const char *) |
virtual TGFrame * | ExecuteAction () |
TGuiBldAction * | GetAction () const |
virtual void | Hide () |
virtual TClass * | IsA () const |
virtual Bool_t | IsExecutable () const |
virtual void | SetAction (TGuiBldAction *act) |
virtual void | Show () |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static TGuiBuilder * | Instance () |
return an instance of TGuiBuilder object | |
Protected Attributes | |
TGuiBldAction * | fAction |
#include <TGuiBuilder.h>
TGuiBuilder::TGuiBuilder | ( | ) |
constructor
Definition at line 113 of file TGuiBuilder.cxx.
|
virtual |
destructor
Definition at line 132 of file TGuiBuilder.cxx.
|
inlinevirtual |
Reimplemented in TRootGuiBuilder.
Definition at line 52 of file TGuiBuilder.h.
|
inlinevirtual |
Reimplemented in TRootGuiBuilder.
Definition at line 53 of file TGuiBuilder.h.
|
static |
Definition at line 63 of file TGuiBuilder.h.
|
inlinestatic |
Definition at line 63 of file TGuiBuilder.h.
Reimplemented in TRootGuiBuilder.
Definition at line 54 of file TGuiBuilder.h.
|
inline |
Definition at line 56 of file TGuiBuilder.h.
|
inlinevirtual |
Reimplemented in TRootGuiBuilder.
Definition at line 59 of file TGuiBuilder.h.
|
static |
return an instance of TGuiBuilder object
Definition at line 139 of file TGuiBuilder.cxx.
Definition at line 63 of file TGuiBuilder.h.
Definition at line 57 of file TGuiBuilder.h.
|
inlinevirtual |
Definition at line 55 of file TGuiBuilder.h.
|
inlinevirtual |
Reimplemented in TRootGuiBuilder.
Definition at line 58 of file TGuiBuilder.h.
|
inline |
Definition at line 63 of file TGuiBuilder.h.
|
protected |
Definition at line 46 of file TGuiBuilder.h.