Unlike the on-screen view, the print view does not change which note names and lines are shown when the key, scale, or temperament are changed.
Can FreqWidgetGL::drawReferenceLines and FreqWidgetGL::drawReferenceLinesGL be combined into one method?
I read that Qt5 allows the use of Painter in GL views so that you don't need to write GL-specific code for 2D views in most cases. I'm not clear why FreqWidgetGL is using GL at all?
See https://doc.qt.io/qt-5/qtopengl-2dpainting-example.html
Unlike the on-screen view, the print view does not change which note names and lines are shown when the key, scale, or temperament are changed.
Can
FreqWidgetGL::drawReferenceLinesandFreqWidgetGL::drawReferenceLinesGLbe combined into one method?I read that Qt5 allows the use of Painter in GL views so that you don't need to write GL-specific code for 2D views in most cases. I'm not clear why
FreqWidgetGLis using GL at all?See https://doc.qt.io/qt-5/qtopengl-2dpainting-example.html