Changeset 59 in flair-src for branches/mavlink/lib/FlairCore/src/ListWidget.h
- Timestamp:
- 07/29/16 15:02:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mavlink/lib/FlairCore/src/ListWidget.h
r57 r59 22 22 23 23 /*! \class ListWidget 24 * 25 * \brief Class displaying a QListWidget on the ground station 26 * 27 */ 24 * 25 * \brief Class displaying a QListWidget on the ground station 26 * 27 * The internal list (called items) contains the same elements 28 * as the list of the QListWidget on the ground station. 29 * To do that, each action done on the ground station has to 30 * applied thanks to a click on the "apply" button. 31 * 32 */ 28 33 class ListWidget : public Widget { 29 34 public: … … 69 74 void XmlEvent(void); 70 75 71 //store the items 76 /** 77 * List of items displayed in the ground station. 78 */ 72 79 std::vector<std::string> items; 73 //selected item row, starting from 0 74 uint16_t selected_item_row; 75 bool selected_item_changed; 80 /** 81 * Row of the item currently selected in the list. 82 */ 83 uint16_t selectedItemRow; 84 /** 85 * Flag to know if the selected item has changed. 86 */ 87 bool selectedItemChanged; 76 88 }; 77 89
Note:
See TracChangeset
for help on using the changeset viewer.