the Model used by Bargraph GraphicWidget
More...
#include <widget_bargraph.h>
|
|
size_t | number_of_bar |
| | the number of bar in the bargraph (and the number of values)
|
|
int | min_value |
| | the min value of the range of values
|
|
int | max_value |
| | the max value of the range of values
|
|
|
std::vector< int > | values |
| | the vector of values displayed by the bargraph
|
| std::set< Widget * > | attached_widgets |
| | the set of widgets that are in charge of viewing this model.
|
the Model used by Bargraph GraphicWidget
◆ ModelBargraph()
| ModelBargraph::ModelBargraph |
( |
size_t | number_of_bar, |
|
|
int | min_value, |
|
|
int | max_value ) |
◆ get_values()
| std::vector< int > ModelBargraph::get_values |
( |
| ) |
|
get internal values of the bargraph model
- Returns
- internal values
◆ update_values()
| void ModelBargraph::update_values |
( |
std::vector< int > | values | ) |
|
update internal values of the bargraph and set_change_flag
- Parameters
-
The documentation for this class was generated from the following files: