This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dev:v3:gui_api:dialog:inputgui3 [2020/07/09 15:02] – jedi18 | dev:v3:gui_api:dialog:inputgui3 [2020/07/10 03:49] (current) – jedi18 | ||
|---|---|---|---|
| Line 121: | Line 121: | ||
| * <code lua> color1: | * <code lua> color1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Horizontal Group GUI Class ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[https:// | ||
| + | <code cpp-qt> namespace lc::ui::api </ | ||
| + | |||
| + | The Horizontal Group GUI widget allows the user to store the input gui widgets in a horizontal layout. | ||
| + | ---- | ||
| + | |||
| + | ==== Constructor ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === Description === | ||
| + | |||
| + | Constructs a Horizontal Group GUi widget. The input gui widgets in the group are added to the final value table but not the horizontal group. | ||
| + | |||
| + | === Examples === | ||
| + | |||
| + | * <code lua> local horiz1 = gui.HorizontalGroup(" | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Add Input GUI Widget ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === Description === | ||
| + | |||
| + | Add an Input GUI widget to the horizontal group. Expects a key and gui widget as parameters. | ||
| + | |||
| + | === Examples === | ||
| + | |||
| + | * <code lua> local angle1 = gui.Angle(" | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== RadioButton Group GUI Class ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[https:// | ||
| + | <code cpp-qt> namespace lc::ui::api </ | ||
| + | |||
| + | The RadioButton Group GUI widget allows the user to store the radio buttons in a group so that only one radio button can be selected in the group. | ||
| + | ---- | ||
| + | |||
| + | ==== Constructor ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === Description === | ||
| + | |||
| + | Constructs a RadioButton Group GUI class. | ||
| + | |||
| + | === Examples === | ||
| + | |||
| + | * <code lua> local radiogroup1 = gui.RadioGroup(" | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Add Radio Button ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === Description === | ||
| + | |||
| + | Add an RadioButton GUI widget to the radio group. Expects a key and radiobutton as parameters. | ||
| + | |||
| + | === Examples === | ||
| + | |||
| + | * <code lua> local radio1 = gui.RadioButton(" | ||
| + | | ||
| ---- | ---- | ||