Ignore:
Timestamp:
Jul 29, 2016, 3:02:35 PM (5 years ago)
Author:
Thomas Fuhrmann
Message:

Improve ListWidget? + code cleanup + doxygen comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mavlink/lib/FlairCore/src/ListWidget.h

    r57 r59  
    2222
    2323/*! \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 */
    2833class ListWidget : public Widget {
    2934public:
     
    6974  void XmlEvent(void);
    7075
    71   //store the items
     76  /**
     77   * List of items displayed in the ground station.
     78   */
    7279  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;
    7688};
    7789
Note: See TracChangeset for help on using the changeset viewer.