+
+void MainWindow::on_actionOpen_triggered()
+{
+ QString fileName = QFileDialog::getOpenFileName(
+ this, tr("Open File"), "",
+ tr("Sigrok Sessions (*.sr)"));
+ session.loadFile(fileName.toStdString());
+}
+
+void MainWindow::on_actionAbout_triggered()
+{
+ About dlg(this);
+ dlg.exec();
+}