]> sigrok.org Git - pulseview.git/commitdiff
dialogs::Connect: Adds shortcut keys for "Driver", "Serial Port" and "Scan for device...
authorUffe Jakobsen <redacted>
Sun, 28 Dec 2014 09:07:53 +0000 (09:07 +0000)
committerUwe Hermann <redacted>
Mon, 29 Dec 2014 15:52:34 +0000 (16:52 +0100)
pv/dialogs/connect.cpp

index f7b0fc76004b9bf7e95b09aff53371b0f7deb5ac..3ced06dc9ee1aa6b70e49a15725c4b03e5dbf8ed 100644 (file)
@@ -51,7 +51,7 @@ Connect::Connect(QWidget *parent, pv::DeviceManager &device_manager) :
        form_layout_(&form_),
        drivers_(&form_),
        serial_device_(&form_),
-       scan_button_(tr("Scan for Devices"), this),
+       scan_button_(tr("&Scan for Devices"), this),
        device_list_(this),
        button_box_(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
                Qt::Horizontal, this)
@@ -66,9 +66,9 @@ Connect::Connect(QWidget *parent, pv::DeviceManager &device_manager) :
                this, SLOT(device_selected(int)));
 
        form_.setLayout(&form_layout_);
-       form_layout_.addRow(tr("Driver"), &drivers_);
+       form_layout_.addRow(tr("&Driver"), &drivers_);
 
-       form_layout_.addRow(tr("Serial Port"), &serial_device_);
+       form_layout_.addRow(tr("Serial &Port"), &serial_device_);
 
        unset_connection();