Skip to content

Fix tab keystroke order of widgets in plot tab #84

@kreddkrikk

Description

@kreddkrikk

I often change the "Buffer Size" and "Plot Width" to be equal values using the tab key. However when I switch between these settings using the tab key, it skips "Plot Width" and I have to tab all the way past the other settings to get to it. It would be helpful to configure these widgets to their logical tab order.

Image

EDIT: It seems the tab order is controlled by the order of the widgets in the .ui file. I was able to fix this by moving the plot width's QLabel and QSpinBox items right after the buffer size's in plotcontrolpanel.ui:

     <item row="0" column="0">
...
        <string>Buffer Size:</string>
...
     </item>
     <item row="0" column="1">
      <widget class="QSpinBox" name="spNumOfSamples">
...
      </widget>
     </item>
     <item row="1" column="0">
...
        <string>Plot Width:</string>
...
     </item>
     <item row="1" column="1">
      <widget class="QSpinBox" name="spPlotWidth">
...
      </widget>
     </item>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions