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
- 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 SortModel
- Template Class VectorModel
- Class Window
- Enum CloseRequestResponse
- Enum GraphicsAPI
- Enum RenderingState
- Enum SetRenderingNotifierError
- Enum TimerMode
- Namespace slint::interpreter
- Namespace slint
File Hierarchy#
-
- Directory api
- Directory cpp
- Directory include
- 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_platform.h
- File slint_point.h
- File slint_properties.h
- File slint_sharedvector.h
- File slint_size.h
- File slint_string.h
- Directory include
- Directory cpp
- Directory cppdocs
- Directory generated_include
- File slint_backend_internal.h
- File slint_brush_internal.h
- File slint_color_internal.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_properties_internal.h
- File slint_qt_internal.h
- File slint_sharedvector_internal.h
- File slint_string_internal.h
- Directory generated_include
- Directory api