##// END OF EJS Templates
Creates a widget that will be the header of the menu in variable widget...
Creates a widget that will be the header of the menu in variable widget The header is a label that contains the variable name (if there is only one variable) or the number of variables (if several variables have been selected in the variable widget)

File last commit:

r209:7ef1d04a5917
r289:7ca994d5565d
Show More
IVariableContainer.h
19 lines | 463 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;
};
#endif // SCIQLOP_IVARIABLECONTAINER_H