Changeset 61 in flair-src for branches/mavlink/tools/FlairGCS
- Timestamp:
- Jul 29, 2016, 3:32:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mavlink/tools/FlairGCS/src/ListWidget.cpp
r60 r61 10 10 #include <QListWidgetItem> 11 11 #include <QPalette> 12 #include <sstream> 12 13 13 #include <iostream> 14 #include <sstream> 14 // #include <iostream> 15 15 16 16 ListWidget::ListWidget(Layout *parent, int row, int col, QString name) … … 79 79 std::string item; 80 80 std::ostringstream item_prop; 81 item_prop << "item" << count; 81 item_prop << "item" << count; 82 82 SetAttribute(QString::fromStdString(item_prop.str()), 83 83 listwidget->item(count)->text()); … … 93 93 94 94 void ListWidget::LoadEvent(QDomElement dom) { 95 std::cout << "FlairGCS LoadEvent" << std::endl; 95 //function not tested 96 // std::cout << "FlairGCS LoadEvent" << std::endl; 96 97 if (listwidget->isEnabled() == true) { 97 std::cout << "FlairGCS LoadEvent loading" << std::endl;98 // std::cout << "FlairGCS LoadEvent loading" << std::endl; 98 99 listwidget->clear(); 99 100 QStringList items;
Note:
See TracChangeset
for help on using the changeset viewer.