mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
ChartItem has been fixed
This commit is contained in:
parent
7da6b1318a
commit
daef743d10
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user