a5c-ai/babysitter / library/specializations/desktop-development/skills/qt-qml-component-generator
qt-qml-component-generator
VerifiedGenerate QML components with proper property bindings, signal/slot connections, and Qt Quick Controls integration
README.md
View on GitHub# qt-qml-component-generator
Generate QML components with proper property bindings and signal/slot connections.
## Overview
This skill creates well-structured QML components following Qt Quick best practices, including property bindings, signals, and C++ backend integration.
## Quick Start
```javascript
const result = await invokeSkill('qt-qml-component-generator', {
projectPath: '/path/to/qt-project',
componentName: 'CustomButton',
componentType: 'control',
properties: [
{ name: 'text', type: 'string', defaultValue: '""' },
{ name: 'loading', type: 'bool', defaultValue: 'false' }
],
signals: [
{ name: 'clicked', parameters: [] }
],
cppBackend: true,
useControls: 'basic'
});
```
## Features
### Component Types
| Type | Base | Use Case |
|------|------|----------|
| item | Item | Basic visual element |
| control | Control | Interactive widget |
| popup | Popup | Modal/overlay |
| view | ListView | List display |
| delegate | ItemDelegate | List item |
| singleton | QtObject | Shared state |
### Generated Files
- QML component file
- C++ backend class (optional)
- CMake module configuration
- qmldir module file
## Related Skills
- `qt-cmake-project-generator`
- `qt-translation-workflow`
## Related Agents
- `qt-cpp-specialist`
- `desktop-ux-analyst`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |