serialplot icon indicating copy to clipboard operation
serialplot copied to clipboard

Fix tab keystroke order of widgets in plot tab

Open kreddkrikk opened this issue 4 months ago • 0 comments

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>

kreddkrikk avatar Sep 16 '25 01:09 kreddkrikk