44 for (std::size_t i =
options_.size() - 1; i > 0; --i) {
46 for (
int j = i - 1; j >= 0; --j) {
65 for (
unsigned i = 0; i <
options_.size(); ++i) {
67 for (
unsigned j = i + 1; j <
options_.size(); ++j) {
void setOptionList(OptionList *l)
OptionList(WContainerWidget *parent=0)
Create an OptionList.
void update()
Updates the stateless implementations after an Option has been hidden or shown.
std::vector< Option * > options_
The list of options.
void optionVisibilityChanged(Option *opt, bool hidden)
An option changed visibility: possibly update the separators inbetween.
Option * optionNeedReset_
The option that needs its stateless code updated.
void add(Option *option)
Add an Option to the list.