Allows the user to see and edit a formula.
More...
|
| | FormulaDialog (const File &formula_file) |
| | Constructs a FormulaDialog from a formula definition file.
|
|
void | popFormula () |
| | Pops the current formula from the stack and returns to the previous one.
|
| void | pushFormula (Formula &formula) |
| | Pushes a sub-formula onto the navigation stack and displays it.
|
| void | setupForFormula (Formula &formula) |
| | Configures the dialog to display and edit the given formula.
|
|
void | setupForRoot () |
| | Configures the dialog to display the root formula selection.
|
|
|
void | clearLayout () |
| | Clears the variable layout of all dynamically created widgets.
|
| QSize | sizeHint () const override |
| | Returns the preferred size hint for layout calculations.
|
|
void | updateFormula () |
| | Updates the formula display and variable inputs to reflect the current state.
|
Allows the user to see and edit a formula.
Definition at line 15 of file FormulaDialog.h.
◆ FormulaDialog()
| FormulaDialog::FormulaDialog |
( |
const File & | formula_file | ) |
|
Constructs a FormulaDialog from a formula definition file.
- Parameters
-
| [in] | formula_file | The file containing formula definitions. |
◆ pushFormula()
| void FormulaDialog::pushFormula |
( |
Formula & | formula | ) |
|
Pushes a sub-formula onto the navigation stack and displays it.
- Parameters
-
| [in] | formula | The sub-formula to navigate into. |
◆ setupForFormula()
| void FormulaDialog::setupForFormula |
( |
Formula & | formula | ) |
|
Configures the dialog to display and edit the given formula.
- Parameters
-
| [in] | formula | The formula to set up the dialog for. |
◆ sizeHint()
| QSize FormulaDialog::sizeHint |
( |
| ) |
const |
|
overrideprotected |
Returns the preferred size hint for layout calculations.
- Returns
- The size hint.
The documentation for this class was generated from the following file: