OpenMS
2.8.0
|
Public Member Functions | |
ActionRequirement_ (QAction *action, const FS_TV &needs, const FS_LAYER layer_set) | |
ActionRequirement_ (QAction *action, const TV_STATUS &needs, const FS_LAYER layer_set) | |
void | enableAction (const FS_TV status, const LayerDataBase::DataType layer_type) |
Private Attributes | |
QAction * | action_ |
FS_TV | needs_ |
FS_LAYER | layer_set_ |
|
inline |
|
inline |
void enableAction | ( | const FS_TV | status, |
const LayerDataBase::DataType | layer_type | ||
) |
check if an ActionRequirement is fulfilled by the arguments i.e. status
is a superset of needs_ and layer_type
is a superset of layer_set_ (or layer_set_ is empty) If yes, the the action to enabled, or disable it otherwise
|
private |
|
private |
|
private |