API Documentation
Loading...
Searching...
No Matches
FormulaDialog Class Reference

Allows the user to see and edit a formula. More...

#include <FormulaDialog.h>

Inheritance diagram for FormulaDialog:
[legend]
Collaboration diagram for FormulaDialog:
[legend]

Public Member Functions

 FormulaDialog (const File &formula_file)
 
void popFormula ()
 
void pushFormula (Formula &formula)
 
void setupForFormula (Formula &formula)
 
void setupForRoot ()
 

Protected Member Functions

void clearLayout ()
 
QSize sizeHint () const override
 
void updateFormula ()
 

Protected Attributes

Buffer< Button * > m_buttons
 
String m_current_category
 
Formulam_current_formula
 
QLabel * m_filled_formula_label
 
Buttonm_finished_button
 
QLabel * m_formula_label
 
Buffer< Formulam_formula_stack
 
FormulaTree m_formula_tree
 
Buffer< QCustomLineEdit * > m_line_edits
 
QGridLayout * m_variable_layout
 

Detailed Description

Allows the user to see and edit a formula.


Constructor & Destructor Documentation

◆ FormulaDialog()

FormulaDialog ( const File & formula_file)

Member Function Documentation

◆ clearLayout()

void clearLayout ( )
protected

◆ popFormula()

void popFormula ( )

◆ pushFormula()

void pushFormula ( Formula & formula)

◆ setupForFormula()

void setupForFormula ( Formula & formula)

◆ setupForRoot()

void setupForRoot ( )

◆ sizeHint()

QSize sizeHint ( ) const
overrideprotected

◆ updateFormula()

void updateFormula ( )
protected

Member Data Documentation

◆ m_buttons

Buffer<Button*> m_buttons
protected

◆ m_current_category

String m_current_category
protected

◆ m_current_formula

Formula* m_current_formula
protected

◆ m_filled_formula_label

QLabel* m_filled_formula_label
protected

◆ m_finished_button

Button* m_finished_button
protected

◆ m_formula_label

QLabel* m_formula_label
protected

◆ m_formula_stack

Buffer<Formula> m_formula_stack
protected

◆ m_formula_tree

FormulaTree m_formula_tree
protected

◆ m_line_edits

Buffer<QCustomLineEdit*> m_line_edits
protected

◆ m_variable_layout

QGridLayout* m_variable_layout
protected

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