+ // Decoders Menu
+ _menu_decoders = new QMenu(_menu_bar);
+ _menu_decoders->setTitle(QApplication::translate(
+ "MainWindow", "&Decoders", 0, QApplication::UnicodeUTF8));
+
+ _menu_decoders_add = new pv::widgets::DecoderMenu(_menu_decoders);
+ _menu_decoders_add->setTitle(QApplication::translate(
+ "MainWindow", "&Add", 0, QApplication::UnicodeUTF8));
+ connect(_menu_decoders_add, SIGNAL(decoder_selected(srd_decoder*)),
+ this, SLOT(add_decoder(srd_decoder*)));
+
+ _menu_decoders->addMenu(_menu_decoders_add);
+