Graphical user interface 2026-11-05
A graphical user interface lets a user inspect and manipulate a program through visual controls such as windows, buttons, menus and text fields. A GUI widget combines a displayed representation with interaction behavior. Input events select a control or action, while application state determines what is drawn next.
For example, pressing a button can initiate a calculation and later display its result. The Event handler should not have to embed every computational detail; separating the underlying model from its view makes other interfaces and tests possible. Qt Widgets provides visual elements, layout management and event handling as separate cooperating mechanisms.[ref] A visible control is therefore an interaction interface, not an authorization boundary or proof that the requested action succeeded.
GUI widget 2026-11-05
A GUI widget is an interactive or display component of a graphical user interface, such as a button, text field or list. It combines presentation, relevant state and responses to software events. Widgets can contain other widgets; a layout manager arranges them using their size requirements.[ref]
For example, a numeric-entry GUI widget stores editable text, draws it and reacts to keystrokes. The text 1e can be a legitimate intermediate editing state even when the completed value must be numeric. Separating editing behavior from the application's data model makes that distinction manageable. A disabled button conveys interface state; server-side authorization still has to decide whether the underlying action is permitted.
Trust boundary 2026-11-05
A trust boundary separates components or actors to which a threat model assigns different trust or authority. Data crossing it must be checked under the receiving side's rules. A boundary can exist between a browser and server, between two operating-system processes, or inside one application.[ref]
For example, a browser sends a requested record identifier to a database-backed service. The service must check both its format and the requester's authorization to access that record. Hiding the identifier in a GUI widget does not establish either property: an attacker can send a different request. Identifying the trust boundary makes the required checks visible before choosing a security mechanism.