Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
frontend
gtkmm
VisualCell.hh
Go to the documentation of this file.
1
2
#pragma once
3
4
// A VisualCell contains a pointer to a DataCell, as well as
5
// pointers to the various cell widgets, one of which will be
6
// representing the DataCell.
7
8
#include "
TeXView.hh
"
9
#include "
ImageView.hh
"
10
#include "
CodeInput.hh
"
11
#include "
DataCell.hh
"
12
#include "
SliderView.hh
"
13
14
namespace
cadabra
{
15
20
21
class
VisualCell
{
22
public
:
26
27
union
{
28
Gtk::Box *
document
;
// top-level cell; only one ever occurs in a document
29
CodeInput
*
inbox
;
30
TeXView
*
outbox
;
31
ImageView
*
imagebox
;
32
SliderView
*
slider
;
33
};
34
};
35
36
}
CodeInput.hh
DataCell.hh
ImageView.hh
SliderView.hh
TeXView.hh
cadabra::CodeInput
A text cell editor widget with support for editing Python and LaTeX.
Definition
CodeInput.hh:17
cadabra::ImageView
An image viewing widget.
Definition
ImageView.hh:53
cadabra::SliderView
An slider widget.
Definition
SliderView.hh:26
cadabra::TeXView
TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that.
Definition
TeXView.hh:31
cadabra::VisualCell
Structure holding a pointer to one of the possible GUI widgets that can appear in a document.
Definition
VisualCell.hh:21
cadabra::VisualCell::outbox
TeXView * outbox
Definition
VisualCell.hh:30
cadabra::VisualCell::slider
SliderView * slider
Definition
VisualCell.hh:32
cadabra::VisualCell::imagebox
ImageView * imagebox
Definition
VisualCell.hh:31
cadabra::VisualCell::document
Gtk::Box * document
Definition
VisualCell.hh:28
cadabra::VisualCell::inbox
CodeInput * inbox
Definition
VisualCell.hh:29
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
Generated by
1.17.0