28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "QFlock Clock Application - macOS Fullscreen Always-on-Top Feature Test"
|
|
echo "======================================================================"
|
|
echo ""
|
|
echo "[SUCCESS] Compilation successful! Application build completed"
|
|
echo "[SUCCESS] macOS fullscreen always-on-top feature integrated"
|
|
echo ""
|
|
echo "Feature highlights:"
|
|
echo "• Basic always-on-top using Qt::WindowStaysOnTopHint"
|
|
echo "• Native macOS window level with NSWindowLevel"
|
|
echo "• Support for all desktop spaces (NSWindowCollectionBehaviorCanJoinAllSpaces)"
|
|
echo "• Fullscreen mode support (NSWindowCollectionBehaviorFullScreenAuxiliary)"
|
|
echo "• Prevents window focus stealing (Qt::WindowDoesNotAcceptFocus)"
|
|
echo ""
|
|
echo "Testing method:"
|
|
echo "1. Run ./build/Clouck.app/Contents/MacOS/Clouck"
|
|
echo "2. Open Safari or other apps in fullscreen mode"
|
|
echo "3. Observe if clock stays on top layer"
|
|
echo ""
|
|
echo "Optimized file structure:"
|
|
echo "• clock_widget.h/cpp - Main clock component"
|
|
echo "• config_manager.h/cpp - Configuration management"
|
|
echo "• window_helper_macos.h/mm - macOS native window helper"
|
|
echo ""
|
|
echo "Press any key to exit..."
|
|
read -n 1 -s
|