Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
Control examples

Русская версия · All examples · Scene resources

Use this index to find a complete application or the closest existing resource example. Links marked reference describe resource settings or show a fragment; they are not complete applications.

Topic Complete C++ program Resource program or reference
Boolean Switch Settings, main.cpp guide_switch_resource.cpp
One selected value RadioGroup, main.cpp guide_radio_group_resource.cpp
Search journal composition main.cpp: operator field, two troubleshooting notes, selected-match summary and bounded journal FormField, FindBar, LogView contracts
Indexed suggestions Command browser, main.cpp Query and actions remain C++; the result uses an ordinary virtual list
Background field validation Account directory, main.cpp Worker rules are code-bound
Literal search FindBar guide, main.cpp guide_find_bar_resource.cpp
Labeled fields and validation Account settings, main.cpp guide_form_field_resource.cpp
Protected password guide_password.cpp guide_password_resource.cpp
Frames and titles guide_frame_styles.cpp, recording and guide Frame properties reference
Named glyph profiles guide_glyph_profiles.cpp Profiles and fallback
On-frame scrollbar styles guide_scrollbar_gallery.cpp, recording and guide guide_scrollbar_resource.cpp
Bounded plain-text log LogView, main.cpp guide_log_view_resource.cpp
File-backed log External LogView, main.cpp Bounded file reads and tail following on the application executor
Dialogs guide_dialog.cpp, guide_dialog_actions.cpp guide_dialog_resource.cpp
CheckBox changes guide_check_change.cpp guide_check_resource.cpp
Numeric sliders guide_slider.cpp, main.cpp, source and input guide Numeric resource properties reference
Notification severity guide_toast.cpp guide_toast_resource.cpp; the resource supplies only the body
Loading indicator guide_loading_indicators.cpp guide_loading_resource.cpp
Shared actions guide_actions.cpp, shared actions guide Actions and callbacks are code-bound; scene resources do not define executable actions

The password programs use the protected Password control and inspect a synchronous SecretView only to update an Empty/Supplied status. They never copy secret bytes into ordinary text. An ordinary LineEdit configured with LineEditDisplayMode::PASSWORD only masks its presentation; it retains the ordinary plaintext model and history described in the editor display guide.

Resource programs declare controls and public settings in the scene text, then bind behavior through typed C++ refs and handlers. Executable callbacks remain C++ declarations. In particular, the notification resource only supplies the body inside a C++ NotificationCenter; commands, the notification host and its action callbacks stay in C++. The password resource contains only an empty initial value; nonempty password literals are rejected by the resource contract.