13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui.h>
23#if defined(LECUI_EXPORTS)
33 class instance_manager;
37 namespace containers {
39 class status_pane_builder;
40 class tab_pane_builder;
48 class image_view_builder;
51 class table_view_builder;
52 class rectangle_builder;
54 class progress_indicator_builder;
55 class progress_bar_builder;
56 class checkbox_builder;
57 class text_field_builder;
58 class password_field_builder;
59 class tree_view_builder;
61 class html_editor_builder;
62 class combobox_builder;
67 class strength_bar_builder;
71 class html_editor_impl;
72 class text_field_impl;
74 class image_view_impl;
75 class table_view_impl;
136 std::function<void(
const std::string&)> drop_files =
nullptr;
140 std::function<void(
const std::string&)> receive_data =
nullptr;
166 std::function<bool(std::string&)>
layout;
192 form(
const std::string& caption);
247 [[nodiscard]]
bool create(std::string& error);
261 [[nodiscard]]
bool prompt(
const std::string& question);
359 form& operator=(
const form&) =
delete;
361#if defined(LECUI_EXPORTS)
376 friend class containers::status_pane_builder;
377 friend class containers::tab_pane_builder;
378 friend class containers::tab_builder;
379 friend class containers::pane_builder;
380 friend class containers::group_builder;
381 friend class widgets::label_builder;
382 friend class widgets::image_view_builder;
383 friend class widgets::button_builder;
384 friend class widgets::custom_builder;
385 friend class widgets::table_view_builder;
386 friend class widgets::rectangle_builder;
387 friend class widgets::toggle_builder;
388 friend class widgets::progress_indicator_builder;
389 friend class widgets::progress_bar_builder;
390 friend class widgets::checkbox_builder;
391 friend class widgets::text_field_builder;
392 friend class widgets::tree_view_builder;
393 friend class widgets::slider_builder;
394 friend class widgets::html_editor_builder;
395 friend class widgets::combobox_builder;
396 friend class widgets::line_builder;
397 friend class widgets::time_builder;
398 friend class widgets::date_builder;
399 friend class widgets::icon_builder;
400 friend class widgets::strength_bar_builder;
402 friend class widgets::widget_impl;
403 friend class widgets::combobox_impl;
404 friend class widgets::image_view_impl;
405 friend class widgets::tree_view_impl;
406 friend class widgets::time_impl;
407 friend class widgets::date_impl;
408 friend class widgets::html_editor_impl;
409 friend class widgets::icon_impl;
Manipulate the form's appearance.
Definition: appearance.h:174
Color picker.
Definition: color_picker.h:22
Page container.
Definition: page.h:32
Manipulate a form's controls.
Definition: controls.h:23
Manipulate a form's dimensions.
Definition: controls.h:74
Interact with the OS file system.
Definition: filesystem.h:22
Manage application instances.
Definition: instance.h:22
Page manager class.
Definition: page.h:132
A point.
Definition: lecui.h:76
Size of a rectangular structure.
Definition: lecui.h:117
Splash screen class. Useful for displaying graphics while app is loading.
Definition: splash.h:23
Timer manager class.
Definition: timer.h:22
Tray icon class.
Definition: tray_icon.h:45
form_position
Form position.
Definition: form.h:86
@ bottom_left
Pin the form to the bottom left corner of the working area.
@ top_left
Pin the form to the top left corner of the working area.
@ bottom_right_offset
Pin the form to the bottom right corner of the working area, with an offset.
@ bottom_right
Pin the form to the bottom right corner of the working area.
@ center_to_working_area
Center the form to the working area. The working area is the desktop, minus the taskbar (if visible).
@ bottom_left_offset
Pin the form to the bottom left corner of the working area, with an offset.
@ center_to_parent
Center the form to its parent.
@ top_left_offset
Pin the form to the top left corner of the working area, with an offset.
@ top_right_offset
Pin the form to the top right corner of the working area, with an offset.
@ top_right
Pin the form to the top right corner of the working area.
Top level namespace for the liblec libraries.
Definition: appearance.h:19