| 121 | } |
| 122 | |
| 123 | std::map<uint16_t, QString> Search::get_pattern() |
| 124 | { |
| 125 | std::map<uint16_t, QString> pattern; |
| 126 | |
| 127 | int index = 0; |
| 128 | for(auto s :_session->get_signals()) { |
| 129 | if (s->signal_type() == SR_CHANNEL_LOGIC) { |
| 130 | view::LogicSignal *logicSig = (view::LogicSignal*)s; |
| 131 | pattern[logicSig->get_index()] = _search_lineEdit_vec[index]->text(); |
| 132 | index++; |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | return pattern; |
| 137 | } |
| 138 | |
| 139 | } // namespace dialogs |
| 140 | } // namespace pv |
no test coverage detected