  
    form_layout->addWidget(new QLabel("Bus"));
    form_layout->addWidget(bus_combo);
  
  
    min_msgs = new QLineEdit(this);
    min_msgs->setValidator(new QIntValidator(this));
    min_msgs->setText("100");
    form_layout->addWidget(new QLabel("Min msg count"));
 
</s> remove   bit_combo = new QComboBox(this);
  bit_combo->addItems({"0", "1"});
  bit_combo->setCurrentIndex(1);
  form_layout->addWidget(new QLabel("Bit"));
  form_layout->addWidget(bit_combo);
 </s> add  </s> remove   table->setHorizontalHeaderLabels({"address", "byte idx", "bit idx", "mismatches", "total", "perc%"});
 </s> add   table->setHorizontalHeaderLabels({"address", "byte idx", "bit idx", "mismatches", "total msgs", "% mismatched"}); </s> remove   auto msg_mismatched = calcBits(bus_combo->currentText().toUInt(), bit_combo->currentIndex(), min_msgs->text().toInt());
 </s> add   uint32_t selected_address = msg_cb->currentData().toUInt();
  auto msg_mismatched = calcBits(bus_combo->currentText().toUInt(), selected_address, byte_idx_sb->value(), bit_idx_sb->value(), min_msgs->text().toInt());
  form_layout->addWidget(msg_cb);
  form_layout->addWidget(new QLabel("Byte Index"));
  form_layout->addWidget(byte_idx_sb);
  form_layout->addWidget(new QLabel("Bit Index"));
  form_layout->addWidget(bit_idx_sb);
  
    form_layout->addWidget(new QLabel("Bus"));
    form_layout->addWidget(bus_combo);
  form_layout->addWidget(msg_cb);
  form_layout->addWidget(new QLabel("Byte Index"));
  form_layout->addWidget(byte_idx_sb);
  form_layout->addWidget(new QLabel("Bit Index"));
  form_layout->addWidget(bit_idx_sb);
  
  
    min_msgs = new QLineEdit(this);
    min_msgs->setValidator(new QIntValidator(this));
    min_msgs->setText("100");
    form_layout->addWidget(new QLabel("Min msg count"));
keep keep add keep keep keep keep keep keep
 cabana: fix find similar bits (#26918)

* dynamic find bit

* change

* Revert "change"

This reverts commit 12cf513e2725a52ee40b8999521adcd6ecb00221.

* change sorting and headers

* make perc a float

Co-authored-by: Shane Smiskol <shane@smiskol.com> 
tools/cabana/tools/findsimilarbits.cc