##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r327:87af69bdce8a
r1308:41b7c6aab8be
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
Alexandre Leroux
Creates a interface that defines a variable container...
r209 #ifndef SCIQLOP_IVARIABLECONTAINER_H
#define SCIQLOP_IVARIABLECONTAINER_H
class Variable;
/**
* @brief The IVariableContainer interface represents an UI object that can accommodate a variable
*/
class IVariableContainer {
public:
virtual ~IVariableContainer() = default;
/// Checks if the container can handle the variable passed in parameter
virtual bool canDrop(const Variable &variable) const = 0;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r327
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
Alexandre Leroux
Creates a interface that defines a variable container...
r209 };
#endif // SCIQLOP_IVARIABLECONTAINER_H