Class ExplorerWidget

Inheritance Relationships

Base Type

Class Documentation

class SmartPeak::ExplorerWidget : public SmartPeak::GenericTableWidget

Base class for all tables.

TODO: features

  • row highlighting on focus

  • searching

  • color coding of rows by status

Public Functions

inline ExplorerWidget(const Eigen::Tensor<std::string, 1> &headers, const Eigen::Tensor<std::string, 2> &columns, const Eigen::Tensor<bool, 1> &checked_rows, const std::string &table_id, const Eigen::Tensor<std::string, 1> &checkbox_headers, Eigen::Tensor<bool, 2> &checkbox_columns)
virtual void draw() override

Interface to show the widget

NOTE: free to override in inherited implmementations

Public Members

const Eigen::Tensor<std::string, 1> &checkbox_headers_
Eigen::Tensor<bool, 2> &checkbox_columns_