mirror of
				https://github.com/python-LimeReport/LimeReport.git
				synced 2025-11-04 15:41:22 +03:00 
			
		
		
		
	ChartItem has been fixed
This commit is contained in:
		@@ -127,7 +127,7 @@ RCC_DIR        = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
 | 
			
		||||
 | 
			
		||||
LIMEREPORT_VERSION_MAJOR = 1
 | 
			
		||||
LIMEREPORT_VERSION_MINOR = 5
 | 
			
		||||
LIMEREPORT_VERSION_RELEASE = 21
 | 
			
		||||
LIMEREPORT_VERSION_RELEASE = 22
 | 
			
		||||
 | 
			
		||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
 | 
			
		||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
 | 
			
		||||
 
 | 
			
		||||
@@ -249,6 +249,11 @@ QWidget *ChartItem::defaultEditor()
 | 
			
		||||
    return editor;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool ChartItem::isNeedUpdateSize(RenderPass pass) const
 | 
			
		||||
{
 | 
			
		||||
    return  pass == FirstPass;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QList<QString> ChartItem::labels() const
 | 
			
		||||
{
 | 
			
		||||
    return m_labels;
 | 
			
		||||
 
 | 
			
		||||
@@ -196,7 +196,7 @@ protected:
 | 
			
		||||
    void updateItemSize(DataSourceManager *dataManager, RenderPass, int);
 | 
			
		||||
    void fillLabels(IDataSource* dataSource);
 | 
			
		||||
    QWidget* defaultEditor();
 | 
			
		||||
 | 
			
		||||
    bool isNeedUpdateSize(RenderPass pass) const;
 | 
			
		||||
private:
 | 
			
		||||
    QList<SeriesItem*> m_series;
 | 
			
		||||
//    QList< QPointer<SeriesItem> > m_series;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user