Widget catalog¶
This catalog lists each view that a backend renders, in the order of composeui.core.view.
Each name links to its API reference. The
user guide shows how to use them. A column per backend says whether
the backend renders the view (✓) or not (—).
Views¶
These views have a renderer of their own (their _renderer_key).
View |
Renderer |
Qt |
Textual |
Web |
What it shows |
|---|---|---|---|---|---|
|
✓ |
✓ |
✓ |
A line at the bottom of the window that shows a short message to the user. |
|
|
✓ |
✓ |
✓ |
An entry of a menu or a toolbar that the user triggers, for example Save. |
|
|
✓ |
✓ |
✓ |
A modal message or confirmation, shown from |
|
|
|
✓ |
✓ |
✓ |
A question before saving over a file that exists, e.g. a path typed: Replace or Cancel. |
|
✓ |
✓ |
✓ |
A line between two groups of entries in a menu or a toolbar. |
|
|
✓ |
✓ |
✓ |
A menu of the window, with an entry for each of its action fields. |
|
|
✓ |
✓ |
✓ |
A row of actions at the top of the window, for the ones the user runs most. |
|
|
|
✓ |
✓ |
✓ |
The New action of the File menu, which starts a new study. |
|
|
✓ |
✓ |
✓ |
The Open action of the File menu, which opens a study from a file. |
|
✓ |
✓ |
✓ |
An action picking a file to open; |
|
|
|
✓ |
✓ |
✓ |
The Save action of the File menu, which saves the study to a file. |
|
|
✓ |
✓ |
✓ |
The Save As action of the File menu, which saves the study to a file. |
|
|
✓ |
✓ |
✓ |
The Exit action of the File menu, which closes the app. |
|
✓ |
✓ |
✓ |
The File menu of the main view, with New, Open, Save, Save As and Exit. |
|
|
✓ |
✓ |
✓ |
A menu of the app’s languages, the one shown checked; triggering one shows it. |
|
|
✓ |
✓ |
✓ |
The root view of an app: its window, with the menus, the status bar and the content. |
|
|
✓ |
✓ |
✓ |
A field where the user types one line of text, for example a name. |
|
|
✓ |
✓ |
✓ |
A field where the user types several lines of text, for example a comment. |
|
|
✓ |
✓ |
✓ |
A field where the user types a decimal number, for example a length. |
|
|
✓ |
✓ |
✓ |
A whole number, e.g. an hour of the day; a spin box where the toolkit has one. |
|
|
✓ |
✓ |
✓ |
A date, e.g. a booking’s first day: typed in the main view’s language’s format. |
|
|
✓ |
✓ |
✓ |
A path to save a file to, e.g. a report: typed, or picked from a save dialog. |
|
|
✓ |
✓ |
✓ |
A folder’s path, e.g. where to write results: typed, or picked from a folder dialog. |
|
|
✓ |
✓ |
✓ |
A file’s path, e.g. a data file to read: typed, or picked from a file dialog. |
|
|
✓ |
✓ |
✓ |
A whole number picked by dragging a handle, e.g. a number of workers. |
|
|
✓ |
✓ |
✓ |
A message to the user, for example an error, styled by its |
|
|
✓ |
✓ |
✓ |
A line of read-only text, for example a caption. |
|
|
✓ |
✓ |
✓ |
Read-only Markdown text, for example a help page. |
|
|
✓ |
✓ |
✓ |
Plain text that the app adds to as it comes, for example the output of a process. |
|
|
✓ |
✓ |
✓ |
A check box with a text, for an option that is on or off. |
|
|
✓ |
✓ |
✓ |
A button the user clicks to act on what the page shows, e.g. to submit a form. |
|
|
✓ |
✓ |
✓ |
How far a long task has gone, e.g. a computation working through its cases. |
|
|
✓ |
✓ |
✓ |
A figure read at a glance, e.g. the jobs running, and how much it changed. |
|
|
✓ |
— |
✓ |
An interactive street map with geographic points drawn over its tiles. |
|
|
✓ |
✓ |
✓ |
A chart of results, e.g. a quantity against time or a swept dimension. |
|
|
✓ |
✓ |
✓ |
A table of text that the app formats cell by cell (see |
|
|
✓ |
✓ |
✓ |
A table of records, |
|
|
✓ |
✓ |
✓ |
A large table, whose rows a source keeps and the table reads a window at a time. |
|
|
✓ |
✓ |
✓ |
A group of radio buttons, for one choice among a few |
|
|
✓ |
✓ |
✓ |
A drop-down list, for one choice among |
|
|
✓ |
✓ |
✓ |
A form: its rows, one above the other, and the message of its cross-field checks. |
|
|
✓ |
✓ |
✓ |
A form in a box with a |
|
|
✓ |
✓ |
✓ |
A button of a dialog’s own, between Cancel and OK, e.g. Apply: a field of the dialog. |
|
|
✓ |
✓ |
✓ |
A modal showing a view above its buttons: Cancel, its own, then OK. |
|
|
✓ |
✓ |
✓ |
A modal holding a form, e.g. editing a record from its Edit button, with OK and Cancel. |
|
|
✓ |
✓ |
✓ |
A form dialog with a default empty |
|
|
✓ |
✓ |
✓ |
A modal holding a view, e.g. a table to pick a file from, with OK and Cancel. |
|
|
✓ |
✓ |
✓ |
Its view fields laid out side by side, in a row. |
|
|
✓ |
✓ |
✓ |
Its view fields laid out one above the other, in a column, as tall as their content. |
|
|
✓ |
✓ |
✓ |
Its view fields in panes, side by side, the user dragging the border between two. |
|
|
✓ |
✓ |
✓ |
A collapsible section: its title always shown, its view fields only while expanded. |
|
|
✓ |
✓ |
✓ |
A tab of a |
|
|
✓ |
✓ |
✓ |
Views shown a tab at a time, picked from a row of tabs, e.g. a record’s details and history. |
|
|
✓ |
✓ |
✓ |
Its view fields laid out in a grid: equally wide columns, rows as tall as their views. |
|
|
✓ |
✓ |
✓ |
A page of the app, shown while its |
|
|
✓ |
✓ |
✓ |
Pages shown one at a time, picked from a toolbar with an entry per page. |
|
|
✓ |
✓ |
✓ |
A column of views beside the pages, shown whatever the page, e.g. a form creating a record. |
|
|
✓ |
✓ |
✓ |
A view per record, laid out in a column, e.g. an expander per record. |
|
|
✓ |
✓ |
✓ |
Nodes in a tree, e.g. a site’s buildings, their floors and their rooms. |
Form rows¶
A form row is a field with its label, in a FormView. The form renders the row, and the
field of the row has the renderer of the view in the second column (its
_field_renderer_key).
View |
Field renderer |
Qt |
Textual |
Web |
What it shows |
|---|---|---|---|---|---|
|
✓ |
✓ |
✓ |
A row of a form with a field for one line of text, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a field for one line of text. |
|
|
✓ |
✓ |
✓ |
A row of a form with a field for several lines of text, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a field for several lines of text. |
|
|
✓ |
✓ |
✓ |
A row of a form with a field for a decimal number, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a field for a decimal number. |
|
|
✓ |
✓ |
✓ |
A row of a form with a field for a whole number, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a field for a whole number. |
|
|
✓ |
✓ |
✓ |
A row of a form with a date field, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a date field. |
|
|
✓ |
✓ |
✓ |
A row of a form with a file path field, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a file path field. |
|
|
✓ |
✓ |
✓ |
A row of a form with a field of a path to save a file to, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a field of a path to save a file to. |
|
|
✓ |
✓ |
✓ |
A row of a form with a folder path field, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a folder path field. |
|
|
✓ |
✓ |
✓ |
A row of a form with a slider, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a slider. |
|
|
✓ |
✓ |
✓ |
A row of a form with a check box, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a check box. |
|
|
✓ |
✓ |
✓ |
A row of a form with a group of radio buttons, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a group of radio buttons. |
|
|
✓ |
✓ |
✓ |
A row of a form with a drop-down list, without a label. |
|
|
✓ |
✓ |
✓ |
A row of a form with a label and a drop-down list. |