Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorEngine Namespace Reference

Namespaces

namespace  GeometryDefaults
 
namespace  GeometryUtils
 
namespace  JsonKeys
 
namespace  PerScreenKeys
 
namespace  PerScreenSnappingKey
 

Classes

class  IAutotileSettings
 
class  IGeometrySettings
 
class  IPlacementEngine
 Unified placement engine interface. More...
 
class  IPlacementState
 Per-screen placement state contract. More...
 
class  ISnapSettings
 
class  IVirtualDesktopManager
 
class  IWindowRegistry
 
class  IWindowTrackingService
 
struct  NavigationContext
 Target window + screen for a navigation or lifecycle operation. More...
 
struct  PendingRestore
 
class  PlacementEngineBase
 Abstract base class for placement engines. More...
 
struct  ResnapEntry
 
struct  SnapResult
 
struct  TilingStateKey
 
struct  UnfloatResult
 
struct  WindowMetadata
 
class  WindowRegistry
 
struct  ZoneAssignmentEntry
 

Enumerations

enum class  SnapIntent { UserInitiated , AutoRestored }
 
enum class  WindowKind : int { Unknown = 0 , Normal = 1 , Transient = 2 }
 Coarse structural classification for the snap-restore consume gate. More...
 
enum class  StickyWindowHandling { TreatAsNormal = 0 , RestoreOnly = 1 , IgnoreAll = 2 }
 
enum class  WindowState { Unmanaged , EngineOwned , Floated }
 

Functions

size_t qHash (const TilingStateKey &key, size_t seed=0)
 
constexpr QLatin1StringView RestoreSentinel ("__restore__")
 

Enumeration Type Documentation

◆ SnapIntent

enum class PhosphorEngine::SnapIntent
strong
Enumerator
UserInitiated 
AutoRestored 

◆ StickyWindowHandling

Enumerator
TreatAsNormal 
RestoreOnly 
IgnoreAll 

◆ WindowKind

enum class PhosphorEngine::WindowKind : int
strong

Coarse structural classification for the snap-restore consume gate.

Wire/JSON encoding is int; Unknown is the permissive default.

Enumerator
Unknown 
Normal 
Transient 

◆ WindowState

enum class PhosphorEngine::WindowState
strong
Enumerator
Unmanaged 
EngineOwned 
Floated 

Function Documentation

◆ qHash()

size_t PhosphorEngine::qHash ( const TilingStateKey key,
size_t  seed = 0 
)
inline

◆ RestoreSentinel()

constexpr QLatin1StringView PhosphorEngine::RestoreSentinel ( "__restore__"  )
inlineconstexpr