10 #include <Wt/WCompositeWidget> 42 IconPair(
const std::string icon1URI,
const std::string icon2URI,
51 void setState(
int num);
100 void undoShowIcon1();
103 void undoShowIcon2();
108 #endif // ICONPAIR_H_ An icon pair (identical to WIconPair)
Wt::WImage * icon1() const
Get the first icon image.
Wt::WContainerWidget * impl_
Wt::WImage * icon2() const
Get the second icon image.
int previousState_
Undo state for prelearning stateless showIcon1() and showIcon2() slots.
Wt::EventSignal< Wt::WMouseEvent > & icon1Clicked
Signal emitted when clicked while in state 0 (icon 1 is shown).
Wt::EventSignal< Wt::WMouseEvent > & icon2Clicked
Signal emitted when clicked while in state 1 (icon 2 is shown).
Wt::WImage * icon2_
Second icon.
Wt::WImage * icon1_
First icon.