Yureka LogoDocs

Calculator

The Calculator is a simple utility for performing basic arithmetic operations.

Core Features

  • Standard operations: Addition, Subtraction, Multiplication, Division.
  • Clear and Reset functionality.
  • Floating-point support.
  • Rigid window layout matching the Calendar aesthetic.

Technical Details

  • Controller Class: UCalculatorApp (Inherits from UAppBase)
  • View Target: User must assign a UMG Widget to CalculatorWidgetClass.
  • Window Specs:
    • Initial Size: 300x500
    • Resizable: false
    • Maximizable: false

Architecture & Dependencies

Arithmetic is handled on the widget side (UMG) for immediate visual feedback. The UCalculatorApp controller strictly handles the window instantiation and OS process lifecycle, registering its PID with the UProcessManagerSubsystem automatically via the UAppLauncherSubsystem.