API Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
FormulaDialog.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Formula.h>
4#include <QWidget>
5class QGridLayout;
6class QLabel;
7namespace NDEVR
8{
9 class QCustomLabel;
10 class QCustomLineEdit;
11 class Button;
12 /**--------------------------------------------------------------------------------------------------
13 \brief Allows the user to see and edit a formula.
14 **/
39}
#define NDEVR_API
Definition DLLInfo.h:50
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A core widget that allows the user to click one of many button types.
Definition Button.h:66
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Allows the user to see and edit a formula.
Definition FormulaDialog.h:16
QSize sizeHint() const override
void pushFormula(Formula &formula)
Buffer< Formula > m_formula_stack
Definition FormulaDialog.h:34
Button * m_finished_button
Definition FormulaDialog.h:29
String m_current_category
Definition FormulaDialog.h:28
QLabel * m_formula_label
Definition FormulaDialog.h:35
FormulaDialog(const File &formula_file)
QGridLayout * m_variable_layout
Definition FormulaDialog.h:37
void setupForFormula(Formula &formula)
Formula * m_current_formula
Definition FormulaDialog.h:30
Buffer< Button * > m_buttons
Definition FormulaDialog.h:33
FormulaTree m_formula_tree
Definition FormulaDialog.h:31
Buffer< QCustomLineEdit * > m_line_edits
Definition FormulaDialog.h:32
QLabel * m_filled_formula_label
Definition FormulaDialog.h:36
The core String class for the NDEVR API.
Definition String.h:69
Definition ACIColor.h:37
Logic for storing the definition of a formula, that can be displayed to the end-user.
Definition Formula.h:12
Logic that saves formulas into a tree-like dependency structure.
Definition Formula.h:35