Skip to content
Snippets Groups Projects
Commit 72a027ca authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

[j.0] get rid of debug messages from QCustomPlot (#902) (Closes #902)

Merging branch 'j.0'  into 'main'.

See merge request !2401
parents be629e42 ca4fb85e
No related branches found
No related tags found
1 merge request!2401get rid of debug messages from QCustomPlot (#902)
Pipeline #132682 passed
......@@ -30,9 +30,6 @@ ProjectedGraphsCanvas::ProjectedGraphsCanvas(QWidget* parent)
, m_y_projection(new ProjectionsPlot(Qt::Vertical))
, m_tab_widget(new QTabWidget)
{
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
setMinimumSize(400, 180);
auto* layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
......
......@@ -19,7 +19,6 @@
#include <QWidget>
class Data2DItem;
class Datafield;
class LineItem;
class QCPGraph;
class QCustomPlot;
......@@ -36,6 +35,9 @@ public:
void connectItems();
void disconnectItems();
QSize sizeHint() const override { return {500, 200}; }
QSize minimumSizeHint() const override { return {400, 180}; }
public slots:
void onMarginsChanged(double left, double right);
......
......@@ -49,8 +49,6 @@ public:
virtual QString infoString(const QPointF& pos) const = 0;
bool event(QEvent* event) override;
qreal toSceneX(qreal v) const;
qreal toSceneY(qreal v) const;
qreal fromSceneX(qreal p) const;
......@@ -67,6 +65,8 @@ protected:
QCustomPlot* m_qcp;
private:
bool event(QEvent* event) override;
void onTimeToReplot();
UpdateTimer* m_update_timer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment