diff --git a/gui/include/gui/widgets/incrementstrategy.h b/gui/include/gui/widgets/incrementstrategy.h index 07c4fffb3..e96c8c4fe 100644 --- a/gui/include/gui/widgets/incrementstrategy.h +++ b/gui/include/gui/widgets/incrementstrategy.h @@ -1,3 +1,24 @@ +/* + * Copyright (c) 2024 Analog Devices Inc. + * + * This file is part of Scopy + * (see https://www.github.com/analogdevicesinc/scopy). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + #ifndef INCREMENTSTRATEGY_H #define INCREMENTSTRATEGY_H diff --git a/gui/include/gui/widgets/scale.h b/gui/include/gui/widgets/scale.h index b3b23aaeb..f2f871768 100644 --- a/gui/include/gui/widgets/scale.h +++ b/gui/include/gui/widgets/scale.h @@ -1,3 +1,24 @@ +/* + * Copyright (c) 2024 Analog Devices Inc. + * + * This file is part of Scopy + * (see https://www.github.com/analogdevicesinc/scopy). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + #ifndef SCALE_H #define SCALE_H diff --git a/gui/include/gui/widgets/testspinbox.h b/gui/include/gui/widgets/testspinbox.h index 5973c5b1f..357efc0db 100644 --- a/gui/include/gui/widgets/testspinbox.h +++ b/gui/include/gui/widgets/testspinbox.h @@ -1,3 +1,24 @@ +/* + * Copyright (c) 2024 Analog Devices Inc. + * + * This file is part of Scopy + * (see https://www.github.com/analogdevicesinc/scopy). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + #ifndef TESTSPINBOX_H #define TESTSPINBOX_H diff --git a/gui/src/widgets/scale.cpp b/gui/src/widgets/scale.cpp index d62aa3f9f..078c06c8c 100644 --- a/gui/src/widgets/scale.cpp +++ b/gui/src/widgets/scale.cpp @@ -1,3 +1,24 @@ +/* + * Copyright (c) 2024 Analog Devices Inc. + * + * This file is part of Scopy + * (see https://www.github.com/analogdevicesinc/scopy). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + #include "scale.h" namespace scopy { diff --git a/gui/src/widgets/testspinbox.cpp b/gui/src/widgets/testspinbox.cpp index dd150f577..1e38b0cc4 100644 --- a/gui/src/widgets/testspinbox.cpp +++ b/gui/src/widgets/testspinbox.cpp @@ -1,3 +1,24 @@ +/* + * Copyright (c) 2024 Analog Devices Inc. + * + * This file is part of Scopy + * (see https://www.github.com/analogdevicesinc/scopy). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + #include "testspinbox.h" #include diff --git a/plugins/datalogger/src/menus/plottimeaxiscontroller.cpp b/plugins/datalogger/src/menus/plottimeaxiscontroller.cpp index 85f5c2e7f..6280df655 100644 --- a/plugins/datalogger/src/menus/plottimeaxiscontroller.cpp +++ b/plugins/datalogger/src/menus/plottimeaxiscontroller.cpp @@ -75,6 +75,7 @@ PlotTimeAxisController::PlotTimeAxisController(MonitorPlot *m_plot, QWidget *par gui::TestSpinbox *test = new gui::TestSpinbox("Metric", 10, "m", 0, DBL_MAX, false, false, xAxisContainer); test->setIncrementMode(gui::TestSpinbox::IS_FIXED); + // test->scale()->setScalingEnabled(false); gui::TestSpinbox *test2 = new gui::TestSpinbox("Custom", 0, "samples", 0, DBL_MAX, false, false, xAxisContainer);