Ignore:
Timestamp:
Jul 28, 2016, 6:04:21 PM (5 years ago)
Author:
Thomas Fuhrmann
Message:

Management of lists using red/black colors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mavlink/tools/FlairGCS/src/ListWidget.h

    r54 r56  
    1111class Layout;
    1212class QStringList;
     13class QListWidgetItem;
     14class QPalette;
    1315
    1416class ListWidget : public FormLayout {
     
    2224private:
    2325  QListWidget* listwidget;
     26  int current_item_row;
     27  bool is_up_to_date;
     28  QPalette list_red_pal;
     29  QPalette list_black_pal;
    2430  void XmlEvent(QDomElement dom);
    2531  void SetUptodate(void);
    2632  void Reset(void);
    2733  void LoadEvent(QDomElement dom);
     34  bool IsUptodate(void);
    2835
    29   // void ui_to_var(void);
    30   // void ui_to_xml(void);
     36  void ui_to_var(void);
     37  void ui_to_xml(void);
    3138
    3239private slots:
    33   // void valuechanged(int value);
     40  void SelectedItemChanged(int current_row);
    3441};
    3542
Note: See TracChangeset for help on using the changeset viewer.