![]() |
Cadabra
Computer algebra system for field theory problems
|
TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that.
#include <TeXView.hh>
Classes | |
| class | TeXArea |
Public Member Functions | |
| TeXView (TeXEngine &, DTree::iterator, int hmargin=25) | |
| virtual | ~TeXView () |
| void | update_image () |
| Update the TeX image. More... | |
| void | dim (bool) |
| Dim the output to indicate that the result is no longer guaranteed to be correlated with the input cell from which it was derived. More... | |
Public Attributes | |
| std::shared_ptr< TeXEngine::TeXRequest > | content |
| sigc::signal1< bool, DTree::iterator > | show_hide_requested |
| DTree::iterator | datacell |
| Gtk::VBox | vbox |
| Gtk::HBox | hbox |
| TeXArea | image |
| sigc::signal1< bool, std::string > | tex_error |
Protected Member Functions | |
| virtual bool | on_button_release_event (GdkEventButton *) override |
| virtual void | on_show () override |
| void | convert () |
Private Attributes | |
| TeXEngine & | engine |
| TeXView::TeXView | ( | TeXEngine & | eng, |
| DTree::iterator | it, | ||
| int | hmargin = 25 |
||
| ) |
|
virtual |
|
protected |
| void TeXView::dim | ( | bool | d | ) |
Dim the output to indicate that the result is no longer guaranteed to be correlated with the input cell from which it was derived.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| void TeXView::update_image | ( | ) |
Update the TeX image.
| std::shared_ptr<TeXEngine::TeXRequest> cadabra::TeXView::content |
| DTree::iterator cadabra::TeXView::datacell |
|
private |
| Gtk::HBox cadabra::TeXView::hbox |
| TeXArea cadabra::TeXView::image |
| sigc::signal1<bool, DTree::iterator> cadabra::TeXView::show_hide_requested |
| sigc::signal1<bool, std::string> cadabra::TeXView::tex_error |
| Gtk::VBox cadabra::TeXView::vbox |
1.8.14