Configuration
FilterMate features a powerful, reactive configuration system that adapts to your environment and preferences. The configuration is stored in config/config.json and can be edited through the built-in JSON editor or manually.
Overviewβ
Key Featuresβ
- π Reactive Updates - Changes apply instantly without restart
- π― Auto-Detection - Screen size and theme detection
- π¨ Visual Editor - Built-in JSON editor with syntax highlighting
- π ChoicesType - Dropdown selectors for valid options
- π Validation - Real-time syntax and structure validation
- πΎ Auto-Save - Changes saved automatically
Configuration File Locationβ
filter_mate/
βββ config/
βββ config.json # Main configuration file
Configuration Structureβ
Auto-Configurationβ
UI Profile Detectionβ
FilterMate automatically detects your screen size and selects the optimal UI profile.
Configurationβ
{
"APP": {
"DOCKWIDGET": {
"UI_PROFILE": {
"choices": ["auto", "compact", "normal"],
"value": "auto"
},
"_UI_PROFILE_META": {
"description": "UI display profile",
"auto_detection_thresholds": {
"compact_if_width_less_than": 1920,
"compact_if_height_less_than": 1080
}
}
}
}
}
Detection Logicβ
Profile Comparisonβ
| Feature | Compact Mode | Normal Mode |
|---|---|---|
| Screen Size | < 1920x1080 | β₯ 1920x1080 |
| Icon Size | 20px | 25px |
| Padding | 5-10px | 10-15px |
| Spacing | 5px | 10px |
| Font Size | 9-10pt | 10-11pt |
| Widget Height | 28-32px | 32-36px |
| Use Case | Laptops, tablets | Desktops, large displays |