Skip to content

Commit 1bda9ba

Browse files
committed
1D functions can now also be displayed and edited in the curve editor. The 1D function editor now also has a toolbutton to open the corresponding function in the curve editor.
1 parent 6c9852d commit 1bda9ba

14 files changed

Lines changed: 423 additions & 211 deletions

CUILib/PlotWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ void CPlotWidget::paintEvent(QPaintEvent* pe)
10481048
// clear the background
10491049
p.fillRect(m_screenRect, m_data.m_bgCol);
10501050

1051-
if (m_hlrng[1] > m_hlrng[0])
1051+
if (m_showHighlightInterval && (m_hlrng[1] > m_hlrng[0]))
10521052
{
10531053
int x0 = ViewToScreenX(m_hlrng[0]);
10541054
int x1 = ViewToScreenX(m_hlrng[1]);

CUILib/PlotWidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ public slots:
293293
bool m_bautoRngUpdate;
294294
bool m_newSelect;
295295
bool m_bdragging;
296+
bool m_showHighlightInterval = true;
296297

297298
QString m_customXAxisLabel;
298299
QString m_customYAxisLabel;

0 commit comments

Comments
 (0)