This is a simple "get" method that returns a copy of the vector of Ids managed by this CheckBox widget. --- kernel-shark/src/KsWidgetsLib.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel-shark/src/KsWidgetsLib.hpp b/kernel-shark/src/KsWidgetsLib.hpp index 0d79250..59e773d 100644 --- a/kernel-shark/src/KsWidgetsLib.hpp +++ b/kernel-shark/src/KsWidgetsLib.hpp @@ -99,6 +99,12 @@ public: void set(QVector<bool> v); + /** + * Get a vector containing all Ids (can be PID CPU Ids etc.) managed + * by this widget. + */ + QVector<int> getIds() const {return _id;} + QVector<int> getCheckedIds(); private: -- 2.20.1