WSuggestionPopup::WSuggestionPopup(const Options& options, WObject *parent) : WPopupWidget(new WContainerWidget(), parent), model_(0), modelColumn_(0), filterLength_(0), filtering_(false), matcherJS_(generateMatcherJS(options)), replacerJS_(generateReplacerJS(options)), filterModel_(this), activated_(this), filter_(implementation(), "filter"), jactivated_(implementation(), "select") { init(); }
WSuggestionPopup::WSuggestionPopup(const Options& options, WContainerWidget *parent) : WCompositeWidget(parent), impl_(new WTemplate(WString::fromUTF8(TEMPLATE))), model_(0), modelColumn_(0), filterLength_(0), filtering_(false), matcherJS_(generateMatcherJS(options)), replacerJS_(generateReplacerJS(options)), filterModel_(this), activated_(this), filter_(impl_, "filter"), jactivated_(impl_, "select"), global_(false) { init(); }
WSuggestionPopup::WSuggestionPopup(const Options& options, WObject *parent) : WPopupWidget(new WContainerWidget(), parent), model_(0), modelColumn_(0), filterLength_(0), filtering_(false), defaultValue_(-1), isDropDownIconUnfiltered_(false), matcherJS_(generateMatcherJS(options)), replacerJS_(generateReplacerJS(options)), filterModel_(this), activated_(this), filter_(implementation(), "filter"), jactivated_(implementation(), "select"), currentItem_(-1), editRole_(UserRole) { init(); }