SLOT(on_dec_initialStateConfigurable_changed(int)));
decoder_layout->addRow(tr("Allow configuration of &initial signal state"), cb);
+ cb = create_checkbox(GlobalSettings::Key_Dec_AlwaysShowAllRows,
+ SLOT(on_dec_alwaysshowallrows_changed(int)));
+ decoder_layout->addRow(tr("Always show all &rows, even if no annotation is visible"), cb);
+
// Annotation export settings
ann_export_format_ = new QLineEdit();
ann_export_format_->setText(
GlobalSettings settings;
settings.setValue(GlobalSettings::Key_Dec_ExportFormat, text);
}
+
+void Settings::on_dec_alwaysshowallrows_changed(int state)
+{
+ GlobalSettings settings;
+ settings.setValue(GlobalSettings::Key_Dec_AlwaysShowAllRows, state ? true : false);
+}
#endif
void Settings::on_log_logLevel_changed(int value)