Gallery¶
This page collects every screenshot of the demo window. They are not maintained by hand: the example examples/all_widgets_demo exports all of them with a single command, so re-running it after a widget or layout change keeps the docs in sync.
Demo language
The demo's UI text is Chinese; the widgets themselves contain no hard-coded copy and can be translated by the integrator.
1 2 | |
The command writes four kinds of images:
| Directory | Content |
|---|---|
all-widgets-demo.png |
Main window, first tab |
tabs/NN-<slug>.png |
One screenshot per tab |
widgets/<scene-id>.png |
One screenshot per widget scene (used by docs) |
widgets/*-popup.png |
Popup, color menu, and item-pick dialog close-ups |
Main Window¶

Nine tabs gather every public widget in one window, and each tab is further organized with DACollapseWidget sections — convenient both for trying widgets out and for screenshot archiving.
Selector / Tags¶

Collapse¶

Color¶

- DAColorPickerButton / close-up
- DAColorPaletteGridWidget / close-up
- DAColorGridWidget / close-up
- DAColorMenu / close-up
Drawing Style¶

- DABrushStyleComboBox / close-up
- DABrushEditWidget / close-up
- DAPenStyleComboBox / close-up
- DAPenEditWidget / close-up
- DAShapeEditPannelWidget / close-up
- DAFontEditPannelWidget / close-up
Alignment¶

- DATextAlignmentEditWidget / close-up
- DAAligmentEditWidget / close-up
- DAAligmentPositionEditWidget / close-up
Utility¶

- DAFilePathEditWidget / close-up
- DATimeFormatEditWidget / close-up
- DAPropertyItemWidget / close-up
- DAUndoHistoryWidget / close-up
- DAAbstractWidgetOverlay / close-up
DAWaitCursorScoped: a wait cursor is an interaction state and cannot be captured statically; see Cursor Guards
Item Selection¶

- DACheckListWidget / close-up
- DAItemListEditWidget / close-up
- DAItemListPickDialog / close-up
- DAStringListEditWidget / close-up
- DAColorScalePreviewWidget / close-up
Text¶

Filtering¶

Popup Close-ups¶
Some key states live in popups, so they are exported separately:



Regenerating the Screenshots¶
1 2 3 | |
--export-gallery walks every scene in demoTabs(), writes widgets/<id>.png, and then exports each tab plus the main window. When adding a widget, append one DemoScene to the matching *Scenes() list in Tab*.cpp; the demo window and the screenshots update together.