Skip to content

Commit

Permalink
plot: swap Y and X column
Browse files Browse the repository at this point in the history
also add a dummy column so the color isn't shown the rest of the row
  • Loading branch information
rp- committed May 16, 2014
1 parent 404274b commit a4f8ee7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ class MainWindow : public QMainWindow
enum PlotColumns
{
PlotColumnField = 0,
PlotColumnY = 1,
PlotColumnX = 2
PlotColumnX = 1,
PlotColumnY = 2,
PlotColumnDummy = 3
};

Ui::MainWindow* ui;
Expand Down
9 changes: 7 additions & 2 deletions src/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@
</sizepolicy>
</property>
<property name="columnCount">
<number>3</number>
<number>4</number>
</property>
<attribute name="headerDefaultSectionSize">
<number>100</number>
Expand All @@ -976,14 +976,19 @@
<string>Columns</string>
</property>
</column>
<column>
<property name="text">
<string>X</string>
</property>
</column>
<column>
<property name="text">
<string>Y</string>
</property>
</column>
<column>
<property name="text">
<string>X</string>
<string/>
</property>
</column>
</widget>
Expand Down

0 comments on commit a4f8ee7

Please sign in to comment.