|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Русская версия · Short guide · Documentation contents · Glossary
Widget gallery — previews, examples and control guides. These guides explain how to build an application with declarative scenes. The table below groups them by the task you want to accomplish.
The first application develops a quick-note form in four steps.
| Task | Guide |
|---|---|
| Read a text document | DocumentView |
| Select one resident option | Radio groups |
| Build an application step by step | First application |
| Compose a scene | Declarative UI |
| Start the application and parse options | Application |
| Parse command-line arguments | Command-line startup |
| Apply styles | Styles |
| Change the palette | Themes |
| Load a scene from text or a file | Scene loading |
| Connect events and state | Bindings and events |
| Bind numbers, records and live captions | Value models |
| Edit the selected model record | Record edit sessions, typed forms |
| Arrange controls | Layout |
| Place controls in cells | Grid and overlay |
| Change a control through a reference | Control references |
| Keep text bookmarks through edits | Text anchors |
| Save navigation metadata across reopen | Navigation checkpoints |
| Edit text | LineEdit |
| Adjust a bounded numeric value | Numeric sliders |
| Enter a bounded numeric value | Numeric editors |
| Choose a source row | ComboBox and DropDown |
| Share commands between a menu, buttons and keys | Menus |
| Validate a labeled editor | Form fields |
| Choose a command while typing | Indexed live suggestions |
| Search a bounded document | FindBar |
| Undo and redo edits | Undo and redo |
| Create shared state | Properties |
| Supply view data | Models |
| Present loading, empty and error states | Data presentation |
| Display a large list | Virtual lists |
| Display a large table | Virtual tables |
| Compose editable controls for model records | Virtual rows |
| Scroll ordinary retained content | Scroll controls |
| Display a bounded plain-text log | LogView |
| Scroll virtual data | Scrolling |
| Plot values | Charts |
| Handle keyboard input | Input |
| Report errors | Diagnostics |
| Wait without blocking the UI | UI coroutines |
| Integrate frame rendering | Rendering |
| Connect a CMake package | Package setup |
Dialogs · Notifications · Keyboard help · Theme preview · Theme selector
Model workspaces connect shared selection, forms, source switching and reading places.
The short guide contains a complete small form. The click-handler example shows state changes and event handlers. The gallery and dashboard combine controls, models and application state. Build and run instructions are on the examples page.
Glossary · Documentation contents · Current limitations
Scene and recipe reference describes the exact scene API.
For exact style rules, see PSS syntax and style layers. Experimental compile-time styles and compile-time PSS have separate chapters.
Automatic binding is TBD — M2; expanded PSS and theme parameters are TBD — M5. See planned features and milestones for the full list.