##// END OF EJS Templates
Fix setting custom color to pie. Now the pie knows if the color is set by the user.
Fix setting custom color to pie. Now the pie knows if the color is set by the user.

File last commit:

r609:a1ef8de9fe8d
r691:02b456949de5
Show More
qchartglobal.h
43 lines | 1.2 KiB | text/x-c | CLexer
Tero Ahola
Renamed to QtCommercialChart
r30 #ifndef CHARTGLOBAL_H
#define CHARTGLOBAL_H
#define QTCOMMERCIALCHART_VERSION_STR "1.0"
#define QTCOMMERCIALCHART_VERSION 0x01
#if defined(QTCOMMERCIALCHART_LIBRARY)
# define QTCOMMERCIALCHART_EXPORT Q_DECL_EXPORT
#else
# define QTCOMMERCIALCHART_EXPORT Q_DECL_IMPORT
#endif
#define QTCOMMERCIALCHART_NAMESPACE QtCommercialChart
#ifdef QTCOMMERCIALCHART_NAMESPACE
# define QTCOMMERCIALCHART_BEGIN_NAMESPACE namespace QTCOMMERCIALCHART_NAMESPACE {
# define QTCOMMERCIALCHART_END_NAMESPACE }
# define QTCOMMERCIALCHART_USE_NAMESPACE using namespace QTCOMMERCIALCHART_NAMESPACE;
#else
# define QTCOMMERCIALCHART_BEGIN_NAMESPACE
# define QTCOMMERCIALCHART_END_NAMESPACE
# define QTCOMMERCIALCHART_USE_NAMESPACE
#endif
Michal Klocek
Refactors qchart , adds line animation...
r131 #define CHART_DEBUG chartDebug(3,__LINE__,__FILE__,__FUNCTION__);
#include <stdarg.h>
#include <QDebug>
Jani Honkonen
We have so many stupid warnings that "treat warnings as errors" flag is needed...
r609 /*
Michal Klocek
Refactors qchart , adds line animation...
r131 static QDebug chartDebug(int numargs,...)
{
va_list valist;
va_start(valist,numargs);
//for( int i = 0 ; i < numargs; i++ )
int line=va_arg(valist,int);
char* file=va_arg(valist,char*);
char* function=va_arg(valist,char*);
va_end(valist);
return qDebug()<<QString().append(function).append("(").append(file).append(":%1)").arg(line);
}
Jani Honkonen
We have so many stupid warnings that "treat warnings as errors" flag is needed...
r609 */
Tero Ahola
Renamed to QtCommercialChart
r30 #endif