GraphWindow: support double-clicking the axis to resize it to the data

This commit is contained in:
Brian T. Rice
2021-03-13 15:38:01 -08:00
parent 3a8475fadc
commit 59a29e765c
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ public:
private slots:
void titleDoubleClick(QMouseEvent *event, QCPTextElement *title);
void axisLabelDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part);
void axisDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part);
void legendDoubleClick(QCPLegend* legend, QCPAbstractLegendItem* item);
void legendSingleClick(QCPLegend* legend, QCPAbstractLegendItem* item);
void plottableDoubleClick(QCPAbstractPlottable* plottable,int dataIdx, QMouseEvent* event);