##// END OF EJS Templates
Add padding for axis title...
Add padding for axis title Added three pixel padding on either side of the axis title to avoid overlaps with axis labels and neighboring axis lines. Task-number: QTRD-1903 Reviewed-by: Mika Salmela

File last commit:

r2274:2d2a1c8b0f36
r2413:f80448ee2136
Show More
axis.pri
78 lines | 2.4 KiB | text/plain | TextLexer
#Subdirectiores are defined here, because qt creator doesn't handle nested include(foo.pri) chains very well.
INCLUDEPATH += $$PWD \
$$PWD/valueaxis \
$$PWD/barcategoryaxis \
$$PWD/categoryaxis \
$$PWD/logvalueaxis
DEPENDPATH += $$PWD \
$$PWD/valueaxis \
$$PWD/barcategoryaxis \
$$PWD/categoryaxis \
$$PWD/logvalueaxis
SOURCES += \
$$PWD/chartaxis.cpp \
$$PWD/qabstractaxis.cpp \
$$PWD/verticalaxis.cpp \
$$PWD/horizontalaxis.cpp \
$$PWD/valueaxis/chartvalueaxisx.cpp \
$$PWD/valueaxis/chartvalueaxisy.cpp \
$$PWD/valueaxis/qvalueaxis.cpp \
$$PWD/barcategoryaxis/chartbarcategoryaxisx.cpp \
$$PWD/barcategoryaxis/chartbarcategoryaxisy.cpp \
$$PWD/barcategoryaxis/qbarcategoryaxis.cpp \
$$PWD/categoryaxis/chartcategoryaxisx.cpp \
$$PWD/categoryaxis/chartcategoryaxisy.cpp \
$$PWD/categoryaxis/qcategoryaxis.cpp \
$$PWD/logvalueaxis/chartlogvalueaxisx.cpp \
$$PWD/logvalueaxis/chartlogvalueaxisy.cpp \
$$PWD/logvalueaxis/qlogvalueaxis.cpp
PRIVATE_HEADERS += \
$$PWD/chartaxis_p.h \
$$PWD/qabstractaxis_p.h \
$$PWD/verticalaxis_p.h \
$$PWD/horizontalaxis_p.h \
$$PWD/valueaxis/chartvalueaxisx_p.h \
$$PWD/valueaxis/chartvalueaxisy_p.h \
$$PWD/valueaxis/qvalueaxis_p.h \
$$PWD/barcategoryaxis/chartbarcategoryaxisx_p.h \
$$PWD/barcategoryaxis/chartbarcategoryaxisy_p.h \
$$PWD/barcategoryaxis/qbarcategoryaxis_p.h \
$$PWD/categoryaxis/chartcategoryaxisx_p.h \
$$PWD/categoryaxis/chartcategoryaxisy_p.h \
$$PWD/categoryaxis/qcategoryaxis_p.h \
$$PWD/logvalueaxis/chartlogvalueaxisx_p.h \
$$PWD/logvalueaxis/chartlogvalueaxisy_p.h \
$$PWD/logvalueaxis/qlogvalueaxis_p.h
PUBLIC_HEADERS += \
$$PWD/qabstractaxis.h \
$$PWD/valueaxis/qvalueaxis.h \
$$PWD/barcategoryaxis/qbarcategoryaxis.h \
$$PWD/categoryaxis/qcategoryaxis.h \
$$PWD/logvalueaxis/qlogvalueaxis.h \
!linux-arm*: {
INCLUDEPATH += \
$$PWD/datetimeaxis
DEPENDPATH += \
$$PWD/datetimeaxis
SOURCES += \
$$PWD/datetimeaxis/chartdatetimeaxisx.cpp \
$$PWD/datetimeaxis/chartdatetimeaxisy.cpp \
$$PWD/datetimeaxis/qdatetimeaxis.cpp
PRIVATE_HEADERS += \
$$PWD/datetimeaxis/chartdatetimeaxisx_p.h \
$$PWD/datetimeaxis/chartdatetimeaxisy_p.h \
$$PWD/datetimeaxis/qdatetimeaxis_p.h
PUBLIC_HEADERS += \
$$PWD/datetimeaxis/qdatetimeaxis.h
}