Class GenericTableWidget¶
Defined in File Widget.h
Inheritance Relationships¶
Base Type¶
public SmartPeak::Widget(Class Widget)
Derived Type¶
public SmartPeak::ExplorerWidget(Class ExplorerWidget)
Class Documentation¶
-
class
SmartPeak::GenericTableWidget: public SmartPeak::Widget¶ Base class for default tables.
TODO: features
row highlighting on focus
sorting
filtering
Subclassed by SmartPeak::ExplorerWidget
Public Functions
-
inline
GenericTableWidget(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)¶
-
virtual void
draw() override¶ Interface to show the widget
NOTE: free to override in inherited implmementations