Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
cadabra::SliderView Class Reference

Description

An slider widget.

The configuration string is a JSON object which can contain the following key/value pairs:

#include <SliderView.hh>

Inheritance diagram for cadabra::SliderView:

Public Member Functions

 SliderView (std::string config)
 
virtual ~SliderView ()
 
std::string get_variable () const
 

Public Attributes

Glib::RefPtr< Gtk::Adjustment > adjustment
 

Private Attributes

Gtk::VBox vbox
 
Gtk::Scale scale
 
double value
 
double min_value
 
double max_value
 
double step_size
 
std::string variable
 

Constructor & Destructor Documentation

◆ SliderView()

SliderView::SliderView ( std::string  config)

◆ ~SliderView()

SliderView::~SliderView ( )
virtual

Member Function Documentation

◆ get_variable()

std::string SliderView::get_variable ( ) const

Member Data Documentation

◆ adjustment

Glib::RefPtr<Gtk::Adjustment> cadabra::SliderView::adjustment

◆ max_value

double cadabra::SliderView::max_value
private

◆ min_value

double cadabra::SliderView::min_value
private

◆ scale

Gtk::Scale cadabra::SliderView::scale
private

◆ step_size

double cadabra::SliderView::step_size
private

◆ value

double cadabra::SliderView::value
private

◆ variable

std::string cadabra::SliderView::variable
private

◆ vbox

Gtk::VBox cadabra::SliderView::vbox
private

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