CCIMXDesktop
 
Loading...
Searching...
No Matches
Tablet Class Reference

The Tablet class provides a user interface panel for building and evaluating string-based expressions interactively. More...

#include <Tablet.h>

Inheritance diagram for Tablet:

Public Slots

void setResult (const QString &v)
 Sets the result text shown in the result display area.
 
void append_outlayer (const QString &what)
 Appends an external string token to the internal expression.
 
void process_clear ()
 Clears the internal expression and updates the UI.
 
void process_chop ()
 Removes the last character or token from the expression.
 
void process_evaluate ()
 Evaluates the current expression and updates the result.
 

Public Member Functions

 Tablet (QWidget *parent=nullptr)
 Constructs the Tablet widget.
 
 ~Tablet ()
 Destructor.
 

Detailed Description

The Tablet class provides a user interface panel for building and evaluating string-based expressions interactively.

This widget allows appending tokens, clearing input, and evaluating mathematical or textual expressions via UI interaction.

Constructor & Destructor Documentation

◆ Tablet()

Tablet::Tablet ( QWidget *  parent = nullptr)
explicit

Constructs the Tablet widget.

Parameters
parentThe parent QWidget, if any.

Member Function Documentation

◆ append_outlayer

void Tablet::append_outlayer ( const QString &  what)
slot

Appends an external string token to the internal expression.

Parameters
whatThe token to append.

◆ setResult

void Tablet::setResult ( const QString &  v)
slot

Sets the result text shown in the result display area.

Parameters
vThe result string to display.

The documentation for this class was generated from the following files: