Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef OPTIONLIST_H_
00008 #define OPTIONLIST_H_
00009
00010 #include <Wt/WContainerWidget>
00011
00012 using namespace Wt;
00013
00014 class Option;
00015
00020
00040 class OptionList : public WContainerWidget
00041 {
00042 public:
00045 OptionList(WContainerWidget *parent = 0);
00046
00049 void add(Option *option);
00050
00054 void update();
00055
00056 private:
00058 std::vector<Option *> options_;
00059
00061 Option *optionNeedReset_;
00062
00064 void optionVisibilityChanged(Option *opt, bool hidden);
00065
00066 friend class Option;
00067 };
00068
00071 #endif // OPTIONLIST_H_