C++ API Reference#
The following sections present the C++ API Reference. All types are
within the slint namespace and are accessible by including
the slint.h
header file.
If you choose to load .slint
files dynamically at run-time, then
you can use the classes in slint::interpreter, starting at
slint::interpreter::ComponentCompiler
. You need to include
the slint-interpreter.h
header file.
Class Hierarchy#
-
- Namespace slint
- Namespace slint::interpreter
- Struct Diagnostic
- Struct PropertyDescriptor
- Struct Struct
- Struct Struct::iterator
- Class ComponentCompiler
- Class ComponentDefinition
- Class ComponentInstance
- Class Value
- Enum DiagnosticLevel
- Enum ValueType
- Namespace slint::platform
- Struct Rgb565Pixel
- Class AbstractRenderer
- Class NativeWindowHandle
- Class Platform
- Class Platform::Task
- Class SkiaRenderer
- Class SoftwareRenderer
- Class WindowAdapter
- Enum CloseRequestResponse
- Enum EventLoopMode
- Enum GraphicsAPI
- Enum PointerEventButton
- Enum RenderingState
- Enum SetRenderingNotifierError
- Struct Image
- Struct LogicalPosition
- Struct LogicalSize
- Struct PhysicalPosition
- Struct PhysicalSize
- Template Struct Point
- Struct Rgb8Pixel
- Struct Rgba8Pixel
- Template Struct RgbaColor
- Template Struct SharedPixelBuffer
- Struct SharedString
- Template Struct SharedVector
- Template Struct Size
- Struct StandardListViewItem
- Struct Timer
- Class Brush
- Class Color
- Template Class ComponentHandle
- Template Class ComponentWeakHandle
- Template Class FilterModel
- Template Class MapModel
- Template Class Model
- Template Class ReverseModel
- Template Class SortModel
- Template Class VectorModel
- Class Window
- Namespace slint::interpreter
- Namespace slint
File Hierarchy#
-
- Directory api
- Directory cpp
- Directory include
- File slint-interpreter.h
- File slint-platform.h
- File slint.h
- File slint_brush.h
- File slint_callbacks.h
- File slint_color.h
- File slint_config.h
- File slint_image.h
- File slint_interpreter.h
- File slint_pathdata.h
- File slint_point.h
- File slint_properties.h
- File slint_sharedvector.h
- File slint_size.h
- File slint_string.h
- File slint_timer.h
- File slint_window.h
- Directory include
- Directory cpp
- Directory cppdocs
- Directory generated_include
- File slint_brush_internal.h
- File slint_builtin_structs.h
- File slint_builtin_structs_internal.h
- File slint_color_internal.h
- File slint_enums.h
- File slint_enums_internal.h
- File slint_generated_public.h
- File slint_image_internal.h
- File slint_internal.h
- File slint_interpreter_generated_public.h
- File slint_interpreter_internal.h
- File slint_pathdata_internal.h
- File slint_platform_internal.h
- File slint_properties_internal.h
- File slint_qt_internal.h
- File slint_sharedvector_internal.h
- File slint_string_internal.h
- File slint_timer_internal.h
- Directory generated_include
- Directory api