Expand description
day-toolkit-qt-sys — raw extern "C" declarations for the Qt 6 shim compiled by build.rs.
Handles are opaque QWidget*; ownership stays with Qt’s parent/child tree (Day’s release
calls day_qt_delete = deleteLater, per §4.3’s deferred-destruction allowance).
Structs§
- DayQt
Anim - An
AnimSpecas the shim’s animation runs take it (shim.cpp’sDayQtAnim, docs/tween.md “The animation contract”). - DayQt
Displayed - What a widget shows now, as
day_qt_read_displayedwrites it (shim.cpp’sDayQtDisplayed). - DayQt
Native - A widget’s native state as
day_qt_read_nativewrites it (shim.cpp’sDayQtNative). Each field holds what was read from the widget, or its “not read” value: NULL,checked-1,number_kind0,frame_ok0. - DayQt
PdfPage - One page of
day_qt_canvas_render_pdf(shim.cpp’sDayQtPdfPage): its size in PDF points and its ops asday_spec::encode_opsflattens them, texts joined with U+001F. The pointers are borrowed for the call.
Functions§
- day_
qt_ ⚠add_ child - day_
qt_ ⚠announce - Speak
textthrough the running screen reader, posted on windoww; nothing without one.urgentinterrupts the current speech. - day_
qt_ ⚠app_ new - day_
qt_ ⚠app_ run - day_
qt_ ⚠app_ set_ rtl - day_
qt_ ⚠appearance_ settable - Nonzero when this Qt can override the color scheme (6.8+).
- day_
qt_ ⚠baseline - First text baseline from the widget’s top for a widget
htall;-1⇒ no text (docs/baseline.md). - day_
qt_ ⚠button_ menu_ fn - Menu buttons (docs/menus.md “Menu buttons”): the
QPushButtonwidget’s click callscb(key, 0, 0)for a freshQMenu* (null = show nothing this time) and pops it under the button instead of reporting the press. - day_
qt_ ⚠button_ new - day_
qt_ ⚠button_ set_ content - day_
qt_ ⚠button_ set_ selected ButtonProps::selected: a checkedQPushButton, restored after each click.- day_
qt_ ⚠button_ set_ style - day_
qt_ ⚠button_ set_ title - day_
qt_ ⚠bytes_ free - Release a buffer returned by
day_qt_image_encode. Safe to call with null. - day_
qt_ ⚠can_ announce - 1 when the Qt linked carries
QAccessibleAnnouncementEvent(6.8+), else 0. - day_
qt_ ⚠cancel_ frame - day_
qt_ ⚠canvas_ new - day_
qt_ ⚠canvas_ render_ image - Render encoded ops into a
pw×phpixel bitmap atscalepixels per point and store it in the decoded-bitmap registry underid. Returns 0 when the image could not be made. - day_
qt_ ⚠canvas_ render_ pdf - Write
countpages into one PDF. A heap buffer of*out_lenbytes, released withday_qt_bytes_free; null on failure with*errset to a heap string, released withday_qt_string_free.title/authormay be null. - day_
qt_ ⚠canvas_ set_ ops - day_
qt_ ⚠checkbox_ new - day_
qt_ ⚠checkbox_ set - day_
qt_ ⚠container_ new - day_
qt_ ⚠context_ menu_ fn - Summon-time context menus (docs/menus.md):
cbreceives (node, x, y) in widget coordinates and returns a freshQMenu* (null = show nothing this time). - day_
qt_ ⚠cover_ escape - Report Escape over a presented sheet cover to
cb(docs/cover.md “Modal sheet”). - day_
qt_ ⚠cover_ top - Raise a presented cover over its siblings;
opaquefills it with the window color (a composed sheet’s cover is clear, docs/cover.md “Modal sheet”). - day_
qt_ ⚠dark_ mode - Nonzero when Qt’s palette is a dark one (system scheme,
DAY_THEME, or the pre-6.8 Fusion fallback alike). - day_
qt_ ⚠delete - day_
qt_ ⚠dismiss_ present - day_
qt_ ⚠enable_ focus - day_
qt_ ⚠enable_ gesture - day_
qt_ ⚠enable_ keys - Make
wfocusable and route its arrow keys tocb(node, code, modifiers, phase), which answers whether the app claimed the key (docs/menus.md).code: 0 left, 1 right, 2 up, 3 down, 10..=19 the digits;phase0 down, 1 repeat, 2 up (only for a claimed down). - day_
qt_ ⚠enclosing_ tabs - The first
QTabWidgetabovew, or null — how a nav menu finds the suite drawing its rows. - day_
qt_ ⚠font_ families - The
QFontDatabasefamilies and styles in Day’s font-list text format; a heap string to release withday_qt_string_free. Requires a constructedQApplication. - day_
qt_ ⚠icon_ delete - day_
qt_ ⚠icon_ new - A heap
QIconresolved like a toolbar item’s icon (theme|outline.svg, a vector path, or aQStylestandard pixmap), for a piece shim that draws icons of its own. - day_
qt_ ⚠image_ decode - Decode bytes into the registry under
id;out(3 doubles) receives width, height and 1/0 for an alpha channel. Returns 0 when the bytes are not an image Qt reads. - day_
qt_ ⚠image_ encode - Re-encode a decoded bitmap.
quality-1 takes the format’s default;fit_w/fit_h0 means no downscale. A heap buffer of*out_lenbytes, released withday_qt_bytes_free. - day_
qt_ ⚠image_ new tintis “#rrggbb” or “” for the authored colors.- day_
qt_ ⚠image_ new_ bitmap - An image widget showing a decoded bitmap rather than a staged file.
tintis “#aarrggbb” to recolor it keeping its alpha, or “” for the authored colors. - day_
qt_ ⚠image_ new_ bytes - An image widget showing raw encoded bytes.
- day_
qt_ ⚠image_ release - Drop a decoded bitmap from the registry.
- day_
qt_ ⚠image_ set_ bitmap - Point a realized image widget at a decoded bitmap (the
Sourcepatch). - day_
qt_ ⚠image_ set_ bytes - Point a realized image widget at raw encoded bytes (the
Sourcepatch). - day_
qt_ ⚠image_ set_ path - Point a realized image widget at a different staged file (the
Sourcepatch), recording the path so a later tint re-renders from the right source. - day_
qt_ ⚠image_ set_ tint - Repaint a realized glyph with a new tint (“” restores the authored colors).
- day_
qt_ ⚠inspector_ new leadingnonzero puts the panel pane first (docs/inspector.md.edge).- day_
qt_ ⚠install_ input_ router - Install the application filter that routes presses for hit slop and pass-through and
reports the input kind to
cb(0 touch, 1 mouse, 2 stylus) when it changes. Needs theQApplication; once is enough, a second call replaces the callback. - day_
qt_ ⚠is_ wayland - Whether Qt runs on its Wayland platform (no window positions there).
- day_
qt_ ⚠label_ height_ for_ width - day_
qt_ ⚠label_ natural_ width - The label’s unwrapped single-line natural width (font metrics — not the sizeHint heuristic, which suggests a narrow “readable” column for word-wrapped labels).
- day_
qt_ ⚠label_ new - day_
qt_ ⚠label_ on_ link - day_
qt_ ⚠label_ on_ selection - Report the reader’s selection in the label to
cb(id, start, end), byte offsets into the text the label displays (start == endwhen cleared). - day_
qt_ ⚠label_ set_ align - 0 leading, 1 center, 2 trailing, 3 justified; leading and trailing follow the label’s direction.
- day_
qt_ ⚠label_ set_ color - Text color via the label palette (
on == 0restores the theme default). - day_
qt_ ⚠label_ set_ font - The label’s base font.
tabular,small_capsandoldstyleask the face for the OpenTypetnum,smcpandonumfeatures (Qt 6.7+). - day_
qt_ ⚠label_ set_ font_ family - Swap the label’s font family to a bundled one (after
day_qt_label_set_font). - day_
qt_ ⚠label_ set_ monospace - day_
qt_ ⚠label_ set_ paragraph - The paragraph attributes, whole (docs/text.md): the line limit (0 = unlimited), the truncation mode (0 tail, 1 head, 2 middle), the letter spacing in ems and the line height as a multiple of the font size (nonpositive = natural). Idempotent.
- day_
qt_ ⚠label_ set_ rich_ text - day_
qt_ ⚠label_ set_ selectable - Make a label’s text user-selectable (the
.selectable()modifier). No-op on non-labels. - day_
qt_ ⚠label_ set_ text - day_
qt_ ⚠lineedit_ enable_ field_ keys - Hand Up, Down and Escape to
cb(node, name, modifiers, deliver, phase)before the line edit sees them (docs/textfield.md “Keys”); a nonzero answer claims the key.deliveris 0 for Qt’s shortcut-override question, 1 for the press itself;phase0 down, 1 repeat, 2 up (the release of a claimed key, always delivered). - day_
qt_ ⚠lineedit_ new - day_
qt_ ⚠lineedit_ select - Select characters (Unicode scalar values)
start..end, held to the text, caret atend. No-op on a widget that is not aQLineEdit. - day_
qt_ ⚠lineedit_ set_ placeholder - day_
qt_ ⚠lineedit_ set_ text - day_
qt_ ⚠lineedit_ set_ traits - How a line edit takes its text (
Toolkit::set_input_traits): password echo, read-only, and the input-method hints forpurpose(0 text, 1 name, 2 email, 3 url, 4 phone, 5 number, 6 decimal, 7 username, 8 password, 9 new password, 10 one-time code). Every member is applied on every call. No-op on a widget that is not aQLineEdit. - day_
qt_ ⚠list_ cell_ frame - day_
qt_ ⚠list_ clear_ heights - Forget every measured height (the rows moved under them).
- day_
qt_ ⚠list_ header_ for - The header of the section holding
row(the nearest at or before it), or -1. - day_
qt_ ⚠list_ new - day_
qt_ ⚠list_ on_ reader_ scroll - The reader started a scroll (docs/list.md “Following the end”): a wheel step, the scroll bar or a key moved the list. Never for a programmatic scroll.
- day_
qt_ ⚠list_ on_ viewport_ resized - day_
qt_ ⚠list_ park_ cell - The cell went back to the pool: hidden, never deleted.
- day_
qt_ ⚠list_ pin_ bound - The pinned cell shows header
row(-1: none), laidheighttall. - day_
qt_ ⚠list_ pin_ cell - The pinned header’s cell, made on the first call; it lives as long as the list.
- day_
qt_ ⚠list_ place_ cell - Show Day’s cell over
row; the view keeps it there through scrolls and relayouts. - day_
qt_ ⚠list_ scroll - Scroll to
row(-1: the end) aligned asalignsays (0 Nearest, 1 Start, 2 Center, 3 End), gliding whenanimated; queued behind a pending height relayout. - day_
qt_ ⚠list_ scroll_ to_ end - day_
qt_ ⚠list_ scroll_ to_ row - day_
qt_ ⚠list_ set_ automatic - day_
qt_ ⚠list_ set_ count - Bring the row count to
nwith one model delta; no selection report for rows dropped. - day_
qt_ ⚠list_ set_ estimate - The height of a row Day has not measured yet.
- day_
qt_ ⚠list_ set_ headers - A sectioned list’s header rows (docs/list.md “Sections”): unselectable, painted as headers, sized apart from the item rows.
- day_
qt_ ⚠list_ set_ row_ height - Row
rowisheighttall; coalesced into one relayout per loop turn. - day_
qt_ ⚠list_ set_ selected - Programmatic selection sync: no echo back through
on_select. - day_
qt_ ⚠list_ set_ supplements - The list’s supplementary rows (docs/list.md “Header, footer and empty state”): no flags, no chrome, sized to their content.
- day_
qt_ ⚠list_ splice - One sequential row delta: kind 0 = insert at
a, 1 = removea, 2 = moveatob. - day_
qt_ ⚠list_ splice_ all - A whole splice:
countkind, a, btriples, after which the source holdsfinal_lenrows. Applied delta by delta when they fit the view’s rows and end atfinal_len; otherwise a model reset tofinal_lenthat keeps the scroll position. 1 = applied, 0 = reset. - day_
qt_ ⚠list_ viewport - What the list shows: first and last rows with any part in view and the distance from the viewport’s end to the content’s. 0 = nothing to report (no rows, no height).
- day_
qt_ ⚠list_ viewport_ width - day_
qt_ ⚠list_ visible_ rows - The rows on screen (
last<firstbefore the view has laid anything out). - day_
qt_ ⚠measure_ text - Measure one line of canvas text;
out(3 doubles) receives width, height, ascent. - day_
qt_ ⚠menu_ add_ action - day_
qt_ ⚠menu_ add_ role - day_
qt_ ⚠menu_ add_ separator - day_
qt_ ⚠menu_ add_ submenu - day_
qt_ ⚠menu_ new - day_
qt_ ⚠menubar_ add_ menu - day_
qt_ ⚠modifiers - The modifier keys held right now (docs/menus.md): shift 1, primary 2, alt 4. A query, not a callback — Qt exposes the live keyboard state directly.
- day_
qt_ ⚠native_ free - Release the strings
day_qt_read_nativewrote, and null them. - day_
qt_ ⚠nav_ header_ install - Install the stack-nav back header into a splitter’s detail side; returns the NEW pages
host below it (use in place of pane 1).
cb(id)fires on the back button. - day_
qt_ ⚠nav_ header_ update - Show/hide the back header + set its title (activates layout synchronously).
- day_
qt_ ⚠navlist_ new - day_
qt_ ⚠navlist_ set_ items joined= row titles (U+001F-separated).icons= a PARALLEL list of icon file paths (also U+001F-separated, empty entry = no icon for that row).tints= a PARALLEL list of per-row “#rrggbb” icon tints (empty entry = palette text color).sections= a PARALLEL list of section headings, each opening a group before its row (empty entry = the row continues the current group). The shim draws a heading as an item of its own but keeps reporting and accepting DAY’s row indices, so headings never shift whatday_qt_navlist_set_selectedand the selection callback mean.- day_
qt_ ⚠navlist_ set_ row_ menus - Per-row context menus for the nav list (docs/menus.md): a parallel array of
QMenu* (null = no menu for that row); the shim maps a custom-context request to its row. - day_
qt_ ⚠navlist_ set_ selected - day_
qt_ ⚠navlist_ update_ rows - New words or decorations for the comma-joined Day
rowsof the same row set, in place. - day_
qt_ ⚠on_ appearance - Called once per turn of the event loop after the palette or the color scheme changed.
- day_
qt_ ⚠on_ text_ scale - Call
cbwhenday_qt_text_scalemay have changed. - day_
qt_ ⚠open_ url - day_
qt_ ⚠post - day_
qt_ ⚠post_ delayed - day_
qt_ ⚠present_ dialog - day_
qt_ ⚠present_ file_ open multiple≠ 0 lets the user pick several files; the answer joins every chosen path with the unit separator (tag 3,PresentResult::decode).- day_
qt_ ⚠present_ file_ save - day_
qt_ ⚠present_ folder_ open - A directory chooser (
QFileDialog::Directory+ShowDirsOnly), answered like a file. - day_
qt_ ⚠present_ prompt - day_
qt_ ⚠progress_ new - day_
qt_ ⚠progress_ set - day_
qt_ ⚠quit QCoreApplication::quit.- day_
qt_ ⚠read_ displayed - What the widget shows now, mid-animation included (
Toolkit::read_displayed). - day_
qt_ ⚠read_ native - Read a widget’s native state back into
out(Toolkit::read_native, docs/testing.md). Release its strings withday_qt_native_free. - day_
qt_ ⚠register_ font QFontDatabase::addApplicationFont— returns the font id (>= 0) or -1 on failure. Requires a constructedQApplication.- day_
qt_ ⚠register_ resource - day_
qt_ ⚠remove_ child - day_
qt_ ⚠request_ frame - day_
qt_ ⚠resource_ data - day_
qt_ ⚠resource_ exists - day_
qt_ ⚠screen_ count - day_
qt_ ⚠screen_ info out[9]: frame, work area, scale. Returns 1 primary, 0 other, -1 out of range.- day_
qt_ ⚠scroll_ bar_ inset - day_
qt_ ⚠scroll_ configure - The scroll piece’s preferences (docs/scroll.md):
hiddendrops both scroll bars;snap0 = none, 1 = pages, 2 = everyintervalpoints (emulated: a glide to the nearest resting point once the user’s scrolling goes quiet). - day_
qt_ ⚠scroll_ content - day_
qt_ ⚠scroll_ new - day_
qt_ ⚠scroll_ offset - The content offset of any Qt scroll area (the scroll piece or a list), in points.
- day_
qt_ ⚠scroll_ set_ content_ size - day_
qt_ ⚠scroll_ to_ rect - The least scroll that shows the content rect, gliding when
animated. - day_
qt_ ⚠scroll_ track_ offset track_offset: report the content offset tonodethroughcbas it moves, at most once per frame and once more at rest.- day_
qt_ ⚠separator_ new vertical: 1 for a rule down a row (QFrame::VLine), 0 for one across a column.- day_
qt_ ⚠set_ a11y_ traits - Explicit role, spoken value and hidden flag, served by the shim’s own accessible
interface (docs/accessibility.md).
rolefollowsday_spec::Roledeclaration order (shim.cpp carries the same table): 0 none (the widget’s own role stays), 1 Button, 2 Toggle, 3 Slider, 4TextInput, 5 Heading withlevel, 6 Image, 7 Meter, 8 Group, 9 Tree, 10TreeItem, 11 Tab, 12TabList.valueNULL = none. Once hidden, a widget stays hidden.selected-1 = unset, else the selected state. - day_
qt_ ⚠set_ accessible_ description - day_
qt_ ⚠set_ accessible_ name - day_
qt_ ⚠set_ app_ icon - day_
qt_ ⚠set_ appearance - Day’s appearance override: 1 dark, 0 light, -1 the system’s again
(
QStyleHints::setColorScheme, Qt 6.8+). Nonzero when the request was made. - day_
qt_ ⚠set_ context_ menu - day_
qt_ ⚠set_ drag_ axis - The axis
w’s drag follows: 0 any, 1 horizontal, 2 vertical (docs/gestures.md “Gestures inside a scroll view”). - day_
qt_ ⚠set_ drag_ region - day_
qt_ ⚠set_ enabled - day_
qt_ ⚠set_ focusable .focusable()beyond the keys and the focus reports: pointer input and the keyboard focus indicator (docs/focus.md).- day_
qt_ ⚠set_ frame - The widget’s frame in its parent, at once or animated as
day_qt_set_opacityis. - day_
qt_ ⚠set_ geometry - day_
qt_ ⚠set_ hit_ slop - Grow the area
wtakes pointer input in by these points per edge; zeros restore its bounds (docs/gestures.md “Hit slop”). - day_
qt_ ⚠set_ keep_ running - Keep the process when the primary window closes; its close then reports as node 0.
- day_
qt_ ⚠set_ lifecycle_ cb - day_
qt_ ⚠set_ menu_ cb - day_
qt_ ⚠set_ object_ name - day_
qt_ ⚠set_ opacity - The widget’s opacity, shown through its
DayEffect: at once with a nullanim, which also stops a run in flight, or animated underanimfrom the opacity shown now. - day_
qt_ ⚠set_ passive - Mark
was a Day view that takes no pointer input until a recognizer, a menu, a drag, a drop or focus is attached (docs/gestures.md “Pass-through”). - day_
qt_ ⚠set_ present_ cb - day_
qt_ ⚠set_ text_ keys - day_
qt_ ⚠set_ toolbar_ cb - day_
qt_ ⚠set_ tooltip - day_
qt_ ⚠set_ touches_ cb - Where the contact lists of every touches recognizer go (docs/gestures.md “Touches”):
cb(node, numbers, count), six numbers per contact (id, phase, x, y, pressure, kind), valid for the call. - day_
qt_ ⚠set_ transform - The widget’s transform (translation in points, scale, rotation in degrees about its
center), shown through its
DayEffect, at once or animated asday_qt_set_opacityis. - day_
qt_ ⚠set_ visible - day_
qt_ ⚠set_ window_ events_ cb - day_
qt_ ⚠set_ window_ state_ cb - Display-state reports for every Day window (docs/windows.md “Window properties”): the
window’s node id (0 = the primary) and a
day_spec::WindowStatecode. - day_
qt_ ⚠size_ hint - day_
qt_ ⚠slider_ new - day_
qt_ ⚠slider_ set - day_
qt_ ⚠snapshot_ png scale> 0 renders at that many pixels per point; 0 keeps the widget’s own ratio.- day_
qt_ ⚠split_ fraction - day_
qt_ ⚠split_ new - A two-pane
QSplitter(docs/split.md), stacked whenvertical, each pane at leastmin_panealong the axis. - day_
qt_ ⚠split_ set_ fraction - day_
qt_ ⚠split_ set_ orientation - day_
qt_ ⚠splitter_ new - The navigation splitter: sidebar, content list, detail.
list_width<= 0 hides the list pane; the minimums are the drag limits (docs/navigation.md). - day_
qt_ ⚠splitter_ on_ moved - day_
qt_ ⚠splitter_ on_ resized - Report a splitter’s pane geometry on every layout pass Qt runs on it — the first of which is what turns the constructor’s placeholder sizes into real ones.
- day_
qt_ ⚠splitter_ pane - day_
qt_ ⚠splitter_ set_ pane_ width - Give one pane a width, taking the difference from the last pane.
- day_
qt_ ⚠string_ free - Release a string returned by
day_qt_font_families. Safe to call with null. - day_
qt_ ⚠subtree_ enabled - Disable (0) or enable (1) the subtree under
w, counted per call (docs/forms.md “Disabling a group”). - day_
qt_ ⚠system_ color - The application palette’s color for the
day_spec::SystemColorwire numberrole, written torgba(0..1); 0 when the palette has no color for that role. - day_
qt_ ⚠tabs_ add_ page - day_
qt_ ⚠tabs_ chrome - day_
qt_ ⚠tabs_ content_ size - day_
qt_ ⚠tabs_ documents - day_
qt_ ⚠tabs_ move_ page - day_
qt_ ⚠tabs_ new - day_
qt_ ⚠tabs_ park - The suite’s sidebar page, whose rows became the bar: kept under the
QTabWidgetfor the menu’s parent chain, never a tab, so tab i is destination i. - day_
qt_ ⚠tabs_ remove_ page - day_
qt_ ⚠tabs_ set_ current - day_
qt_ ⚠tabs_ set_ icon - Set (or clear, with an empty path) a tab’s leading icon.
- day_
qt_ ⚠tabs_ set_ title - day_
qt_ ⚠text_ scale - The desktop’s text-size factor for Day’s point-sized text (1.0 at the default).
- day_
qt_ ⚠toolbar_ add_ action - day_
qt_ ⚠toolbar_ add_ label - day_
qt_ ⚠toolbar_ add_ menu - day_
qt_ ⚠toolbar_ add_ search - day_
qt_ ⚠toolbar_ add_ segmented - day_
qt_ ⚠toolbar_ add_ separator - day_
qt_ ⚠toolbar_ begin_ insert - Aim the next
add_*atgroup(0 leading, 1 principal, 2 trailing) of columncol(0 sidebar, 1 list, 2 detail), right after itemafter(“” = first in the group).indexis the item’s place in Day’s order, which a change of layout re-places by. - day_
qt_ ⚠toolbar_ focus - day_
qt_ ⚠toolbar_ has_ columns - Whether this bar is laid out in columns (its window has a navigation splitter).
- day_
qt_ ⚠toolbar_ remove - Take one item off the window’s bar.
- day_
qt_ ⚠toolbar_ set_ checked - day_
qt_ ⚠toolbar_ set_ enabled - day_
qt_ ⚠toolbar_ set_ placeholder - day_
qt_ ⚠toolbar_ set_ selected - day_
qt_ ⚠toolbar_ set_ suggestions - day_
qt_ ⚠toolbar_ set_ text - day_
qt_ ⚠toolbar_ set_ words - day_
qt_ ⚠toolbar_ sync_ columns - Re-size the column tracks to the splitter’s panes.
- day_
qt_ ⚠tray_ available - day_
qt_ ⚠tray_ delete - day_
qt_ ⚠tray_ new - day_
qt_ ⚠tray_ update - day_
qt_ ⚠tree_ add - day_
qt_ ⚠tree_ begin - day_
qt_ ⚠tree_ cell - day_
qt_ ⚠tree_ end - day_
qt_ ⚠tree_ expand - day_
qt_ ⚠tree_ frame - day_
qt_ ⚠tree_ new - day_
qt_ ⚠tree_ reveal - day_
qt_ ⚠tree_ select - day_
qt_ ⚠widget_ focus - day_
qt_ ⚠widget_ has_ styled_ surface - Nonzero once the container paints its own surface (
day_qt_widget_set_styled_surface). - day_
qt_ ⚠widget_ set_ bg - Update only the background color, preserving the corner radius captured by the last
day_qt_widget_set_surface(so a reactive.backgroundkeeps its rounded corners). Animated underanimfrom the fill shown now when both ends are a fill; at once otherwise. - day_
qt_ ⚠widget_ set_ cursor QWidget::setCursor(Qt::CursorShape); a negative shape unsets it (docs/cursor.md).- day_
qt_ ⚠widget_ set_ direction - The widget’s own reading direction (
Toolkit::set_layout_direction). - day_
qt_ ⚠widget_ set_ section_ card - day_
qt_ ⚠widget_ set_ styled_ surface - A styled surface (docs/surfaces.md): fill or gradient, per-corner rounding, border and
shadow on one container.
specis 24 numbers (fill r,g,b,a · radius · corner bits · clips · border r,g,b,a · border width · shadow r,g,b,a · shadow blur, dx, dy · gradient kind (0 none, 1 linear, 2 radial, 3 conic) · the gradient’s four numbers: linear start x,y and end x,y, radial center x,y and radius, conic center x,y and start degrees clockwise from +x) andstopsisn_stopsgroups of (offset, r, g, b, a), ascending;stopsmay be null whenn_stopsis 0. The border is drawn over the container’s children. Idempotent: sent again for a reactive surface and on an appearance switch. - day_
qt_ ⚠widget_ set_ surface - Apply a
background/corner_radiussurface via a scoped stylesheet (#objName { ... }so children don’t inherit the fill) +WA_StyledBackground.r,g,bare 0..1,ais the alpha 0..1;radiusin px;clips != 0requests rounded-child clipping (best-effort). - day_
qt_ ⚠widget_ set_ window_ surface SurfaceRole::Window: the window’s own background (palette(window)), rounded and, withclips, clipping its children to the rounding.- day_
qt_ ⚠widget_ size - day_
qt_ ⚠window_ alert - day_
qt_ ⚠window_ close - day_
qt_ ⚠window_ content - day_
qt_ ⚠window_ destroy - day_
qt_ ⚠window_ fit - Resize to
w×hof content and keep it there (WindowOptions::size_to_fit): a fixed-size panel moves its pin, a resizable window just resizes. - day_
qt_ ⚠window_ frame - The frame into
out[4]; 0 where the platform does not say. - day_
qt_ ⚠window_ is_ active - day_
qt_ ⚠window_ menubar - day_
qt_ ⚠window_ menubar_ done - day_
qt_ ⚠window_ new - day_
qt_ ⚠window_ new2 - day_
qt_ ⚠window_ on_ resize - day_
qt_ ⚠window_ place - Open position: 1 centered, 2 at (x, y).
- day_
qt_ ⚠window_ raise - day_
qt_ ⚠window_ set_ chrome - The chrome a window opens with, before it is first shown.
- day_
qt_ ⚠window_ set_ frame - Move (frame top-left) and/or resize (content size).
- day_
qt_ ⚠window_ set_ limits - Content-size limits; negative lifts a bound.
- day_
qt_ ⚠window_ set_ state - Ask for a display state by
day_spec::WindowStatecode (showNormal / showMinimized / showMaximized / showFullScreen); the outcome comes back through the state callback. - day_
qt_ ⚠window_ set_ switch - 0 on top, 1 tool window, 2 minimize, 3 maximize, 4 close button, 5 resizable, 6 visible.
- day_
qt_ ⚠window_ set_ title - day_
qt_ ⚠window_ show - day_
qt_ ⚠window_ toolbar - The window’s bar, created and laid out for the window on first use; begins an edit.
- day_
qt_ ⚠window_ toolbar_ done - End the edit: show the bar while it has items, and lay the window out.