OpenCPN Partial API docs
Loading...
Searching...
No Matches
SetPanel< T > Class Template Reference

Common base for displaying a filter set bound to the set ctor parameter. More...

Inheritance diagram for SetPanel< T >:

Public Member Functions

 SetPanel (wxWindow *parent, std::set< T > &set, std::function< void()> on_update, const std::string &label, std::function< wxArrayString()> get_choices)
 

Detailed Description

template<typename T>
class SetPanel< T >

Common base for displaying a filter set bound to the set ctor parameter.

  • A heading like "Interfaces"
  • A label like "Use interfaces: "
  • A checkbox labeled "All" which checks all set items
  • A ChecklistBox where user can check items. Only visible if the checkbox isn't checked.

Definition at line 339 of file filter_dlg.cpp.

Constructor & Destructor Documentation

◆ SetPanel()

template<typename T >
SetPanel< T >::SetPanel ( wxWindow *  parent,
std::set< T > &  set,
std::function< void()>  on_update,
const std::string &  label,
std::function< wxArrayString()>  get_choices 
)
inline

Definition at line 341 of file filter_dlg.cpp.


The documentation for this class was generated from the following file: