File indexing completed on 2024-10-06 06:35:00
0001 /* 0002 File : AxisTest.h 0003 Project : LabPlot 0004 Description : Tests for Axis methods 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2022 Martin Marmsoler <martin.marmsoler@gmail.com> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #ifndef AXISTEST_H 0012 #define AXISTEST_H 0013 0014 #include "../../CommonTest.h" 0015 0016 class AxisTest : public CommonTest { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void axisLine(); 0021 void majorTicksAutoNumberEnableDisable(); 0022 void minorTicksAutoNumberEnableDisable(); 0023 void majorTicksStartValue(); 0024 void TestSetCoordinateSystem(); 0025 void TestSetRange(); 0026 void TestAddingHorizontalAxis(); 0027 void TestAddingVerticalAxis(); 0028 void tickLabelRepresentationAutomatic(); 0029 void tickLabelRepresentationManual(); 0030 void setAxisColor(); // Set color of all elements 0031 void setTitleColor(); 0032 void setMajorTickColor(); 0033 void setMinorTickColor(); 0034 void setLineColor(); 0035 void setTickLabelColor(); 0036 0037 void automaticTicNumberUpdateDockMajorTicks(); 0038 void automaticTicNumberUpdateDockMinorTicks(); 0039 0040 void columnLabelValues(); 0041 void columnLabelValuesMaxValues(); 0042 0043 void customTextLabels(); 0044 }; 0045 0046 #endif // AXISTEST_H