+
+ // Add stacking button
+ QPushButton *const stack_button =
+ new QPushButton(tr("Stack Decoder"), parent);
+ pv::widgets::DecoderMenu *const decoder_menu =
+ new pv::widgets::DecoderMenu(parent);
+ stack_button->setMenu(decoder_menu);
+
+ QHBoxLayout *stack_button_box = new QHBoxLayout;
+ stack_button_box->addWidget(stack_button, 0, Qt::AlignRight);
+ form->addRow(stack_button_box);