mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
feat(styles): create global styles entry point and organize global styles feat(styles): implement base HTML element styles and utility classes for flexbox feat(styles): establish layout, position, spacing, and text utility classes feat(styles): introduce mixins for animations, cards, dialogs, flexbox, grid, and responsive design test(quick_guide): add component and metadata validation tests for quick_guide package test(ui_level6): implement metadata validation tests for ui_level6 package
28 lines
502 B
QML
28 lines
502 B
QML
pragma Singleton
|
|
import QtQuick
|
|
|
|
/**
|
|
* NerdModeContext - Toggle for showing technical details
|
|
* Mirrors React's NerdModeContext from App.jsx
|
|
*/
|
|
QtObject {
|
|
id: nerdModeContext
|
|
|
|
// Nerd mode state - shows raw JSON, task IDs, debug info
|
|
property bool nerdMode: false
|
|
|
|
/**
|
|
* Set nerd mode
|
|
*/
|
|
function setNerdMode(enabled) {
|
|
nerdMode = enabled
|
|
}
|
|
|
|
/**
|
|
* Toggle nerd mode
|
|
*/
|
|
function toggle() {
|
|
setNerdMode(!nerdMode)
|
|
}
|
|
}
|